Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/IchBinLeoon/anisearch-discord-bot
/ functions
Functions
219 in github.com/IchBinLeoon/anisearch-discord-bot
⨍
Functions
219
◇
Types & classes
59
↓ 25 callers
Function
format_opt
(value: Option<T>)
anisearch-bot/src/utils/format.rs:46
↓ 18 callers
Method
ephemeral
(mut self, ephemeral: bool)
anisearch-bot/src/components/paginate.rs:341
↓ 12 callers
Function
create_anilist_embed
( title: String, name: Option<String>, url: Option<String>, )
anisearch-bot/src/utils/embeds.rs:28
↓ 8 callers
Method
default
()
anisearch-bot/src/components/paginate.rs:359
↓ 8 callers
Function
defer_with_ephemeral
(ctx: Context<'a>, ephemeral: Option<bool>)
anisearch-bot/src/utils/commands.rs:59
↓ 7 callers
Method
add_link_buttons
(mut self, buttons: Vec<CreateButton<'a>>)
anisearch-bot/src/components/paginate.rs:390
↓ 7 callers
Method
build
(self)
anisearch-bot/src/components/paginate.rs:346
↓ 7 callers
Method
pages
(mut self, pages: Vec<Page<'a>>)
anisearch-bot/src/components/paginate.rs:331
↓ 7 callers
Method
paginate
(&mut self, ctx: Context<'_>)
anisearch-bot/src/components/paginate.rs:36
↓ 5 callers
Function
autocomplete
( partial: &'a str, autocomplete_fn: F, )
anisearch-bot/src/commands/autocomplete.rs:7
↓ 5 callers
Function
create_default_embed
(ctx: Context<'a>)
anisearch-bot/src/utils/embeds.rs:10
↓ 5 callers
Function
create_media_buttons
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:125
↓ 5 callers
Function
create_media_embed
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:75
↓ 4 callers
Function
format_date
(year: Option<i64>, month: Option<i64>, day: Option<i64>)
anisearch-bot/src/utils/format.rs:56
↓ 3 callers
Function
date_with_fallback
(year: i64, month: i64, day: i64, fmt: &str)
anisearch-bot/src/utils/format.rs:50
↓ 3 callers
Method
get_current_page
(&self)
anisearch-bot/src/components/paginate.rs:168
↓ 3 callers
Method
media
( &self, variables: media_query::Variables, )
anisearch-bot/src/clients/anilist/mod.rs:46
↓ 3 callers
Function
sanitize_description
(description: &str, length: usize)
anisearch-bot/src/utils/format.rs:18
↓ 3 callers
Method
search_media
( &self, media: MediaType, title: Option<String>, limit: Option<usize>,
anisearch-bot/src/services/anilist/mod.rs:44
↓ 2 callers
Method
add_guild
(&self, id: GuildId, name: String)
anisearch-bot/src/services/guild/mod.rs:18
↓ 2 callers
Function
autocomplete_comma_separated
( partial: &'a str, autocomplete_fn: F, )
anisearch-bot/src/commands/autocomplete.rs:81
↓ 2 callers
Function
commands
()
anisearch-bot/src/commands/mod.rs:12
↓ 2 callers
Method
create_interaction_response
(&self)
anisearch-bot/src/components/paginate.rs:159
↓ 2 callers
Method
create_reply
(&self)
anisearch-bot/src/components/paginate.rs:152
↓ 2 callers
Method
fetch_genre_and_tag_collections
( &self, )
anisearch-bot/src/services/anilist/mod.rs:426
↓ 2 callers
Function
format_name
(full: Option<&String>, native: Option<&String>)
anisearch-bot/src/commands/search/character.rs:109
↓ 2 callers
Method
get_commands_used_count
(&self)
anisearch-bot/src/services/metrics/mod.rs:112
↓ 2 callers
Method
get_user_count
(&self)
anisearch-bot/src/services/metrics/mod.rs:108
↓ 2 callers
Method
init
(database: Arc<DatabaseConnection>)
anisearch-bot/src/services/user/mod.rs:14
↓ 2 callers
Function
log_command_completion
(ctx: Context<'_>, status: ExecutionStatus)
anisearch-bot/src/events.rs:201
↓ 2 callers
Method
render_components
(&self)
anisearch-bot/src/components/paginate.rs:109
↓ 2 callers
Method
search_anime
( &self, title: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:67
↓ 2 callers
Method
search_character
( &self, name: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:95
↓ 2 callers
Method
search_manga
( &self, title: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:81
↓ 2 callers
Method
search_staff
( &self, name: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:113
↓ 2 callers
Method
search_studio
( &self, name: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:131
↓ 1 callers
Function
add_anime_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:217
↓ 1 callers
Function
add_appearances
( mut embed: CreateEmbed<'a>, data: &CharacterQueryPageCharacters, )
anisearch-bot/src/commands/search/character.rs:175
↓ 1 callers
Function
add_basic_fields
( embed: CreateEmbed<'a>, data: &CharacterQueryPageCharacters, )
anisearch-bot/src/commands/search/character.rs:124
↓ 1 callers
Function
add_basic_fields
(embed: CreateEmbed<'a>, data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:110
↓ 1 callers
Function
add_character_roles
( mut embed: CreateEmbed<'a>, data: &StaffQueryPageStaff, )
anisearch-bot/src/commands/search/staff.rs:191
↓ 1 callers
Function
add_common_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:191
↓ 1 callers
Function
add_episodes
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:152
↓ 1 callers
Function
add_genres
(mut embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:239
↓ 1 callers
Method
add_guild_command_usage
( &self, ctx_id: u64, user_id: UserId, guild_id: GuildId, command_name
anisearch-bot/src/services/metrics/mod.rs:18
↓ 1 callers
Function
add_manga_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:184
↓ 1 callers
Method
add_private_command_usage
( &self, ctx_id: u64, user_id: UserId, command_name: String, command_t
anisearch-bot/src/services/metrics/mod.rs:44
↓ 1 callers
Function
add_productions
( mut embed: CreateEmbed<'a>, data: &'a StudioQueryPageStudios, )
anisearch-bot/src/commands/search/studio.rs:101
↓ 1 callers
Function
add_staff_roles
(mut embed: CreateEmbed<'a>, data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:159
↓ 1 callers
Function
add_stats_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:232
↓ 1 callers
Function
add_synonyms
( mut embed: CreateEmbed<'a>, data: &CharacterQueryPageCharacters, )
anisearch-bot/src/commands/search/character.rs:144
↓ 1 callers
Function
add_synonyms
(mut embed: CreateEmbed<'a>, data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:138
↓ 1 callers
Method
add_user
(&self, id: UserId, name: String)
anisearch-bot/src/services/user/mod.rs:18
↓ 1 callers
Method
anime_autocomplete
(&self, title: String)
anisearch-bot/src/services/anilist/mod.rs:245
↓ 1 callers
Function
api
(state: AppState)
anisearch-web/src/api/mod.rs:14
↓ 1 callers
Method
as_str
(&self)
anisearch-bot/src/clients/anilist/mod.rs:126
↓ 1 callers
Method
character
( &self, variables: character_query::Variables, )
anisearch-bot/src/clients/anilist/mod.rs:53
↓ 1 callers
Method
character_autocomplete
(&self, name: String)
anisearch-bot/src/services/anilist/mod.rs:313
↓ 1 callers
Function
clean_html
(text: &str)
anisearch-bot/src/utils/format.rs:14
↓ 1 callers
Method
collection
(&self)
anisearch-bot/src/clients/anilist/mod.rs:74
↓ 1 callers
Method
commands
( &self, _request: Request<CommandsRequest>, )
anisearch-bot/src/api.rs:80
↓ 1 callers
Function
convert_to_color
(color: &str)
anisearch-bot/src/utils/format.rs:38
↓ 1 callers
Function
create_character_buttons
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:101
↓ 1 callers
Function
create_character_embed
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:74
↓ 1 callers
Method
create_custom_ids
(&mut self, ctx_id: u64)
anisearch-bot/src/components/paginate.rs:98
↓ 1 callers
Function
create_error_embed
(ctx: Context<'a>)
anisearch-bot/src/utils/embeds.rs:24
↓ 1 callers
Function
create_staff_buttons
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:102
↓ 1 callers
Function
create_staff_embed
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:74
↓ 1 callers
Function
create_studio_buttons
(data: &StudioQueryPageStudios)
anisearch-bot/src/commands/search/studio.rs:93
↓ 1 callers
Function
create_studio_embed
(data: &StudioQueryPageStudios)
anisearch-bot/src/commands/search/studio.rs:77
↓ 1 callers
Function
extract_appearances
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:186
↓ 1 callers
Function
extract_character_roles
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:206
↓ 1 callers
Function
extract_genres
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:247
↓ 1 callers
Function
extract_image
(media: &StudioQueryPageStudiosMedia)
anisearch-bot/src/commands/search/studio.rs:118
↓ 1 callers
Function
extract_productions
(media: &StudioQueryPageStudiosMedia)
anisearch-bot/src/commands/search/studio.rs:128
↓ 1 callers
Function
extract_staff_roles
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:167
↓ 1 callers
Function
extract_synonyms
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:155
↓ 1 callers
Function
extract_synonyms
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:146
↓ 1 callers
Function
format_duration_secs
(duration: Duration)
anisearch-bot/src/utils/format.rs:74
↓ 1 callers
Function
format_episodes
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:158
↓ 1 callers
Function
format_next_airing_time
(airing_at: i64)
anisearch-bot/src/commands/search/anime.rs:176
↓ 1 callers
Function
format_title
(romaji: Option<&String>, english: Option<&String>)
anisearch-bot/src/commands/search/anime.rs:143
↓ 1 callers
Method
genres_autocomplete
(&self, genre: String)
anisearch-bot/src/services/anilist/mod.rs:390
↓ 1 callers
Function
get_execution_time
(ctx: Context<'_>)
anisearch-bot/src/events.rs:229
↓ 1 callers
Method
go_to_first_page
(&mut self)
anisearch-bot/src/components/paginate.rs:186
↓ 1 callers
Method
go_to_last_page
(&mut self)
anisearch-bot/src/components/paginate.rs:202
↓ 1 callers
Method
go_to_next_page
(&mut self)
anisearch-bot/src/components/paginate.rs:196
↓ 1 callers
Method
go_to_page
(&mut self, page: usize)
anisearch-bot/src/components/paginate.rs:180
↓ 1 callers
Method
go_to_previous_page
(&mut self)
anisearch-bot/src/components/paginate.rs:190
↓ 1 callers
Method
handle_guild_join
(&self, id: GuildId, name: String)
anisearch-bot/src/events.rs:71
↓ 1 callers
Method
handle_guild_leave
(&self, id: GuildId)
anisearch-bot/src/events.rs:79
↓ 1 callers
Function
handle_interaction_collector
( serenity_ctx: SerenityContext, ctx_id: u64, timeout: Duration, author_id: UserId, custom
anisearch-bot/src/components/paginate.rs:216
↓ 1 callers
Method
handle_ready
(&self, ctx: &SerenityContext, data_about_bot: &Ready)
anisearch-bot/src/events.rs:51
↓ 1 callers
Function
init
()
anisearch-bot/src/main.rs:65
↓ 1 callers
Function
init
()
anisearch-web/src/main.rs:44
↓ 1 callers
Method
insert
(&mut self, word: &str)
anisearch-bot/src/services/anilist/trie.rs:28
↓ 1 callers
Method
insert
(lock: &RwLock<Trie>, words: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:35
↓ 1 callers
Method
insert_anime_titles
(&self, titles: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:63
↓ 1 callers
Method
insert_character_names
(&self, names: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:71
↓ 1 callers
Method
insert_genres
(&self, genres: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:111
next →
1–100 of 219, ranked by callers