mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
+debug
This commit is contained in:
parent
9244ee54a7
commit
86ccae016b
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ const queue = new Queue();
|
|||
export function hotfixMessageFetch(channel: TextChannel | ThreadChannel, messageId: string): Promise<Message> {
|
||||
return queue.add(async () => {
|
||||
await sleep(3000);
|
||||
// tslint:disable-next-line:no-console
|
||||
console.trace(`Fetching message id ${messageId} from channel ${channel.id}`);
|
||||
return channel.messages.fetch(messageId);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue