mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
Remove non-working API-based commands, fix bugs
This commit is contained in:
@@ -20,6 +20,7 @@ module.exports = class MessageSourceCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { message }) {
|
||||
if (!message.content) return msg.reply('That message has no content. Maybe it\'s an embed or image?');
|
||||
return msg.code(null, shorten(message.content, 1990));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user