mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Update
This commit is contained in:
@@ -24,7 +24,9 @@ class DiscordClient(discord.Client):
|
||||
activity=discord.Game(config.DISCORD_BOT_ACTIVITY),
|
||||
status=discord.Status.online,
|
||||
)
|
||||
await self.tree.sync()
|
||||
|
||||
self.tree.copy_global_to(guild=Object(id=config.DISCORD_GUILD_ID))
|
||||
await self.tree.sync(guild=Object(id=config.DISCORD_GUILD_ID))
|
||||
|
||||
|
||||
client = DiscordClient()
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from asyncio import Lock, sleep
|
||||
import json
|
||||
import uuid
|
||||
|
||||
from twitchAPI.eventsub.webhook import EventSubWebhook
|
||||
from twitchAPI.twitch import Twitch
|
||||
|
||||
Reference in New Issue
Block a user