fix/retry-sending-failed-msgs #1

Merged
ChrisChrome merged 5 commits from fix/retry-sending-failed-msgs into main 2026-06-12 10:01:24 -06:00
Showing only changes of commit 1095537b34 - Show all commits

View file

@ -1427,7 +1427,7 @@ discord.on("interactionCreate", async (interaction) => {
let output = "Dev Test Started:\n";
await interaction.reply({ content: output, ephemeral: true });
//1. Add current channel to db with a fake room (discordtest)
db.run(`INSERT INTO channels (channelid, iemchannel) VALUES (?, ?)`, [interaction.channel.id, "discordtest"], (err) => {
db.run(`INSERT INTO channels (channelid, iemchannel) VALUES (?, ?)`, [interaction.channel.id, "discordtest"], async (err) => {
if (err) {
console.error(err.message);
await interaction.editReply({ content: output + "Failed to add channel to database.", ephemeral: true });