This commit is contained in:
Frisk 2020-07-26 16:41:33 +02:00
parent 7cdafccb78
commit 27edc4d953
No known key found for this signature in database
GPG key ID: 213F7C15068AF8AC

View file

@ -32,8 +32,7 @@ async def wiki_removal(wiki_id, status):
async def webhook_removal_monitor(webhook_url: list, reason: int): async def webhook_removal_monitor(webhook_url: list, reason: int):
await send_to_discord_webhook_monitoring(DiscordMessage("compact", "webhook/remove", None, content="The webhook {} has been removed due to {}.".format("https://discord.com/api/webhooks/" + webhook_url[0], reason), wiki=None), await send_to_discord_webhook_monitoring(DiscordMessage("compact", "webhook/remove", None, content="The webhook {} has been removed due to {}.".format("https://discord.com/api/webhooks/" + webhook_url[0], reason), wiki=None))
aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(4.0)))
class DiscordMessage: class DiscordMessage: