smol bot
Diffstat (limited to 'src/bot/mod.rs')
| -rw-r--r-- | src/bot/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/mod.rs b/src/bot/mod.rs index f288db1..1a7ccd8 100644 --- a/src/bot/mod.rs +++ b/src/bot/mod.rs @@ -223,7 +223,7 @@ async fn handle_message( // add :) repo.own().await.insert( new_message.id.get(), - (m.author.name.clone(), m.author.id.get()), + (new_message.author.name.clone(), new_message.author.id.get()), ); use emoji::named::*; if repo.id == 925674713429184564 && !cfg!(debug_assertions) { |