mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
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:
parent
728252ac87
commit
2d63e3d6aa
@ -188,6 +188,11 @@ def init_events(bot, cli_flags):
|
|||||||
if invite_url:
|
if invite_url:
|
||||||
print("\nInvite URL: {}\n".format(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:
|
if not bot.owner_ids:
|
||||||
# we could possibly exit here in future
|
# we could possibly exit here in future
|
||||||
log.warning("Bot doesn't have any owner set!")
|
log.warning("Bot doesn't have any owner set!")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user