diff --git a/index.js b/index.js index 7c6a5a0..08888db 100644 --- a/index.js +++ b/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(() => {