Added invite URL generation on startup with simple permissions

This commit is contained in:
Uwe Pfeifer 2022-11-10 21:58:57 +01:00
parent 8571d7abc9
commit 1f461af68f
2 changed files with 4 additions and 1 deletions

View file

@ -36,6 +36,8 @@ 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('------')