mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-30 15:19:12 -06:00
fixes
This commit is contained in:
parent
3b776fc972
commit
3b362ba01b
@ -50,11 +50,11 @@ class Bot(commands.Bot):
|
||||
f"Have access to the following guilds: "
|
||||
f"{', '.join([str(guild.name) + ' (' + str(guild.id) + ')' for guild in self.guilds])}"
|
||||
)
|
||||
|
||||
for guild in self.guilds:
|
||||
self.tree.copy_global_to(guild=guild)
|
||||
await self.tree.sync(guild=guild)
|
||||
log.info(f"Synced guild: {guild.name}")
|
||||
#
|
||||
# for guild in self.guilds:
|
||||
# self.tree.copy_global_to(guild=guild)
|
||||
# await self.tree.sync(guild=guild)
|
||||
# log.info(f"Synced guild: {guild.name}")
|
||||
|
||||
await self.tree.sync()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user