Dirty fixing of some more mariadb -> mysql-connector issues....

This commit is contained in:
Cedric
2023-08-05 18:17:57 +02:00
parent e4586a5834
commit 7f55828c5f
5 changed files with 12 additions and 7 deletions
@@ -76,6 +76,8 @@ class DiscordManager:
async def clean_channel(self):
for channel in self.client.setting_service.get_value("public_relay").lstrip("[").rstrip("]").split(','):
if not channel:
continue
if ch := self.client.client.get_channel(int(channel)):
for i in range(5):
await ch.purge(check=self.client.check)