Added invite URL generation on startup with simple permissions

This commit is contained in:
Uwe Pfeifer 2022-11-10 21:59:51 +01:00
parent 1f461af68f
commit 8077cd6530

View file

@ -36,8 +36,7 @@ bot = commands.Bot(command_prefix='.', description=description, intents=intents)
@bot.event
async def on_ready():
print(f'pybot-f logged in as {bot.user} (ID: {bot.user.id})')
iurl = discord.utils.oauth_url(bot.user.id)
print(f'Bot invite URL: {iurl}')
print(f'Bot invite URL: {discord.utils.oauth_url(bot.user.id)}')
print('------')