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:
parent
b42c5a7c77
commit
e1fe5822d1
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue