This commit is contained in:
Christopher Cookman 2026-06-12 09:52:49 -06:00
parent 0ccebafb1d
commit 329eaa0113

View file

@ -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(() => {