TeamOctolings / Octobot

A general-purpose Discord bot for moderation written in C#

Home Page:https://teamoctolings.github.io/Octobot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edited messages that are out of cache are not put back in cache

Octol1ttle opened this issue · comments

Description

When editing an old message that is no longer in cache, an error will occur. That is normal (well not really). What isn't normal is that editing the message again still produces an error. The message should be re-cached after it is edited.

Reproduction Steps

  1. Send any message
  2. Restart the bot
  3. Edit the message for a few times

Expected behavior

see desc.

Actual behavior

see desc.

Known Workarounds

No response

Configuration

No response

Other information

No response