diff --git a/src/commands/score.ts b/src/commands/score.ts index af21a5d..14d0ae7 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -199,6 +199,6 @@ export default class Score extends Command { await modlogsMessage.delete(); return message.channel.createMessage('***===END ADDITIONAL INFORMATION===***'); } - return message.channel.createMessage({ embed }); + return message.channel?.createMessage({ embed }); } }