mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
fix: whoops
This commit is contained in:
parent
5be1e8e5b0
commit
ac3073d3a2
1 changed files with 0 additions and 1 deletions
|
@ -15,7 +15,6 @@ export const EditCmd = postCmd({
|
||||||
|
|
||||||
async run({ message: msg, args, pluginData }) {
|
async run({ message: msg, args, pluginData }) {
|
||||||
const targetMessage = await args.message.channel.messages.fetch(args.message.messageId);
|
const targetMessage = await args.message.channel.messages.fetch(args.message.messageId);
|
||||||
console.log({ targetMessage });
|
|
||||||
if (!targetMessage) {
|
if (!targetMessage) {
|
||||||
sendErrorMessage(pluginData, msg.channel, "Unknown message");
|
sendErrorMessage(pluginData, msg.channel, "Unknown message");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue