1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

Add default View Channels permission

This commit is contained in:
Myned 2022-02-23 17:48:08 -06:00
parent e2459f0d6c
commit 088b685b96
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

View file

@ -27,7 +27,7 @@ async def master(context):
await context.bot.close() await context.bot.close()
case "invite": case "invite":
await context.respond( await context.respond(
f"https://discord.com/api/oauth2/authorize?client_id={c.config['client']}&permissions=0&scope=bot%20applications.commands" f"https://discord.com/api/oauth2/authorize?client_id={c.config['client']}&permissions=1024&scope=bot%20applications.commands"
) )
case _: case _:
await context.respond(f"**Hello, master.**") await context.respond(f"**Hello, master.**")