Fix voice channel check error
This commit is contained in:
parent
a91c73b5bd
commit
c37a8a5fcf
3 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,7 @@ import { play } from "../utils/soundplayer.js";
|
|||
// only exists to sort the various soundboard commands
|
||||
class SoundboardCommand extends Command {
|
||||
async run() {
|
||||
return await play(this.client, this.constructor.file, { channel: this.channel, author: this.author, type: this.type, interaction: this.interaction });
|
||||
return await play(this.client, this.constructor.file, { channel: this.channel, author: this.author, member: this.member, type: this.type, interaction: this.interaction });
|
||||
}
|
||||
|
||||
static requires = ["sound"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue