Skip to content

Commit

Permalink
Updated src_modules/voice_commands/commands/Disabl
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Sep 2, 2023
1 parent 38427e3 commit 96cdc09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src_modules/voice_commands/commands/DisableAutoJoinCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export class DisableAutoJoinCommand extends Command<[]> {
}

public async execute(context: IExecutionContext<[]>) {
const guild = context.guild.guild;

const guild = context.guild;
if (await this.voiceCommandsModule.autoJoinConfigEntry.guildGet(guild)) {

Check failure on line 26 in src_modules/voice_commands/commands/DisableAutoJoinCommand.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Property 'autoJoinConfigEntry' does not exist on type 'VoiceCommandsModule'.
await this.voiceCommandsModule.autoJoinConfigEntry.guildSet(guild, false);

Check failure on line 27 in src_modules/voice_commands/commands/DisableAutoJoinCommand.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Property 'autoJoinConfigEntry' does not exist on type 'VoiceCommandsModule'.
return context.respond(autoJoinDisabledPhrase, {});
Expand Down

0 comments on commit 96cdc09

Please sign in to comment.