diff --git a/requirements.txt b/requirements.txt index 18115fcdfebbd6dc869ee592666f82064566f740..01126a132b6ef30fbbf2b478498be9881e20c43f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ aiohttp==3.7.4 -asgiref==3.4.1 +asgiref==3.5.2 async-timeout==3.0.1 attrs==20.3.0 certifi==2020.12.5 chardet==3.0.4 charset-normalizer==2.0.12 -Django==4.0.7 +Django==4.1 fontawesome-free==5.15.1 gql==2.0.0 graphql-core==2.3.2 @@ -19,7 +19,7 @@ requests==2.25.1 Rx==1.6.1 six==1.16.0 sqlparse==0.4.2 -twitchio==2.2.0 +twitchio==2.4.0 typing-extensions==3.7.4.3 urllib3==1.26.5 websockets==9.1 diff --git a/twitchbot/link_protection.py b/twitchbot/link_protection.py index 3053d3021f2492cd46c37243fbda1caf6f16e52a..bc07b442fb80b2a03d48b08abdf5b4fe722f233d 100644 --- a/twitchbot/link_protection.py +++ b/twitchbot/link_protection.py @@ -71,7 +71,7 @@ class LinkProtection(commands.Cog): return # Ok, we reached this point! Time for action!!! - await message.channel.timeout(message.author.name, 1) + await message.channel.send(f"/delete {message.id}") def is_user_whitelisted(self, user): if self.has_user_permanent_permit(user):