made it global sync
it syncs global again because server doesnt work but global does
This commit is contained in:
@@ -25,8 +25,8 @@ async def slashload():
|
|||||||
@client.command()
|
@client.command()
|
||||||
async def sync(ctx):
|
async def sync(ctx):
|
||||||
if ctx.message.author.id == 262672220260663297:
|
if ctx.message.author.id == 262672220260663297:
|
||||||
await client.tree.sync(guild=discord.Object(id=1100149380763373608))
|
synced = await client.tree.sync()
|
||||||
print('Command tree synced.')
|
print(f'You synced {str(len(synced))} commands')
|
||||||
else:
|
else:
|
||||||
await ctx.send('You must be the botowner to use this command!')
|
await ctx.send('You must be the botowner to use this command!')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user