The flow
Starts it 1Logic 14Service 12
The steps in the order they run, from what starts it.
- 1Hourly Check TriggerSchedule triggerStarts it
- 2Configuration SettingsSetLogic
- 3Get All Server MembersDiscordService
- 4Edit FieldsSetLogic
- 5Loop Over ItemsSplit In BatchesLogic
- 6If userID does not existData TableService
- 7If userid does not existIfLogic
- 8add new user to databaseData TableService
- 9Get row(s) from main DBData TableService
- 10SwitchSwitchLogic
- 11Get row(s) from new DBData TableService
- 12Switch1SwitchLogic
- 13nickname changedDiscordService
- 14is the new change recorded alreadyIfLogic
- 15insert user changes to new databaseData TableService
- 16new name and un is recorded, do nothingNo OpLogic
- 17nickname changed againDiscordService
- 18aggregate all necessary dataSetLogic
- 19If username and nickname hasn't been changedIfLogic
- 20No Operation, do nothing1No OpLogic
- 21If both username and nickname was changed but user ID is the sameIfLogic
- 22update both column in recordsData TableService
- 23if username is the same but nickname is diffIfLogic
- 24update only username on recordData TableService
- 25if username is the same but nickname is diff1IfLogic
- 26update only nickname columnData TableService
- 27error handlingDiscordService