MCPcopy Index your code

hub / github.com/IchBinLeoon/anisearch-discord-bot / functions

Functions219 in github.com/IchBinLeoon/anisearch-discord-bot

↓ 25 callersFunctionformat_opt
(value: Option<T>)
anisearch-bot/src/utils/format.rs:46
↓ 18 callersMethodephemeral
(mut self, ephemeral: bool)
anisearch-bot/src/components/paginate.rs:341
↓ 12 callersFunctioncreate_anilist_embed
( title: String, name: Option<String>, url: Option<String>, )
anisearch-bot/src/utils/embeds.rs:28
↓ 8 callersMethoddefault
()
anisearch-bot/src/components/paginate.rs:359
↓ 8 callersFunctiondefer_with_ephemeral
(ctx: Context<'a>, ephemeral: Option<bool>)
anisearch-bot/src/utils/commands.rs:59
↓ 7 callersMethodadd_link_buttons
(mut self, buttons: Vec<CreateButton<'a>>)
anisearch-bot/src/components/paginate.rs:390
↓ 7 callersMethodbuild
(self)
anisearch-bot/src/components/paginate.rs:346
↓ 7 callersMethodpages
(mut self, pages: Vec<Page<'a>>)
anisearch-bot/src/components/paginate.rs:331
↓ 7 callersMethodpaginate
(&mut self, ctx: Context<'_>)
anisearch-bot/src/components/paginate.rs:36
↓ 5 callersFunctionautocomplete
( partial: &'a str, autocomplete_fn: F, )
anisearch-bot/src/commands/autocomplete.rs:7
↓ 5 callersFunctioncreate_default_embed
(ctx: Context<'a>)
anisearch-bot/src/utils/embeds.rs:10
↓ 5 callersFunctioncreate_media_buttons
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:125
↓ 5 callersFunctioncreate_media_embed
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:75
↓ 4 callersFunctionformat_date
(year: Option<i64>, month: Option<i64>, day: Option<i64>)
anisearch-bot/src/utils/format.rs:56
↓ 3 callersFunctiondate_with_fallback
(year: i64, month: i64, day: i64, fmt: &str)
anisearch-bot/src/utils/format.rs:50
↓ 3 callersMethodget_current_page
(&self)
anisearch-bot/src/components/paginate.rs:168
↓ 3 callersMethodmedia
( &self, variables: media_query::Variables, )
anisearch-bot/src/clients/anilist/mod.rs:46
↓ 3 callersFunctionsanitize_description
(description: &str, length: usize)
anisearch-bot/src/utils/format.rs:18
↓ 3 callersMethodsearch_media
( &self, media: MediaType, title: Option<String>, limit: Option<usize>,
anisearch-bot/src/services/anilist/mod.rs:44
↓ 2 callersMethodadd_guild
(&self, id: GuildId, name: String)
anisearch-bot/src/services/guild/mod.rs:18
↓ 2 callersFunctionautocomplete_comma_separated
( partial: &'a str, autocomplete_fn: F, )
anisearch-bot/src/commands/autocomplete.rs:81
↓ 2 callersFunctioncommands
()
anisearch-bot/src/commands/mod.rs:12
↓ 2 callersMethodcreate_interaction_response
(&self)
anisearch-bot/src/components/paginate.rs:159
↓ 2 callersMethodcreate_reply
(&self)
anisearch-bot/src/components/paginate.rs:152
↓ 2 callersMethodfetch_genre_and_tag_collections
( &self, )
anisearch-bot/src/services/anilist/mod.rs:426
↓ 2 callersFunctionformat_name
(full: Option<&String>, native: Option<&String>)
anisearch-bot/src/commands/search/character.rs:109
↓ 2 callersMethodget_commands_used_count
(&self)
anisearch-bot/src/services/metrics/mod.rs:112
↓ 2 callersMethodget_user_count
(&self)
anisearch-bot/src/services/metrics/mod.rs:108
↓ 2 callersMethodinit
(database: Arc<DatabaseConnection>)
anisearch-bot/src/services/user/mod.rs:14
↓ 2 callersFunctionlog_command_completion
(ctx: Context<'_>, status: ExecutionStatus)
anisearch-bot/src/events.rs:201
↓ 2 callersMethodrender_components
(&self)
anisearch-bot/src/components/paginate.rs:109
↓ 2 callersMethodsearch_anime
( &self, title: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:67
↓ 2 callersMethodsearch_character
( &self, name: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:95
↓ 2 callersMethodsearch_manga
( &self, title: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:81
↓ 2 callersMethodsearch_staff
( &self, name: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:113
↓ 2 callersMethodsearch_studio
( &self, name: String, limit: Option<usize>, )
anisearch-bot/src/services/anilist/mod.rs:131
↓ 1 callersFunctionadd_anime_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:217
↓ 1 callersFunctionadd_appearances
( mut embed: CreateEmbed<'a>, data: &CharacterQueryPageCharacters, )
anisearch-bot/src/commands/search/character.rs:175
↓ 1 callersFunctionadd_basic_fields
( embed: CreateEmbed<'a>, data: &CharacterQueryPageCharacters, )
anisearch-bot/src/commands/search/character.rs:124
↓ 1 callersFunctionadd_basic_fields
(embed: CreateEmbed<'a>, data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:110
↓ 1 callersFunctionadd_character_roles
( mut embed: CreateEmbed<'a>, data: &StaffQueryPageStaff, )
anisearch-bot/src/commands/search/staff.rs:191
↓ 1 callersFunctionadd_common_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:191
↓ 1 callersFunctionadd_episodes
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:152
↓ 1 callersFunctionadd_genres
(mut embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:239
↓ 1 callersMethodadd_guild_command_usage
( &self, ctx_id: u64, user_id: UserId, guild_id: GuildId, command_name
anisearch-bot/src/services/metrics/mod.rs:18
↓ 1 callersFunctionadd_manga_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:184
↓ 1 callersMethodadd_private_command_usage
( &self, ctx_id: u64, user_id: UserId, command_name: String, command_t
anisearch-bot/src/services/metrics/mod.rs:44
↓ 1 callersFunctionadd_productions
( mut embed: CreateEmbed<'a>, data: &'a StudioQueryPageStudios, )
anisearch-bot/src/commands/search/studio.rs:101
↓ 1 callersFunctionadd_staff_roles
(mut embed: CreateEmbed<'a>, data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:159
↓ 1 callersFunctionadd_stats_fields
(embed: CreateEmbed<'a>, data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:232
↓ 1 callersFunctionadd_synonyms
( mut embed: CreateEmbed<'a>, data: &CharacterQueryPageCharacters, )
anisearch-bot/src/commands/search/character.rs:144
↓ 1 callersFunctionadd_synonyms
(mut embed: CreateEmbed<'a>, data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:138
↓ 1 callersMethodadd_user
(&self, id: UserId, name: String)
anisearch-bot/src/services/user/mod.rs:18
↓ 1 callersMethodanime_autocomplete
(&self, title: String)
anisearch-bot/src/services/anilist/mod.rs:245
↓ 1 callersFunctionapi
(state: AppState)
anisearch-web/src/api/mod.rs:14
↓ 1 callersMethodas_str
(&self)
anisearch-bot/src/clients/anilist/mod.rs:126
↓ 1 callersMethodcharacter
( &self, variables: character_query::Variables, )
anisearch-bot/src/clients/anilist/mod.rs:53
↓ 1 callersMethodcharacter_autocomplete
(&self, name: String)
anisearch-bot/src/services/anilist/mod.rs:313
↓ 1 callersFunctionclean_html
(text: &str)
anisearch-bot/src/utils/format.rs:14
↓ 1 callersMethodcollection
(&self)
anisearch-bot/src/clients/anilist/mod.rs:74
↓ 1 callersMethodcommands
( &self, _request: Request<CommandsRequest>, )
anisearch-bot/src/api.rs:80
↓ 1 callersFunctionconvert_to_color
(color: &str)
anisearch-bot/src/utils/format.rs:38
↓ 1 callersFunctioncreate_character_buttons
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:101
↓ 1 callersFunctioncreate_character_embed
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:74
↓ 1 callersMethodcreate_custom_ids
(&mut self, ctx_id: u64)
anisearch-bot/src/components/paginate.rs:98
↓ 1 callersFunctioncreate_error_embed
(ctx: Context<'a>)
anisearch-bot/src/utils/embeds.rs:24
↓ 1 callersFunctioncreate_staff_buttons
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:102
↓ 1 callersFunctioncreate_staff_embed
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:74
↓ 1 callersFunctioncreate_studio_buttons
(data: &StudioQueryPageStudios)
anisearch-bot/src/commands/search/studio.rs:93
↓ 1 callersFunctioncreate_studio_embed
(data: &StudioQueryPageStudios)
anisearch-bot/src/commands/search/studio.rs:77
↓ 1 callersFunctionextract_appearances
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:186
↓ 1 callersFunctionextract_character_roles
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:206
↓ 1 callersFunctionextract_genres
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:247
↓ 1 callersFunctionextract_image
(media: &StudioQueryPageStudiosMedia)
anisearch-bot/src/commands/search/studio.rs:118
↓ 1 callersFunctionextract_productions
(media: &StudioQueryPageStudiosMedia)
anisearch-bot/src/commands/search/studio.rs:128
↓ 1 callersFunctionextract_staff_roles
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:167
↓ 1 callersFunctionextract_synonyms
(data: &CharacterQueryPageCharacters)
anisearch-bot/src/commands/search/character.rs:155
↓ 1 callersFunctionextract_synonyms
(data: &StaffQueryPageStaff)
anisearch-bot/src/commands/search/staff.rs:146
↓ 1 callersFunctionformat_duration_secs
(duration: Duration)
anisearch-bot/src/utils/format.rs:74
↓ 1 callersFunctionformat_episodes
(data: &MediaQueryPageMedia)
anisearch-bot/src/commands/search/anime.rs:158
↓ 1 callersFunctionformat_next_airing_time
(airing_at: i64)
anisearch-bot/src/commands/search/anime.rs:176
↓ 1 callersFunctionformat_title
(romaji: Option<&String>, english: Option<&String>)
anisearch-bot/src/commands/search/anime.rs:143
↓ 1 callersMethodgenres_autocomplete
(&self, genre: String)
anisearch-bot/src/services/anilist/mod.rs:390
↓ 1 callersFunctionget_execution_time
(ctx: Context<'_>)
anisearch-bot/src/events.rs:229
↓ 1 callersMethodgo_to_first_page
(&mut self)
anisearch-bot/src/components/paginate.rs:186
↓ 1 callersMethodgo_to_last_page
(&mut self)
anisearch-bot/src/components/paginate.rs:202
↓ 1 callersMethodgo_to_next_page
(&mut self)
anisearch-bot/src/components/paginate.rs:196
↓ 1 callersMethodgo_to_page
(&mut self, page: usize)
anisearch-bot/src/components/paginate.rs:180
↓ 1 callersMethodgo_to_previous_page
(&mut self)
anisearch-bot/src/components/paginate.rs:190
↓ 1 callersMethodhandle_guild_join
(&self, id: GuildId, name: String)
anisearch-bot/src/events.rs:71
↓ 1 callersMethodhandle_guild_leave
(&self, id: GuildId)
anisearch-bot/src/events.rs:79
↓ 1 callersFunctionhandle_interaction_collector
( serenity_ctx: SerenityContext, ctx_id: u64, timeout: Duration, author_id: UserId, custom
anisearch-bot/src/components/paginate.rs:216
↓ 1 callersMethodhandle_ready
(&self, ctx: &SerenityContext, data_about_bot: &Ready)
anisearch-bot/src/events.rs:51
↓ 1 callersFunctioninit
()
anisearch-bot/src/main.rs:65
↓ 1 callersFunctioninit
()
anisearch-web/src/main.rs:44
↓ 1 callersMethodinsert
(&mut self, word: &str)
anisearch-bot/src/services/anilist/trie.rs:28
↓ 1 callersMethodinsert
(lock: &RwLock<Trie>, words: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:35
↓ 1 callersMethodinsert_anime_titles
(&self, titles: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:63
↓ 1 callersMethodinsert_character_names
(&self, names: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:71
↓ 1 callersMethodinsert_genres
(&self, genres: Vec<String>)
anisearch-bot/src/services/anilist/cache.rs:111
next →1–100 of 219, ranked by callers