aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/backend/branding/_cog.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/backend/branding/_cog.py b/bot/exts/backend/branding/_cog.py
index 5d194ec3e..b1d11157c 100644
--- a/bot/exts/backend/branding/_cog.py
+++ b/bot/exts/backend/branding/_cog.py
@@ -7,7 +7,6 @@ from datetime import timedelta
from enum import Enum
from operator import attrgetter
-import async_timeout
import discord
from arrow import Arrow
from async_rediscache import RedisCache
@@ -158,7 +157,7 @@ class Branding(commands.Cog):
timeout = 10 # Seconds.
try:
- with async_timeout.timeout(timeout): # Raise after `timeout` seconds.
+ with asyncio.timeout(timeout): # Raise after `timeout` seconds.
await pydis.edit(**{asset_type.value: file})
except discord.HTTPException:
log.exception("Asset upload to Discord failed.")