diff --git a/commands/force_player_verify.py b/commands/force_player_verify.py index cddfe87..cc119e8 100644 --- a/commands/force_player_verify.py +++ b/commands/force_player_verify.py @@ -127,7 +127,7 @@ async def forceverify(self, ctx, user: discord.Member, username: str): ign = ign, guild_rank = user_rank ) - await user.add_roles(verified_linked_role) # gives user guild role + await user.add_roles(guild_role) # gives user guild role else: pass diff --git a/commands/verify.py b/commands/verify.py index 3405620..2e41b79 100644 --- a/commands/verify.py +++ b/commands/verify.py @@ -19,6 +19,7 @@ embed_color = int(data["general"]["embed_color"].strip("#"), 16) #convert hex color to hexadecimal format unverified_role_id = int(data["role_ids"]["unverified_member"]) verified_role_id = int(data["role_ids"]["verified_member"]) +guild_role_id = int(data["role_ids"]["guild_member"]) font_title = ImageFont.truetype("./assets/fonts/Minecraft.ttf", 16) font_footer = ImageFont.truetype("./assets/fonts/Minecraft.ttf", 13) @@ -102,6 +103,7 @@ async def verify(self, ctx, *, username): unverified_role = discord.utils.get(ctx.guild.roles, id=unverified_role_id) #default role id verified_linked_role = discord.utils.get(ctx.guild.roles, id=verified_role_id) #verified role id + guild_role = discord.utils.get(ctx.guild.roles, id=guild_role_id) #verified role id #checks if user is in a guild try: @@ -122,7 +124,7 @@ async def verify(self, ctx, *, username): ign = ign, guild_rank = user_rank ) - await ctx.author.add_roles(verified_linked_role) # gives user guild role + await ctx.author.add_roles(guild_role) # gives user guild role else: pass diff --git a/listeners/member_data_cacher.py b/listeners/member_data_cacher.py index c7bd2a4..28a09a8 100644 --- a/listeners/member_data_cacher.py +++ b/listeners/member_data_cacher.py @@ -108,7 +108,7 @@ async def guildMemberCacher(self): channel = self.client.get_channel(logs_channel_id) embed = discord.Embed( - title=(f"😊 | {ign} has just joined the guild!."), + title=(f"😊 | {ign} has just joined the guild!"), description=f"Player `{ign}` was just loaded into the guild cache. This means that they either just joined or was just now loaded. Their username will now appear in all guild commands.", colour= embed_color )