File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/services/discord/modules Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export default async (bot: DiscordBot): Promise<void> => {
113113
114114 let webhook : Discord . Webhook ;
115115 const bridge = await bot . container . getService ( "GameBridge" ) ;
116- const chatWebhook = bot . bridge . discordChatWH ;
116+ const chatWebhook = bridge . discordChatWH ;
117117
118118 bot . discord . on ( "ready" , async ( ) => {
119119 const channel = bot . getTextChannel ( bot . config . channels . publicCommits ) ;
@@ -515,8 +515,8 @@ export default async (bot: DiscordBot): Promise<void> => {
515515 const removedSounds = GroupSoundFilesByFolder ( commit . removed ?? [ ] ) ;
516516 const modifiedSounds = GroupSoundFilesByFolder ( commit . modified ?? [ ] ) ;
517517
518- const formatSounds = ( [ folderName , sounds ] : [ string , string [ ] ] ) =>
519- `[${ folderName } ](${ payload . repository . html_url } /tree/master/sound/chatsounds/autoadd/${ folderName } ) -> ${ [ ...new Set ( sounds ) ] . map ( s => `\`${ s } \`` ) . join ( ", " ) } ` ;
518+ const formatSounds = ( [ folderName , sounds ] ) =>
519+ `[** ${ folderName } ** ](${ payload . repository . html_url } /tree/master/sound/chatsounds/autoadd/${ folderName } )\n ${ [ ...new Set ( sounds ) ] . map ( s => `- \`${ s } \`` ) . join ( "\n " ) } ` ;
520520
521521 // maybe there is a better way instead of if-chaining this but whatever
522522 if ( commit . added && addedSounds . size > 0 ) {
You can’t perform that action at this time.
0 commit comments