diff options
author | Skycloudd <51929172+Skycloudd@users.noreply.github.com> | 2021-03-16 01:21:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 01:21:19 +0000 |
commit | ba282f90b0d705a129a230e01b2799de2c3c1709 (patch) | |
tree | 023ba2972fec4a0a7afe6b0eb03b434c950d57b6 /cogs/utils.py | |
parent | 925058fa2b337ee9658b9986b030e8836c19c453 (diff) | |
download | steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.tar steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.tar.gz steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.tar.bz2 steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.tar.lz steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.tar.xz steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.tar.zst steve-bot-ba282f90b0d705a129a230e01b2799de2c3c1709.zip |
hopefully fixed the ultraxd thing
Diffstat (limited to '')
-rwxr-xr-x | cogs/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 84c91cd..9bf1368 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -399,7 +399,7 @@ class Utils(commands.Cog): # *Don't* ask if message.author.id == 289721817516605440: # An ultra special dude text = ( - unicodedata.normalize("NFD", message.context) + unicodedata.normalize("NFD", message.content) .encode("ascii", "ignore") .decode("utf-8") ) |