TypeError: message.channel.createMessage is not a function
Sentry Issue: CR-H
This error is occurring because we believe Discord is no longer sending DMChannel
with Message
. This error is only able to be reproduced in DMs.
TypeError: message.channel.createMessage is not a function
File "/opt/communityrelations/build/events/CommandHandler.js", line 27, in CommandHandler.run
message.channel.createMessage(`***${this.client.util.emojis.ERROR} This command has been disabled***`);