diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-06 04:20:11 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-06 04:20:11 +0300 |
| commit | 0671dc134a9e122ce2c0348f3f4deeb2d274d524 (patch) | |
| tree | f9bb88f626c1d68be98216e32b3e02f08701dac3 | |
| parent | 1e79ebd5f9a288563c8bb25acacd37bd55abc2d4 (diff) | |
*/*: Rename agents to operators for alphabetical order
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
| -rwxr-xr-x | bot.zsh | 2 | ||||
| -rw-r--r-- | handlers/callback.zsh | 12 | ||||
| -rw-r--r-- | handlers/commands.zsh | 30 | ||||
| -rw-r--r-- | handlers/inline.zsh | 16 | ||||
| -rw-r--r-- | handlers/source.zsh | 2 | ||||
| -rw-r--r-- | handlers/timer.zsh | 4 | ||||
| -rw-r--r-- | operators/callback_delete.zsh (renamed from agents/callback_delete.zsh) | 0 | ||||
| -rw-r--r-- | operators/callback_post.zsh (renamed from agents/callback_post.zsh) | 0 | ||||
| -rw-r--r-- | operators/callback_short.zsh (renamed from agents/callback_short.zsh) | 0 | ||||
| -rw-r--r-- | operators/callback_stop.zsh (renamed from agents/callback_stop.zsh) | 0 | ||||
| -rw-r--r-- | operators/callback_tags.zsh (renamed from agents/callback_tags.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_authorize.zsh (renamed from agents/command_authorize.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_donate.zsh (renamed from agents/command_donate.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_export.zsh (renamed from agents/command_export.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_hash.zsh (renamed from agents/command_hash.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_help.zsh (renamed from agents/command_help.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_original.zsh (renamed from agents/command_original.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_ping.zsh (renamed from agents/command_ping.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_post.zsh (renamed from agents/command_post.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_prpr.zsh (renamed from agents/command_prpr.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_short.zsh (renamed from agents/command_short.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_shorts.zsh (renamed from agents/command_shorts.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_source.zsh (renamed from agents/command_source.zsh) | 0 | ||||
| -rw-r--r-- | operators/command_stop.zsh (renamed from agents/command_stop.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_donate.zsh (renamed from agents/inline_donate.zsh) | 2 | ||||
| -rw-r--r-- | operators/inline_help.zsh (renamed from agents/inline_help.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_none.zsh (renamed from agents/inline_none.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_original.zsh (renamed from agents/inline_original.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_post.zsh (renamed from agents/inline_post.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_search.zsh (renamed from agents/inline_search.zsh) | 12 | ||||
| -rw-r--r-- | operators/inline_search_pools.zsh (renamed from agents/inline_search_pools.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_search_posts.zsh (renamed from agents/inline_search_posts.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_search_tags.zsh (renamed from agents/inline_search_tags.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_short.zsh (renamed from agents/inline_short.zsh) | 0 | ||||
| -rw-r--r-- | operators/inline_shorts.zsh (renamed from agents/inline_shorts.zsh) | 0 | ||||
| -rw-r--r-- | operators/timer_uncache.zsh (renamed from agents/timer_uncache.zsh) | 0 | ||||
| -rw-r--r-- | operators/timer_unlock.zsh (renamed from agents/timer_unlock.zsh) | 0 | ||||
| -rw-r--r-- | operators/url_parser.zsh (renamed from agents/url_parser.zsh) | 0 |
38 files changed, 40 insertions, 40 deletions
@@ -28,7 +28,7 @@ cache="${dir}/cache/${$}" config="${dir}/config" files="${dir}/files" handlers="${dir}/handlers" -agents="${dir}/agents" +operators="${dir}/operators" units="${dir}/units" users="${dir}/users" offset=-1 diff --git a/handlers/callback.zsh b/handlers/callback.zsh index 9dbadc0..8c879fa 100644 --- a/handlers/callback.zsh +++ b/handlers/callback.zsh @@ -20,22 +20,22 @@ shift case "${command}" in ("delete") - source "${agents}/callback_delete.zsh" + source "${operators}/callback_delete.zsh" ;; ("post") - source "${agents}/callback_post.zsh" + source "${operators}/callback_post.zsh" ;; ("reset") - source "${agents}/callback_reset.zsh" + source "${operators}/callback_reset.zsh" ;; ("short") - source "${agents}/callback_short.zsh" + source "${operators}/callback_short.zsh" ;; ("stop") - source "${agents}/callback_stop.zsh" + source "${operators}/callback_stop.zsh" ;; ("tags") - source "${agents}/callback_tags.zsh" + source "${operators}/callback_tags.zsh" ;; (*) exit 0 diff --git a/handlers/commands.zsh b/handlers/commands.zsh index cfb24f9..bc88137 100644 --- a/handlers/commands.zsh +++ b/handlers/commands.zsh @@ -34,49 +34,49 @@ shift case "${command}" in ("/authorize" | "/authorize@${username}") - source "${agents}/command_authorize.zsh" + source "${operators}/command_authorize.zsh" ;; ("/donate" | "/donate@${username}") - source "${agents}/command_donate.zsh" + source "${operators}/command_donate.zsh" ;; ("/export" | "/export@${username}") - source "${agents}/command_export.zsh" + source "${operators}/command_export.zsh" ;; ("/hash" | "/hash@${username}") - source "${agents}/command_hash.zsh" + source "${operators}/command_hash.zsh" ;; ("/help" | "/help@${username}") - source "${agents}/command_help.zsh" + source "${operators}/command_help.zsh" ;; ("/original" | "/original@${username}") - source "${agents}/command_original.zsh" + source "${operators}/command_original.zsh" ;; ("/ping" | "/ping@${username}") - source "${agents}/command_ping.zsh" + source "${operators}/command_ping.zsh" ;; ("/post" | "/post@${username}") - source "${agents}/command_post.zsh" + source "${operators}/command_post.zsh" ;; ("/prpr" | "/prpr@${username}") - source "${agents}/command_prpr.zsh" + source "${operators}/command_prpr.zsh" ;; ("/short" | "/short@${username}") - source "${agents}/command_short.zsh" + source "${operators}/command_short.zsh" ;; ("/shorts" | "/shorts@${username}") - source "${agents}/command_shorts.zsh" + source "${operators}/command_shorts.zsh" ;; ("/source" | "/source@${username}") - source "${agents}/command_source.zsh" + source "${operators}/command_source.zsh" ;; ("/start" | "/start@${username}") - source "${agents}/command_help.zsh" + source "${operators}/command_help.zsh" ;; ("/stop" | "/stop@${username}") - source "${agents}/command_stop.zsh" + source "${operators}/command_stop.zsh" ;; (*) - source "${agents}/url_parser.zsh" + source "${operators}/url_parser.zsh" ;; esac diff --git a/handlers/inline.zsh b/handlers/inline.zsh index 8f025b7..79bfaa7 100644 --- a/handlers/inline.zsh +++ b/handlers/inline.zsh @@ -23,30 +23,30 @@ if [[ -n "${command}" ]] then shift else - source "${agents}/inline_none.zsh" + source "${operators}/inline_none.zsh" fi case "${command}" in ("donate") - source "${agents}/inline_donate.zsh" + source "${operators}/inline_donate.zsh" ;; ("help") - source "${agents}/inline_help.zsh" + source "${operators}/inline_help.zsh" ;; ("original") - source "${agents}/inline_original.zsh" + source "${operators}/inline_original.zsh" ;; ("post") - source "${agents}/inline_post.zsh" + source "${operators}/inline_post.zsh" ;; ("short") - source "${agents}/inline_short.zsh" + source "${operators}/inline_short.zsh" ;; ("shorts" | s) - source "${agents}/inline_shorts.zsh" + source "${operators}/inline_shorts.zsh" ;; (*) - source "${agents}/inline_search.zsh" + source "${operators}/inline_search.zsh" ;; esac diff --git a/handlers/source.zsh b/handlers/source.zsh index d02c431..d3a0204 100644 --- a/handlers/source.zsh +++ b/handlers/source.zsh @@ -45,7 +45,7 @@ then fi source "${units}/user.zsh" -source "${agents}/command_source.zsh" +source "${operators}/command_source.zsh" if ! output_data="$( curl --connect-timeout ${connrefused_timeout} \ diff --git a/handlers/timer.zsh b/handlers/timer.zsh index 8da9c18..269ac5a 100644 --- a/handlers/timer.zsh +++ b/handlers/timer.zsh @@ -16,8 +16,8 @@ then exit 0 fi -source "${agents}/timer_unlock.zsh" -source "${agents}/timer_uncache.zsh" +source "${operators}/timer_unlock.zsh" +source "${operators}/timer_uncache.zsh" strftime %s > "${cache}.timer" rmdir "${cache}.lock" diff --git a/agents/callback_delete.zsh b/operators/callback_delete.zsh index a2334bf..a2334bf 100644 --- a/agents/callback_delete.zsh +++ b/operators/callback_delete.zsh diff --git a/agents/callback_post.zsh b/operators/callback_post.zsh index 301001f..301001f 100644 --- a/agents/callback_post.zsh +++ b/operators/callback_post.zsh diff --git a/agents/callback_short.zsh b/operators/callback_short.zsh index a48a27c..a48a27c 100644 --- a/agents/callback_short.zsh +++ b/operators/callback_short.zsh diff --git a/agents/callback_stop.zsh b/operators/callback_stop.zsh index d2eab2c..d2eab2c 100644 --- a/agents/callback_stop.zsh +++ b/operators/callback_stop.zsh diff --git a/agents/callback_tags.zsh b/operators/callback_tags.zsh index 803c0dd..803c0dd 100644 --- a/agents/callback_tags.zsh +++ b/operators/callback_tags.zsh diff --git a/agents/command_authorize.zsh b/operators/command_authorize.zsh index a8be540..a8be540 100644 --- a/agents/command_authorize.zsh +++ b/operators/command_authorize.zsh diff --git a/agents/command_donate.zsh b/operators/command_donate.zsh index fa7518c..fa7518c 100644 --- a/agents/command_donate.zsh +++ b/operators/command_donate.zsh diff --git a/agents/command_export.zsh b/operators/command_export.zsh index fe68802..fe68802 100644 --- a/agents/command_export.zsh +++ b/operators/command_export.zsh diff --git a/agents/command_hash.zsh b/operators/command_hash.zsh index d8bb677..d8bb677 100644 --- a/agents/command_hash.zsh +++ b/operators/command_hash.zsh diff --git a/agents/command_help.zsh b/operators/command_help.zsh index 2d86678..2d86678 100644 --- a/agents/command_help.zsh +++ b/operators/command_help.zsh diff --git a/agents/command_original.zsh b/operators/command_original.zsh index adeebdf..adeebdf 100644 --- a/agents/command_original.zsh +++ b/operators/command_original.zsh diff --git a/agents/command_ping.zsh b/operators/command_ping.zsh index 83ffb3b..83ffb3b 100644 --- a/agents/command_ping.zsh +++ b/operators/command_ping.zsh diff --git a/agents/command_post.zsh b/operators/command_post.zsh index 2ead112..2ead112 100644 --- a/agents/command_post.zsh +++ b/operators/command_post.zsh diff --git a/agents/command_prpr.zsh b/operators/command_prpr.zsh index a6db455..a6db455 100644 --- a/agents/command_prpr.zsh +++ b/operators/command_prpr.zsh diff --git a/agents/command_short.zsh b/operators/command_short.zsh index cc551e3..cc551e3 100644 --- a/agents/command_short.zsh +++ b/operators/command_short.zsh diff --git a/agents/command_shorts.zsh b/operators/command_shorts.zsh index f52b531..f52b531 100644 --- a/agents/command_shorts.zsh +++ b/operators/command_shorts.zsh diff --git a/agents/command_source.zsh b/operators/command_source.zsh index 9553bc6..9553bc6 100644 --- a/agents/command_source.zsh +++ b/operators/command_source.zsh diff --git a/agents/command_stop.zsh b/operators/command_stop.zsh index 1ddf10c..1ddf10c 100644 --- a/agents/command_stop.zsh +++ b/operators/command_stop.zsh diff --git a/agents/inline_donate.zsh b/operators/inline_donate.zsh index f84c68a..a823311 100644 --- a/agents/inline_donate.zsh +++ b/operators/inline_donate.zsh @@ -4,7 +4,7 @@ if [[ -n "${nocommand_donate}" ]] then - source "${agents}/inline_help.zsh" + source "${operators}/inline_help.zsh" return fi diff --git a/agents/inline_help.zsh b/operators/inline_help.zsh index 2ac9455..2ac9455 100644 --- a/agents/inline_help.zsh +++ b/operators/inline_help.zsh diff --git a/agents/inline_none.zsh b/operators/inline_none.zsh index c6b0a2e..c6b0a2e 100644 --- a/agents/inline_none.zsh +++ b/operators/inline_none.zsh diff --git a/agents/inline_original.zsh b/operators/inline_original.zsh index 5e9caac..5e9caac 100644 --- a/agents/inline_original.zsh +++ b/operators/inline_original.zsh diff --git a/agents/inline_post.zsh b/operators/inline_post.zsh index 92d7199..92d7199 100644 --- a/agents/inline_post.zsh +++ b/operators/inline_post.zsh diff --git a/agents/inline_search.zsh b/operators/inline_search.zsh index 05b322b..93133fc 100644 --- a/agents/inline_search.zsh +++ b/operators/inline_search.zsh @@ -17,14 +17,14 @@ case "${command}" in ;; (*) set -- ${inline_query[@]} - source "${agents}/inline_none.zsh" + source "${operators}/inline_none.zsh" case "${command}" in ("shorts") - source "${agents}/inline_shorts.zsh" + source "${operators}/inline_shorts.zsh" ;; ("help") - source "${agents}/inline_help.zsh" + source "${operators}/inline_help.zsh" ;; esac @@ -128,13 +128,13 @@ do case "${ib_mode}" in (l) - source "${agents}/inline_search_pools.zsh" + source "${operators}/inline_search_pools.zsh" ;; (p) - source "${agents}/inline_search_posts.zsh" + source "${operators}/inline_search_posts.zsh" ;; (t) - source "${agents}/inline_search_tags.zsh" + source "${operators}/inline_search_tags.zsh" ;; esac diff --git a/agents/inline_search_pools.zsh b/operators/inline_search_pools.zsh index 476dd9a..476dd9a 100644 --- a/agents/inline_search_pools.zsh +++ b/operators/inline_search_pools.zsh diff --git a/agents/inline_search_posts.zsh b/operators/inline_search_posts.zsh index 1af741d..1af741d 100644 --- a/agents/inline_search_posts.zsh +++ b/operators/inline_search_posts.zsh diff --git a/agents/inline_search_tags.zsh b/operators/inline_search_tags.zsh index aea0184..aea0184 100644 --- a/agents/inline_search_tags.zsh +++ b/operators/inline_search_tags.zsh diff --git a/agents/inline_short.zsh b/operators/inline_short.zsh index 84dd3d4..84dd3d4 100644 --- a/agents/inline_short.zsh +++ b/operators/inline_short.zsh diff --git a/agents/inline_shorts.zsh b/operators/inline_shorts.zsh index ea40e95..ea40e95 100644 --- a/agents/inline_shorts.zsh +++ b/operators/inline_shorts.zsh diff --git a/agents/timer_uncache.zsh b/operators/timer_uncache.zsh index 4af2543..4af2543 100644 --- a/agents/timer_uncache.zsh +++ b/operators/timer_uncache.zsh diff --git a/agents/timer_unlock.zsh b/operators/timer_unlock.zsh index 9736116..9736116 100644 --- a/agents/timer_unlock.zsh +++ b/operators/timer_unlock.zsh diff --git a/agents/url_parser.zsh b/operators/url_parser.zsh index b24c1bf..b24c1bf 100644 --- a/agents/url_parser.zsh +++ b/operators/url_parser.zsh |
