diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-02 20:43:48 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-02 20:43:48 +0300 |
| commit | a7da5b685c3b9394f3d8dc5cd4289f3eb9d08185 (patch) | |
| tree | aaec94c5bd5fd1577d8724287e111f785b802c16 /bot.zsh | |
| parent | 5ef9c40292baf94540a110bb12a9a7e435c31766 (diff) | |
*/*: Rename main directories
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'bot.zsh')
| -rwxr-xr-x | bot.zsh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -27,8 +27,8 @@ auth="${dir}/auth" cache="${dir}/cache/${$}" config="${dir}/config" files="${dir}/files" -mods="${dir}/modules" -submods="${dir}/submodules" +handlers="${dir}/handlers" +agents="${dir}/agents" units="${dir}/units" users="${dir}/users" offset=-1 @@ -767,7 +767,7 @@ source "${units}/log.zsh" while trap 'wait && exit 0' INT TERM do - source "${mods}/timer.zsh" & + source "${handlers}/timer.zsh" & if ! input_data="$( curl --connect-timeout ${connrefused_timeout} \ @@ -832,9 +832,9 @@ do continue fi - for module in callback commands inline source + for handler in callback commands inline source do - source "${mods}/${module}.zsh" & + source "${handlers}/${handler}.zsh" & done offset=$((update_id + 1)) |
