aboutsummaryrefslogtreecommitdiff
path: root/src/commands/play.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/play.ts')
-rw-r--r--src/commands/play.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/play.ts b/src/commands/play.ts
index 4ac566b..619c18f 100644
--- a/src/commands/play.ts
+++ b/src/commands/play.ts
@@ -40,7 +40,7 @@ export default class implements Command {
}
// eslint-disable-next-line complexity
- public async executeFromInteraction(interaction: CommandInteraction): Promise<void> {
+ public async execute(interaction: CommandInteraction): Promise<void> {
const [targetVoiceChannel] = getMemberVoiceChannel(interaction.member as GuildMember) ?? getMostPopularVoiceChannel(interaction.guild!);
const settings = await prisma.setting.findUnique({where: {guildId: interaction.guild!.id}});