Dirty fixing of some more mariadb -> mysql-connector issues....
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user