esmBot / esmBot

A free and open-source Discord bot designed to entertain your server
https://esmbot.net
MIT License
381 stars 112 forks source link

/soundboard on "Marriage Bot" #435

Closed DaRealLevi11 closed 6 months ago

DaRealLevi11 commented 6 months ago

Describe the bug

The bot just say's Message: TypeError: voiceChannel.permissionsOf is not a function at play (file:///home/esmBot/esmBot/utils/soundplayer.js:57:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SoundboardAIOCommand.run (file:///home/esmBot/esmBot/commands/soundboard/soundboard.js?v=121:15:12) at async default (file:///home/esmBot/esmBot/events/interactionCreate.js:37:20)

Stack Trace: TypeError: voiceChannel.permissionsOf is not a function at play (file:///home/esmBot/esmBot/utils/soundplayer.js:57:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SoundboardAIOCommand.run (file:///home/esmBot/esmBot/commands/soundboard/soundboard.js?v=121:15:12) at async default (file:///home/esmBot/esmBot/events/interactionCreate.js:37:20) In the code, could anyone perhaps fix this

Steps to reproduce

  1. Go to Any Discord Server with the bot in it
  2. Use /soundboard [sfx]
  3. See error

Expected behavior

No response

Screenshots

No response

Self-hosted instance?

No

Additional context

No response

TheEssem commented 6 months ago

Soundboard commands have been removed from the esmBot source tree and will soon be removed from the main instance as well due to Discord introducing their own soundboard system.