mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 19:53:19 +02:00
🎨 - Code cleaning
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user