We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64e8052 commit 3be698fCopy full SHA for 3be698f
protobot.py
@@ -85,11 +85,13 @@ async def on_disconnect():
85
@bot.event
86
async def on_guild_join(guild):
87
"""
88
- Logs a message when bot joins a new guild.
+ Logs a message when bot joins a new guild and adds all users from that guild to the database.
89
90
91
logging.warning(f"Joined new guild: {guild.name + ' (' + str(guild.id) + ')'}")
92
93
+ add_all_users_from_guild_to_database(guild)
94
+
95
96
97
async def on_member_join(member):
0 commit comments