diff --git a/cogs/guild_listener/__init__.py b/cogs/guild_listener/__init__.py index 965b17f..c428826 100644 --- a/cogs/guild_listener/__init__.py +++ b/cogs/guild_listener/__init__.py @@ -19,22 +19,13 @@ class GuildListener(commands.Cog, name="Guild Listener"): @commands.Cog.listener() async def on_guild_join(self, guild: nextcord.Guild): - """Listener for Guild Join. Creates skeleton for new guild joined and saves it.""" + """Listener for Guild Join. Adds guild to database.""" new_guild = Guild(GuildId=guild.id) with Session(engine) as session: session.add(new_guild) session.commit() - # This add config will be removed eventually. Config adding will have to be controlled by commands. - add_preset_configuration(guild.id, "runescape") - - welcome_message: str = "Hello, I keep track of Highscores for you!" - welcome_message += " Currently only supporting RuneScape boss highscores," - welcome_message += " but will be more dynamic support in future." - welcome_message += ' For assistance on getting started, use "?register help".' - - await guild.system_channel.send(content=welcome_message) # This function will be called when this extension is loaded.