diff options
| author | 2020-04-02 09:19:12 -0400 | |
|---|---|---|
| committer | 2020-04-02 09:19:12 -0400 | |
| commit | 10400899806408e1d9966fbe1a1c7c0e9ccaa087 (patch) | |
| tree | ea63c7a8b89af3a6c7a5972e00fcb86718633bf0 | |
| parent | Merge pull request #832 from python-discord/fix-token-strip-log (diff) | |
Fixed missed rename for token removal method name change
| -rw-r--r-- | bot/cogs/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py index e897b30ff..7b66b48c2 100644 --- a/bot/cogs/bot.py +++ b/bot/cogs/bot.py @@ -238,7 +238,7 @@ class BotCog(Cog, name="Bot"): ) and not msg.author.bot and len(msg.content.splitlines()) > 3 - and not TokenRemover.is_token_in_message(msg) + and not TokenRemover.find_token_in_message(msg) ) if parse_codeblock: # no token in the msg |