aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/features.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/features.ts')
-rw-r--r--src/commands/config/features.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index e88f4b7..affcde3 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -51,7 +51,7 @@ export default class FeaturesCommand extends BushCommand {
});
collector.on('collect', async (interaction: SelectMenuInteraction) => {
- if (interaction.user.id === message.author.id || client.config.owners.includes(interaction.user.id)) {
+ if (interaction.user.id === message.author.id || this.client.config.owners.includes(interaction.user.id)) {
assert(message.inGuild());
const [selected]: GuildFeatures[] = interaction.values as GuildFeatures[];