Print getting started guide on startup when bot is in no guilds (#3906)

* Link getting started guide

* 3.3.9

* fk
This commit is contained in:
Vexed 2020-06-19 00:13:01 +01:00 committed by GitHub
parent 728252ac87
commit 2d63e3d6aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,6 +188,11 @@ def init_events(bot, cli_flags):
if invite_url:
print("\nInvite URL: {}\n".format(invite_url))
if not guilds:
print(
"Looking for a quick guide on setting up Red? https://docs.discord.red/en/stable/getting_started.html\n"
)
if not bot.owner_ids:
# we could possibly exit here in future
log.warning("Bot doesn't have any owner set!")