fix/retry-sending-failed-msgs #1
2
index.js
2
index.js
|
|
@ -1441,7 +1441,7 @@ discord.on("interactionCreate", async (interaction) => {
|
|||
//2. directly trigger handleDiscord with a fake message for the fake room.
|
||||
|
||||
let randStr = interaction.options.getString("randstr") || Math.random().toString(36).substring(2, 15)
|
||||
handleDiscord(require("./testmsg.json"));
|
||||
handleDiscord(require("./testmsg.json"), randStr);
|
||||
output += "Triggered handleDiscord with test message.\n";
|
||||
interaction.editReply({ content: output, ephemeral: true });
|
||||
setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue