[safetychecks] removed duplicate
Browse files
app.py
CHANGED
@@ -90,15 +90,6 @@ async def safetychecks(ctx):
|
|
90 |
return False
|
91 |
|
92 |
#β
β
check if the user has the required role(s)
|
93 |
-
guild_id = 879548962464493619
|
94 |
-
required_role_id = 963431900825919498 # @verified = 900063512829755413, HF = 897376942817419265, fellows = 963431900825919498
|
95 |
-
guild = bot.get_guild(guild_id)
|
96 |
-
required_role = guild.get_role(required_role_id)
|
97 |
-
if required_role not in ctx.author.roles:
|
98 |
-
print(f"Error: {ctx.author} does not have the required role to use that command. ({required_role} is the correct role)")
|
99 |
-
return False
|
100 |
-
|
101 |
-
|
102 |
guild_id = 879548962464493619
|
103 |
verified_role_id = 900063512829755413 # @verified = 900063512829755413, HF = 897376942817419265, fellows = 963431900825919498
|
104 |
huggingfolks_role_id = 897376942817419265
|
|
|
90 |
return False
|
91 |
|
92 |
#β
β
check if the user has the required role(s)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
guild_id = 879548962464493619
|
94 |
verified_role_id = 900063512829755413 # @verified = 900063512829755413, HF = 897376942817419265, fellows = 963431900825919498
|
95 |
huggingfolks_role_id = 897376942817419265
|