Skip to content

Commit 955f417

Browse files
authored
Changed outdated option args with arguments
1 parent 721459c commit 955f417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bot/commands/play.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ new Command({
2121
}
2222
},
2323
],
24-
run: async({ client, reply, args, guild, member, interaction }) => {
24+
run: async({ client, reply, arguments, guild, member, interaction }) => {
2525
if (!member.voice?.channel) return reply({ content: 'Beep boop voice?', ephemeral: true });
2626

27-
let query = args.getString('query');
27+
let query = arguments.getString('query');
2828

2929
interaction.deferReply();
3030

0 commit comments

Comments
 (0)