We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c1382c commit 3908854Copy full SHA for 3908854
bots/discord/src/commands/admin/reload.ts
@@ -11,7 +11,8 @@ export default new AdminCommand({
11
logger.debug('Invalidating previous config...')
12
context.config.invalidate()
13
14
- if ((trigger as CommandInteraction).deferReply) await trigger.deferReply({ flags: MessageFlags.Ephemeral })
+ if ((trigger as CommandInteraction).deferReply)
15
+ await (trigger as CommandInteraction).deferReply({ flags: MessageFlags.Ephemeral })
16
17
logger.info('Reinitializing API client to reload configuration...')
18
await api.client.ws.setOptions(
0 commit comments