Skip to content

Commit

Permalink
Merge pull request #153 from MiscGuild/veteran-tag-permissions
Browse files Browse the repository at this point in the history
Veteran tag permissions
  • Loading branch information
Amxgh authored Oct 29, 2023
2 parents a0bbda8 + 74e4efe commit 6112a69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/discord_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,9 @@ async def after_cache_ready():
bot.rich_kid = discord.utils.get(bot.guild.roles, name="Rich Kid")
bot.gvg = discord.utils.get(bot.guild.roles, name="GvG Team")
bot.giveaways_events = discord.utils.get(bot.guild.roles, name="Giveaways/Events")
bot.tag_allowed_roles = (bot.active_role, bot.staff, bot.former_staff, bot.server_booster, bot.rich_kid, bot.gvg)
bot.veteran = discord.utils.get(bot.guild.roles, name="Veteran")
bot.tag_allowed_roles = (bot.active_role, bot.staff, bot.former_staff,
bot.server_booster, bot.rich_kid, bot.gvg, bot.veteran)

from src.utils.discord_utils import name_grabber
bot.staff_names = [(await get_mojang_profile(await name_grabber(member)))[0] for member in bot.staff.members]
Expand Down

0 comments on commit 6112a69

Please sign in to comment.