You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thenameandcontentofthesnippet.
"""# TODO: Remove hardcoded role ids# If user does not have any of the access level roles, returnaccess_level_role_ids= [1290368656441872535, 1290368813627346995]
assertctx.guildifisinstance(ctx.author, discord.Member) andall(
role.idnotinaccess_level_role_idsforroleinctx.author.roles
):
awaitctx.send("You do not have the permission to use this command.")
returnifawaitself.is_snippetbanned(ctx.guild.id, ctx.author.id):
awaitctx.send("You are banned from using snippets.")
return
The text was updated successfully, but these errors were encountered:
tux/tux/cogs/utility/snippets.py
Line 350 in 9e0e710
The text was updated successfully, but these errors were encountered: