1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Fixed own messages being ignored

This commit is contained in:
niansa 2023-03-19 23:28:20 +01:00
parent b42c5a7c77
commit e1fe5822d1

View file

@ -196,7 +196,7 @@ class Bot {
}
// Send resulting message
msg.content = output;
bot.message_edit(msg);
msg = bot.message_edit_sync(msg);
// Add message to list of my messages
my_messages.push_back(msg.id); // Unsafe!!
}).detach();