Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Veteran tag permissions #153

Merged
merged 3 commits into from
Oct 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading