Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Samoxive/SafetyJim
/ functions
Functions
461 in github.com/Samoxive/SafetyJim
⨍
Functions
461
◇
Types & classes
225
Method
default
(guild_id: GuildId)
src/database/settings.rs:104
Method
default
()
src/server/model/user.rs:16
Function
default_page
()
src/server/endpoint/mod.rs:16
Method
delete_iam_role
( &self, guild_id: GuildId, role_id: RoleId, )
src/service/iam_role.rs:79
Method
dispatch
(&self, context: &Context, event: &FullEvent)
src/discord/discord_bot.rs:814
Function
extract_service
( services: &Services, )
src/server/mod.rs:114
Method
fetch_actionable_kick_count
( &self, guild_id: i64, user_id: i64, )
src/database/kicks.rs:52
Method
fetch_actionable_mute_count
( &self, guild_id: i64, user_id: i64, )
src/database/mutes.rs:72
Method
fetch_actionable_softban_count
( &self, guild_id: i64, user_id: i64, )
src/database/softbans.rs:60
Method
fetch_actionable_warn_count
( &self, guild_id: i64, user_id: i64, )
src/database/warns.rs:52
Method
fetch_ban
(&self, id: i32)
src/database/bans.rs:33
Method
fetch_expired_bans
(&self)
src/service/ban.rs:203
Method
fetch_expired_mutes
(&self)
src/service/mute.rs:349
Method
fetch_expired_reminders
(&self)
src/service/reminder.rs:24
Method
fetch_guild_ban_count
(&self, guild_id: i64)
src/database/bans.rs:48
Method
fetch_guild_bans
(&self, guild_id: i64, page: u32)
src/database/bans.rs:40
Method
fetch_guild_hardban_count
(&self, guild_id: i64)
src/database/hardbans.rs:49
Method
fetch_guild_hardbans
( &self, guild_id: i64, page: u32, )
src/database/hardbans.rs:35
Method
fetch_guild_iam_role
( &self, guild_id: i64, role_id: i64, )
src/database/iam_roles.rs:27
Method
fetch_guild_kick_count
(&self, guild_id: i64)
src/database/kicks.rs:44
Method
fetch_guild_kicks
(&self, guild_id: i64, page: u32)
src/database/kicks.rs:36
Method
fetch_guild_mute_count
(&self, guild_id: i64)
src/database/mutes.rs:49
Method
fetch_guild_mutes
(&self, guild_id: i64, page: u32)
src/database/mutes.rs:41
Method
fetch_guild_softban_count
(&self, guild_id: i64)
src/database/softbans.rs:50
Method
fetch_guild_softbans
( &self, guild_id: i64, page: u32, )
src/database/softbans.rs:36
Method
fetch_guild_warn_count
(&self, guild_id: i64)
src/database/warns.rs:44
Method
fetch_guild_warns
(&self, guild_id: i64, page: u32)
src/database/warns.rs:36
Method
fetch_hardban
(&self, id: i32)
src/database/hardbans.rs:28
Method
fetch_kick
(&self, id: i32)
src/database/kicks.rs:29
Method
fetch_last_guild_ban
(&self, guild_id: GuildId)
src/service/ban.rs:215
Method
fetch_mute
(&self, id: i32)
src/database/mutes.rs:34
Method
fetch_setting
(&self, guild_id: i64)
src/database/settings.rs:161
Method
fetch_softban
(&self, id: i32)
src/database/softbans.rs:29
Method
fetch_valid_mutes
(&self, guild_id: GuildId, user_id: UserId)
src/service/mute.rs:361
Method
fetch_warn
(&self, id: i32)
src/database/warns.rs:29
Method
from_ban
(services: &Services, ban: &Ban)
src/server/model/ban.rs:23
Method
from_cached_guild
(guild_id: GuildId, guild: &CachedGuild)
src/server/model/guild.rs:15
Method
from_guild_channel
(id: ChannelId, channel: &CachedChannel)
src/server/model/channel.rs:14
Method
from_hardban
(services: &Services, hardban: &Hardban)
src/server/model/hardban.rs:21
Method
from_id
(services: &Services, user_id: UserId)
src/server/model/user.rs:26
Method
from_kick
(services: &Services, kick: &Kick)
src/server/model/kick.rs:22
Method
from_mute
(services: &Services, mute: &Mute)
src/server/model/mute.rs:24
Method
from_request_parts
( parts: &mut Parts, state: &AxumState, )
src/server/mod.rs:130
Method
from_request_parts
( parts: &mut Parts, state: &AxumState, )
src/server/endpoint/settings.rs:32
Method
from_role
(id: RoleId, role: &CachedRole)
src/server/model/role.rs:14
Method
from_softban
(services: &Services, softban: &Softban)
src/server/model/softban.rs:22
Method
from_warn
(services: &Services, warn: &Warn)
src/server/model/warn.rs:22
Function
get_ban
/guilds/:guild_id/bans/:ban_id
src/server/endpoint/ban.rs:63
Function
get_bans
/guilds/:guild_id/bans
src/server/endpoint/ban.rs:33
Function
get_captcha_page
/captcha/:guild_id/:user_id
src/server/endpoint/captcha.rs:28
Function
get_hardban
/guilds/:guild_id/hardbans/:hardban_id
src/server/endpoint/hardban.rs:63
Function
get_hardbans
/guilds/:guild_id/hardbans
src/server/endpoint/hardban.rs:33
Function
get_kick
/guilds/:guild_id/kicks/:kick_id
src/server/endpoint/kick.rs:63
Function
get_kicks
/guilds/:guild_id/kicks
src/server/endpoint/kick.rs:33
Function
get_mute
/guilds/:guild_id/mutes/:mute_id
src/server/endpoint/mute.rs:63
Function
get_mutes
/guilds/:guild_id/mutes
src/server/endpoint/mute.rs:33
Function
get_self
/@me
src/server/endpoint/self_user.rs:15
Function
get_setting
/guilds/:guild_id/settings
src/server/endpoint/settings.rs:119
Method
get_shard_latency_info
(&self, shard_id: ShardId)
src/service/shard_statistic.rs:29
Function
get_softban
/guilds/:guild_id/softbans/:softban_id
src/server/endpoint/softban.rs:63
Function
get_softbans
/guilds/:guild_id/softbans
src/server/endpoint/softban.rs:33
Function
get_warn
/guilds/:guild_id/warns/:warn_id
src/server/endpoint/warn.rs:63
Function
get_warns
/guilds/:guild_id/warns
src/server/endpoint/warn.rs:33
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/massban.rs:95
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/hardban.rs:84
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/unmute.rs:67
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/ping.rs:28
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/clean.rs:79
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/melo.rs:27
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/clean_user.rs:101
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/role_remove.rs:71
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/iam.rs:58
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, config: &Config,
src/discord/slash_commands/weather.rs:121
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/server.rs:33
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/xkcd.rs:96
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/clean_bot.rs:83
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/invite.rs:32
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/info.rs:34
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/mute.rs:107
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/tag_edit.rs:87
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/ban.rs:103
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/remind.rs:86
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/kick.rs:82
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/tag_list.rs:33
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/unban.rs:65
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/iam_not.rs:60
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/role_create.rs:71
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/softban.rs:107
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/tag_remove.rs:72
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/tag_create.rs:82
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/whois.rs:121
Method
handle_command
( &self, context: &Context, interaction: &CommandInteraction, _config: &Config
src/discord/slash_commands/warn.rs:82
Method
handle_message
( &self, context: &Context, message_content: &str, guild_id: GuildId,
src/discord/message_processors/spam_filter.rs:53
Method
handle_message
( &self, context: &Context, message_content: &str, guild_id: GuildId,
src/discord/message_processors/invite_link.rs:22
Function
health_check
(State(settings): State<Arc<Services>>)
src/server/mod.rs:268
Method
initialize
(&self)
src/database/hardbans.rs:18
Method
initialize
(&self)
src/database/invalid_uuids.rs:15
Method
initialize
(&self)
src/database/mutes.rs:24
Method
initialize
(&self)
src/database/reminders.rs:22
Method
initialize
(&self)
src/database/softbans.rs:19
← previous
next →
301–400 of 461, ranked by callers