fix say command perms
This commit is contained in:
parent
d16bec1336
commit
d1377b538d
2 changed files with 4 additions and 2 deletions
|
@ -112,6 +112,7 @@ client.on('interactionCreate', async (interaction) => {
|
|||
);
|
||||
} else if (commandName === 'say') {
|
||||
if (!interaction.channel) return;
|
||||
|
||||
await interaction.deferReply();
|
||||
await interaction.channel.send(interaction.options.getString('content')!);
|
||||
await interaction.editReply('I said what you said!');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue