aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/say.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/say.ts')
-rw-r--r--src/commands/dev/say.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts
index 6ec52a1..2246588 100644
--- a/src/commands/dev/say.ts
+++ b/src/commands/dev/say.ts
@@ -43,7 +43,7 @@ export default class SayCommand extends BushCommand {
}
public override async execSlash(message: SlashMessage, args: { content: string }) {
- if (!client.config.owners.includes(message.author.id)) {
+ if (!this.client.config.owners.includes(message.author.id)) {
return await message.interaction.reply({
content: `${emojis.error} Only my developers can run this command.`,
ephemeral: true