Please sign in to comment.
Fix for the onCommandRun event
When a user runs a command from a direct message, there's no guild obviously. I currently require the guild id in order to track usage counts. This commit fixes that requirement by doing a null check on `msg.guild` before continuing on.
- Loading branch information...