3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

fix: whoops

This commit is contained in:
Dragory 2021-10-17 19:36:03 +03:00
parent 5be1e8e5b0
commit ac3073d3a2
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -15,7 +15,6 @@ export const EditCmd = postCmd({
async run({ message: msg, args, pluginData }) {
const targetMessage = await args.message.channel.messages.fetch(args.message.messageId);
console.log({ targetMessage });
if (!targetMessage) {
sendErrorMessage(pluginData, msg.channel, "Unknown message");
return;