troubleshooting: making fetch_twemoji_url fail if it doesn't get 200

This commit is contained in:
Seaswimmer 2023-08-08 16:57:48 -04:00
parent 80a627de21
commit 3c6d7f2ff4
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -505,7 +505,7 @@ class Info(commands.Cog):
if response.status == 200:
return emoji_url
else:
return None
raise
@commands.command()
@commands.guild_only()