aboutsummaryrefslogtreecommitdiff
path: root/src/commands/pause.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/pause.ts')
-rw-r--r--src/commands/pause.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/pause.ts b/src/commands/pause.ts
index c3e8c24..5d87b87 100644
--- a/src/commands/pause.ts
+++ b/src/commands/pause.ts
@@ -21,7 +21,7 @@ export default class implements Command {
this.playerManager = playerManager;
}
- public async executeFromInteraction(interaction: CommandInteraction) {
+ public async execute(interaction: CommandInteraction) {
const player = this.playerManager.get(interaction.guild!.id);
if (player.status !== STATUS.PLAYING) {