@@ -100,7 +100,7 @@ export default class Browse extends Hub {
100100 ) ;
101101
102102 if ( ! hubList || hubList . length === 0 ) {
103- interaction . reply ( {
103+ await interaction . reply ( {
104104 content : t (
105105 { phrase : 'hub.browse.noHubs' , locale : interaction . user . locale } ,
106106 { emoji : emojis . no } ,
@@ -125,7 +125,7 @@ export default class Browse extends Hub {
125125 . setStyle ( ButtonStyle . Success ) ,
126126 ) ;
127127
128- paginate ( interaction , hubList , {
128+ await paginate ( interaction , hubList , {
129129 extraComponents : {
130130 actionRow : [ paginateBtns ] ,
131131 updateComponents ( pageNumber ) {
@@ -189,7 +189,7 @@ export default class Browse extends Hub {
189189 else if ( customId . suffix === 'join' ) {
190190 const alreadyJoined = hubDetails . connections . find ( ( c ) => c . serverId === interaction . guildId ) ;
191191 if ( alreadyJoined ) {
192- interaction . reply ( {
192+ await interaction . reply ( {
193193 content : t (
194194 { phrase : 'hub.alreadyJoined' , locale : interaction . user . locale } ,
195195 { hub : hubDetails . name , channel : `<#${ alreadyJoined . channelId } >` , emoji : emojis . no } ,
@@ -350,7 +350,7 @@ export default class Browse extends Hub {
350350 await interaction . update ( {
351351 content : t (
352352 { phrase : 'connection.alreadyConnected' , locale : interaction . user . locale } ,
353- { channel : ` ${ channel } ` , emoji : emojis . no } ,
353+ { channel : channel . toString ( ) , emoji : emojis . no } ,
354354 ) ,
355355 embeds : [ ] ,
356356 components : [ ] ,
@@ -401,7 +401,7 @@ export default class Browse extends Hub {
401401 await interaction . editReply ( {
402402 content : t (
403403 { phrase : 'hub.join.success' , locale : interaction . user . locale } ,
404- { hub : hubDetails . name , channel : ` ${ channel } ` } ,
404+ { hub : hubDetails . name , channel : channel . toString ( ) } ,
405405 ) ,
406406 embeds : [ ] ,
407407 components : [ ] ,
@@ -449,7 +449,7 @@ export default class Browse extends Hub {
449449 const hubId = customId . args [ 0 ] ;
450450 const hub = await db . hubs . findFirst ( { where : { id : hubId } } ) ;
451451 if ( ! hub ) {
452- interaction . reply ( {
452+ await interaction . reply ( {
453453 embeds : [
454454 simpleEmbed (
455455 t ( { phrase : 'hub.notFound' , locale : interaction . user . locale } , { emoji : emojis . no } ) ,
0 commit comments