Added role IDs to cascading settings
This commit is contained in:
parent
e47a42370d
commit
7f9bb11f8f
@ -93,7 +93,10 @@ async def on_message_or_reaction(client, obj):
|
||||
setting_paths = setting_paths + [f"{CONFIG_DIR}defaults/{chl_topic_part}"]
|
||||
|
||||
for r in roles:
|
||||
setting_paths = setting_paths + [f"{CONFIG_DIR}role_defaults/{r.name}"]
|
||||
setting_paths = setting_paths + [
|
||||
f"{CONFIG_DIR}role_defaults/{r.id}",
|
||||
f"{CONFIG_DIR}role_defaults/{r.name}",
|
||||
]
|
||||
|
||||
setting_paths = setting_paths + [
|
||||
f"{CONFIG_DIR}user_defaults/{user.id}",
|
||||
|
Loading…
Reference in New Issue
Block a user