├── .cargo └── config ├── .dockerignore ├── .github └── workflows │ ├── build.yml │ └── test.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── assets └── logo ├── config-DEFAULT.toml ├── lang └── en_US │ ├── commands.json │ └── logs.json ├── migrations └── 1_inital.sql ├── rustfmt.toml ├── src ├── cache │ ├── channel.rs │ ├── emoji.rs │ ├── guild.rs │ ├── member.rs │ ├── mod.rs │ ├── role.rs │ └── user.rs ├── commands │ ├── admin │ │ ├── check_cache.rs │ │ ├── mod.rs │ │ └── restart.rs │ ├── basic │ │ ├── about.rs │ │ ├── coinflip.rs │ │ ├── help.rs │ │ ├── mod.rs │ │ ├── ping.rs │ │ ├── quote.rs │ │ └── uid.rs │ ├── debug │ │ ├── config.rs │ │ ├── mod.rs │ │ ├── permissions.rs │ │ └── test.rs │ ├── meta │ │ ├── mod.rs │ │ └── nodes.rs │ ├── misc │ │ ├── emoji.rs │ │ └── mod.rs │ ├── mod.rs │ └── moderation │ │ ├── mod.rs │ │ └── userinfo.rs ├── core │ ├── bot_config.rs │ ├── bot_context │ │ ├── cold_resume.rs │ │ ├── data_access.rs │ │ ├── logpump.rs │ │ ├── mod.rs │ │ ├── permissions.rs │ │ ├── stats.rs │ │ └── status.rs │ ├── cold_resume_data.rs │ ├── command_context │ │ ├── messaging.rs │ │ ├── mod.rs │ │ ├── object_fetcher.rs │ │ └── permissions.rs │ ├── guild_config.rs │ ├── logging.rs │ ├── logpump │ │ ├── log_data.rs │ │ ├── log_filter.rs │ │ ├── log_type.rs │ │ └── mod.rs │ ├── mod.rs │ └── reactors │ │ ├── emoji_list_reactor.rs │ │ ├── help_reactor.rs │ │ ├── mod.rs │ │ └── reactor_controller.rs ├── database │ ├── configs.rs │ ├── crypto.rs │ ├── mod.rs │ ├── redis │ │ ├── api_handlers │ │ │ ├── api_structs.rs │ │ │ ├── mod.rs │ │ │ ├── mutual_guilds.rs │ │ │ ├── team_info.rs │ │ │ └── user_info.rs │ │ └── mod.rs │ └── structures.rs ├── error.rs ├── handlers │ ├── commands.rs │ ├── general.rs │ ├── mod.rs │ └── modlog.rs ├── main.rs ├── parser.rs ├── translation.rs └── utils │ ├── emoji.rs │ ├── matchers.rs │ ├── mod.rs │ └── pattern.rs └── team.toml /.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/.cargo/config -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .github 2 | logs 3 | target -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/assets/logo -------------------------------------------------------------------------------- /config-DEFAULT.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/config-DEFAULT.toml -------------------------------------------------------------------------------- /lang/en_US/commands.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/lang/en_US/commands.json -------------------------------------------------------------------------------- /lang/en_US/logs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/lang/en_US/logs.json -------------------------------------------------------------------------------- /migrations/1_inital.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/migrations/1_inital.sql -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width=120 -------------------------------------------------------------------------------- /src/cache/channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/channel.rs -------------------------------------------------------------------------------- /src/cache/emoji.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/emoji.rs -------------------------------------------------------------------------------- /src/cache/guild.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/guild.rs -------------------------------------------------------------------------------- /src/cache/member.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/member.rs -------------------------------------------------------------------------------- /src/cache/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/mod.rs -------------------------------------------------------------------------------- /src/cache/role.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/role.rs -------------------------------------------------------------------------------- /src/cache/user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/cache/user.rs -------------------------------------------------------------------------------- /src/commands/admin/check_cache.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/admin/check_cache.rs -------------------------------------------------------------------------------- /src/commands/admin/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/admin/mod.rs -------------------------------------------------------------------------------- /src/commands/admin/restart.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/admin/restart.rs -------------------------------------------------------------------------------- /src/commands/basic/about.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/about.rs -------------------------------------------------------------------------------- /src/commands/basic/coinflip.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/coinflip.rs -------------------------------------------------------------------------------- /src/commands/basic/help.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/help.rs -------------------------------------------------------------------------------- /src/commands/basic/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/mod.rs -------------------------------------------------------------------------------- /src/commands/basic/ping.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/ping.rs -------------------------------------------------------------------------------- /src/commands/basic/quote.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/quote.rs -------------------------------------------------------------------------------- /src/commands/basic/uid.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/basic/uid.rs -------------------------------------------------------------------------------- /src/commands/debug/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/debug/config.rs -------------------------------------------------------------------------------- /src/commands/debug/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/debug/mod.rs -------------------------------------------------------------------------------- /src/commands/debug/permissions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/debug/permissions.rs -------------------------------------------------------------------------------- /src/commands/debug/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/debug/test.rs -------------------------------------------------------------------------------- /src/commands/meta/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/meta/mod.rs -------------------------------------------------------------------------------- /src/commands/meta/nodes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/meta/nodes.rs -------------------------------------------------------------------------------- /src/commands/misc/emoji.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/misc/emoji.rs -------------------------------------------------------------------------------- /src/commands/misc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/misc/mod.rs -------------------------------------------------------------------------------- /src/commands/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/mod.rs -------------------------------------------------------------------------------- /src/commands/moderation/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/moderation/mod.rs -------------------------------------------------------------------------------- /src/commands/moderation/userinfo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/commands/moderation/userinfo.rs -------------------------------------------------------------------------------- /src/core/bot_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_config.rs -------------------------------------------------------------------------------- /src/core/bot_context/cold_resume.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/cold_resume.rs -------------------------------------------------------------------------------- /src/core/bot_context/data_access.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/data_access.rs -------------------------------------------------------------------------------- /src/core/bot_context/logpump.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/logpump.rs -------------------------------------------------------------------------------- /src/core/bot_context/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/mod.rs -------------------------------------------------------------------------------- /src/core/bot_context/permissions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/permissions.rs -------------------------------------------------------------------------------- /src/core/bot_context/stats.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/stats.rs -------------------------------------------------------------------------------- /src/core/bot_context/status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/bot_context/status.rs -------------------------------------------------------------------------------- /src/core/cold_resume_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/cold_resume_data.rs -------------------------------------------------------------------------------- /src/core/command_context/messaging.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/command_context/messaging.rs -------------------------------------------------------------------------------- /src/core/command_context/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/command_context/mod.rs -------------------------------------------------------------------------------- /src/core/command_context/object_fetcher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/command_context/object_fetcher.rs -------------------------------------------------------------------------------- /src/core/command_context/permissions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/command_context/permissions.rs -------------------------------------------------------------------------------- /src/core/guild_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/guild_config.rs -------------------------------------------------------------------------------- /src/core/logging.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/logging.rs -------------------------------------------------------------------------------- /src/core/logpump/log_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/logpump/log_data.rs -------------------------------------------------------------------------------- /src/core/logpump/log_filter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/logpump/log_filter.rs -------------------------------------------------------------------------------- /src/core/logpump/log_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/logpump/log_type.rs -------------------------------------------------------------------------------- /src/core/logpump/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/logpump/mod.rs -------------------------------------------------------------------------------- /src/core/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/mod.rs -------------------------------------------------------------------------------- /src/core/reactors/emoji_list_reactor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/reactors/emoji_list_reactor.rs -------------------------------------------------------------------------------- /src/core/reactors/help_reactor.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/core/reactors/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/reactors/mod.rs -------------------------------------------------------------------------------- /src/core/reactors/reactor_controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/core/reactors/reactor_controller.rs -------------------------------------------------------------------------------- /src/database/configs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/configs.rs -------------------------------------------------------------------------------- /src/database/crypto.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/crypto.rs -------------------------------------------------------------------------------- /src/database/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/mod.rs -------------------------------------------------------------------------------- /src/database/redis/api_handlers/api_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/redis/api_handlers/api_structs.rs -------------------------------------------------------------------------------- /src/database/redis/api_handlers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/redis/api_handlers/mod.rs -------------------------------------------------------------------------------- /src/database/redis/api_handlers/mutual_guilds.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/redis/api_handlers/mutual_guilds.rs -------------------------------------------------------------------------------- /src/database/redis/api_handlers/team_info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/redis/api_handlers/team_info.rs -------------------------------------------------------------------------------- /src/database/redis/api_handlers/user_info.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/redis/api_handlers/user_info.rs -------------------------------------------------------------------------------- /src/database/redis/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/redis/mod.rs -------------------------------------------------------------------------------- /src/database/structures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/database/structures.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/handlers/commands.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/handlers/commands.rs -------------------------------------------------------------------------------- /src/handlers/general.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/handlers/general.rs -------------------------------------------------------------------------------- /src/handlers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/handlers/mod.rs -------------------------------------------------------------------------------- /src/handlers/modlog.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/handlers/modlog.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/parser.rs -------------------------------------------------------------------------------- /src/translation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/translation.rs -------------------------------------------------------------------------------- /src/utils/emoji.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/utils/emoji.rs -------------------------------------------------------------------------------- /src/utils/matchers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/utils/matchers.rs -------------------------------------------------------------------------------- /src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/utils/mod.rs -------------------------------------------------------------------------------- /src/utils/pattern.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/src/utils/pattern.rs -------------------------------------------------------------------------------- /team.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gearbot/GearBot-2-version-1/HEAD/team.toml --------------------------------------------------------------------------------