update roles on member join
@@ -44,6 +44,11 @@ class Events(commands.Cog):
async def on_member_ban(self, guild, user):
await self.db.clear_warns(user.id, guild.id)
+ @commands.Cog.listener()
+ async def on_member_join(self, member):
+ if member.guild.id == self.d.support_server_id:
+ await self.bot.update_support_member_role(member)
+
@commands.Cog.listener()
async def on_message(self, m):
if m.author.bot:
