Add automatic role assignment on member join for rules acknowledgment
- Introduced a new function `assign_rules_arrival_on_join` to assign the arrival role to members upon joining, based on configuration settings. - Updated the `on_member_join` event to call the new function, enhancing the user experience by providing immediate role assignment. - Modified configuration options in the web application to allow enabling or disabling this feature. - Updated the configurations template to reflect the new role assignment behavior, ensuring clarity for users.
This commit is contained in:
@@ -50,6 +50,7 @@ def updateConfiguration():
|
||||
'auto_rooms_enable': 'auto_rooms_channel_id',
|
||||
'twitch_commands_enable': 'twitch_channel',
|
||||
'rules_ack_enable': 'rules_channel_id',
|
||||
'rules_arrival_on_join_enable': 'rules_ack_section_in_form',
|
||||
}
|
||||
|
||||
# Ne mettre à jour les rôles staff que si la liste a été rendue dans le formulaire.
|
||||
|
||||
Reference in New Issue
Block a user