🎨 - Code cleaning

This commit is contained in:
Florian SYLVAIN
2021-03-07 02:13:06 +01:00
parent 0556dd3300
commit 5aa42faa6c
3 changed files with 2 additions and 8 deletions
+1 -3
View File
@@ -8,11 +8,9 @@ from discord.ext.commands.cooldowns import BucketType
from emoji import demojize
from twitch import TwitchClient
twitch_client = TwitchClient(client_id=ID_TWITCH, oauth_token=TOKEN_TWITCH)
chats = dict()
def check_user(name):
user = twitch_client.users.translate_usernames_to_ids([name])
if not user:
@@ -115,4 +113,4 @@ class TwitchCmds(commands.Cog):
def setup(bot):
bot.add_cog(TwitchCmds(bot))
bot.add_cog(TwitchCmds(bot))