Closed aikaterna closed 4 years ago
This throws an error because there is no guild id in dms. Not 100% familiar with this bot but an easy fix is to just check if the message is in dms and not allow the command.
If I wanted to fix it that way I would have.
To repro: Bank is global. Set a permissions rule (I used a global default:
permissions setdefaultglobalrule deny
) Use a non-bot owner account. Use a shop command in dm's (I used just [p]shop) The pred check in shop is looking for a guild admin role in dm's.