troubleshooting: making fetch_twemoji_url fail if it doesn't get 200
This commit is contained in:
parent
80a627de21
commit
3c6d7f2ff4
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ class Info(commands.Cog):
|
||||||
if response.status == 200:
|
if response.status == 200:
|
||||||
return emoji_url
|
return emoji_url
|
||||||
else:
|
else:
|
||||||
return None
|
raise
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
@commands.guild_only()
|
@commands.guild_only()
|
||||||
|
|
Loading…
Reference in a new issue