Slightly changes naming

This commit is contained in:
Profitroll 2023-05-08 15:48:15 +02:00
parent daae3db305
commit 42b4578d36
4 changed files with 7 additions and 7 deletions

View File

@ -112,7 +112,7 @@ class HoloUser:
"""
if isinstance(member, discord.User):
return False
moderator_role = await config_get("moderator", "roles")
moderator_role = await config_get("moderators", "roles")
council_role = await config_get("council", "roles")
for role in member.roles:
if role.id == moderator_role or role.id == council_role:

View File

@ -83,7 +83,7 @@ class Admin(commands.Cog):
# )
# )
# mod_role = ds_utils.get(
# ctx.user.guild.roles, id=await config_get("moderator", "roles")
# ctx.user.guild.roles, id=await config_get("moderators", "roles")
# )
# admin_chan = ds_utils.get(
# ctx.user.guild.channels,
@ -136,7 +136,7 @@ class Admin(commands.Cog):
)
)
mod_role = ds_utils.get(
ctx.user.guild.roles, id=await config_get("moderator", "roles")
ctx.user.guild.roles, id=await config_get("moderators", "roles")
)
admin_chan = ds_utils.get(
ctx.user.guild.channels,
@ -181,7 +181,7 @@ class Admin(commands.Cog):
)
)
mod_role = ds_utils.get(
ctx.user.guild.roles, id=await config_get("moderator", "roles")
ctx.user.guild.roles, id=await config_get("moderators", "roles")
)
admin_chan = ds_utils.get(
ctx.user.guild.channels,

View File

@ -73,7 +73,7 @@ class Data(commands.Cog):
)
)
mod_role = ds_utils.get(
ctx.user.guild.roles, id=await config_get("moderator", "roles")
ctx.user.guild.roles, id=await config_get("moderators", "roles")
)
admin_chan = ds_utils.get(
ctx.user.guild.channels,
@ -143,7 +143,7 @@ class Data(commands.Cog):
)
)
mod_role = ds_utils.get(
ctx.user.guild.roles, id=await config_get("moderator", "roles")
ctx.user.guild.roles, id=await config_get("moderators", "roles")
)
admin_chan = ds_utils.get(
ctx.user.guild.channels,

View File

@ -37,7 +37,7 @@
},
"roles": {
"council": 0,
"moderator": 0
"moderators": 0
},
"bots": {},
"messages": {