MCPcopy Create free account

hub / github.com/Jacherr/assyst2 / functions

Functions764 in github.com/Jacherr/assyst2

↓ 2 callersFunctionensure_same_guild
(client: &Client, channel_id: u64, guild_id: u64)
assyst-common/src/util/discord.rs:119
↓ 2 callersFunctionexec_sync_in_dir
Executes a bash command
assyst-common/src/util/process.rs:153
↓ 2 callersFunctionfake_eval
( client: &Client, code: String, accept_image: bool, message: Option<&Message>, args: Vec<
assyst-core/src/rest/eval.rs:8
↓ 2 callersMethodfg_green
(&self)
assyst-string-fmt/src/ansi.rs:64
↓ 2 callersFunctionformat_tag
(user: &User)
assyst-common/src/util/discord.rs:62
↓ 2 callersFunctiongenerate_list_fixed_delim
Generates a list given a list of tuples containing strings
assyst-common/src/util/table.rs:53
↓ 2 callersFunctionget_filer_url
Gets the Filer URL for this attachment if it exceeds the guild's upload limit.
assyst-core/src/gateway_handler/reply.rs:38
↓ 2 callersFunctionget_general_stats
(ctxt: &CommandCtxt<'_>)
assyst-core/src/command/misc/stats.rs:112
↓ 2 callersFunctionget_languages
(client: &Client)
assyst-core/src/rest/bad_translation.rs:126
↓ 2 callersFunctionget_process_stats
()
assyst-core/src/command/misc/stats.rs:41
↓ 2 callersFunctionget_processes_mem_usage
()
assyst-common/src/util/process.rs:25
↓ 2 callersMethodget_raw_message
(&self, id: u64)
assyst-core/src/replies.rs:61
↓ 2 callersFunctionget_session_stats
(ctxt: &CommandCtxt<'_>)
assyst-core/src/command/misc/stats.rs:74
↓ 2 callersMethodget_severity
(&self)
assyst-core/src/command/errors.rs:21
↓ 2 callersFunctionget_storage_stats
(ctxt: &CommandCtxt<'_>)
assyst-core/src/command/misc/stats.rs:92
↓ 2 callersFunctionget_uptime_of
(pid: usize)
assyst-common/src/util/process.rs:78
↓ 2 callersMethodhandle_component_interaction
( &mut self, component_data: &ComponentInteractionData, )
assyst-core/src/command/componentctxt.rs:47
↓ 2 callersMethodinsert_interaction_command
(&self, id: u64)
assyst-core/src/replies.rs:65
↓ 2 callersMethodlimits
(&mut self, limits: &LimitData)
assyst-flux-iface/src/flux_request.rs:56
↓ 2 callersFunctionnormalize_emojis
(input: &str)
assyst-common/src/util/mod.rs:164
↓ 2 callersFunctionnormalize_mentions
(input: &'a str, mentions: &[Mention])
assyst-common/src/util/mod.rs:169
↓ 2 callersFunctionparse_codeblock
(input: String)
assyst-string-fmt/src/markdown.rs:154
↓ 2 callersFunctionparse_message_into_command
Parse any generic Message object into a Command. This function takes all steps necessary to split a message into critical command components, and if
assyst-core/src/gateway_handler/message_parser/parser.rs:48
↓ 2 callersFunctionparse_subcommand_data
(data: &DiscordCommandData)
assyst-core/src/gateway_handler/event_handlers/interaction_create.rs:32
↓ 2 callersFunctionparse_to_millis
Parses a string such as 2h1m20s to milliseconds
assyst-common/src/util/mod.rs:51
↓ 2 callersFunctionread_stream
(mut stream: S, limit: usize)
assyst-core/src/downloader.rs:81
↓ 2 callersMethodrecover_parse_error
Recovers a parse error by skipping to the `}` and writing it into the buffer. You should only call this when in `ParseMode::IgnoreOnError`
assyst-tag/src/parser.rs:432
↓ 2 callersMethodremove_raw_message
(&self, id: u64)
assyst-core/src/replies.rs:57
↓ 2 callersMethodresize_scale
(&self, media: Vec<u8>, scale: f32, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:501
↓ 2 callersMethodreverse
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:515
↓ 2 callersMethodrng
(&mut self)
assyst-tag/src/parser.rs:536
↓ 2 callersFunctionrun
( client: &Client, code: &str, channel: Option<&str>, mode: Option<&str>, edition: Option<
assyst-core/src/rest/rust.rs:120
↓ 2 callersFunctionrun_binary
( client: &Client, code: &str, channel: &str, opt: OptimizationLevel, )
assyst-core/src/rest/rust.rs:175
↓ 2 callersMethodset_command_disabled
(&self, guild_id: u64, command: &str)
assyst-database/src/cache.rs:80
↓ 2 callersMethodset_prefix
(&self, guild_id: u64, prefix: Prefix)
assyst-database/src/cache.rs:54
↓ 2 callersFunctionsig
(that: &[u8], eq: &[u8])
assyst-common/src/util/filetype.rs:52
↓ 2 callersMethodsize_of
(&self)
assyst-core/src/rest/rest_cache_handler.rs:47
↓ 2 callersFunctiontrim_content_fits
Trims a `String` in-place such that it fits in Discord's 2000 character message limit.
assyst-core/src/gateway_handler/reply.rs:20
↓ 2 callersFunctiontry_increment
(field_cell: &Cell<u32>, limit: u32)
assyst-tag/src/parser.rs:25
↓ 2 callersMethodupdate
Updates some metrics that are not updated as data comes in.
assyst-common/src/metrics_handler.rs:46
↓ 2 callersMethodupdate_cache_size
(&self, cache: &str, size: usize)
assyst-common/src/metrics_handler.rs:41
↓ 2 callersMethoduser_id
(&self)
assyst-tag/src/context.rs:63
↓ 2 callersMethoduser_is_guild_manager
Checks if a user is a guild manager, i.e., owns the server, has Administrator, or has Manage Server permissions.
assyst-core/src/rest/rest_cache_handler.rs:146
↓ 2 callersMethodvisit_type
(&mut self, i: &'ast syn::Type)
assyst-proc-macro/src/lib.rs:108
↓ 2 callersMethodwith_variables_mut
Calls `f` with a mutable reference to the user defined variables
assyst-tag/src/parser.rs:63
↓ 1 callersMethodadd_channel
(&self, id: Snowflake, language: &str)
assyst-core/src/bad_translator.rs:75
↓ 1 callersMethodadd_command
(&self)
assyst-common/src/metrics_handler.rs:95
↓ 1 callersMethodadd_event
(&self)
assyst-common/src/metrics_handler.rs:86
↓ 1 callersMethodadd_individual_command_usage
(&self, command_name: &'static str)
assyst-common/src/metrics_handler.rs:104
↓ 1 callersMethodahshit
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:40
↓ 1 callersMethodaprilfools
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:48
↓ 1 callersMethodas_mime
(&self)
assyst-common/src/util/filetype.rs:28
↓ 1 callersMethodback_tattoo
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:56
↓ 1 callersFunctionbad_translate_target
( client: &Client, text: &str, target: &str, )
assyst-core/src/rest/bad_translation.rs:106
↓ 1 callersFunctionbad_translate_with_count
( client: &Client, text: &str, count: u32, )
assyst-core/src/rest/bad_translation.rs:114
↓ 1 callersMethodbillboard
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:64
↓ 1 callersMethodbloom
( &self, media: Vec<u8>, radius: Option<u64>, sharpness: Option<u64>,
assyst-flux-iface/src/jobs.rs:72
↓ 1 callersMethodblur
(&self, media: Vec<u8>, power: Option<f32>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:102
↓ 1 callersMethodbook
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:118
↓ 1 callersFunctionburn_text
(text: &str)
assyst-core/src/rest/cooltext.rs:15
↓ 1 callersMethodcaption
( &self, media: Vec<u8>, text: String, bottom: bool, black: bool,
assyst-flux-iface/src/jobs.rs:126
↓ 1 callersMethodchannel_id
(&self)
assyst-tag/src/context.rs:55
↓ 1 callersMethodchannel_is_age_restricted
(&self, channel_id: u64)
assyst-core/src/rest/rest_cache_handler.rs:102
↓ 1 callersFunctionchannel_mention_to_id
(s: &str)
assyst-common/src/util/discord.rs:96
↓ 1 callersFunctioncheck_mp4
(that: &[u8])
assyst-common/src/util/filetype.rs:61
↓ 1 callersFunctioncheck_webp
(that: &[u8])
assyst-common/src/util/filetype.rs:56
↓ 1 callersMethodcircuitboard
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:154
↓ 1 callersFunctionclippy
( client: &Client, code: &str, channel: Option<&str>, opt: OptimizationLevel, )
assyst-core/src/rest/rust.rs:141
↓ 1 callersMethodcomponent_callback
(&mut self, data: &ComponentInteractionData)
assyst-core/src/command/misc/tag.rs:205
↓ 1 callersMethodconnect
Connect to a specific file descriptor.
assyst-common/src/pipe/mod.rs:28
↓ 1 callersFunctionconvert_message_update_to_message
yuck
assyst-core/src/gateway_handler/event_handlers/message_update.rs:104
↓ 1 callersFunctioncooltext
(style: &str, text: &str)
assyst-core/src/rest/cooltext.rs:65
↓ 1 callersFunctioncpu_usage_percentage_of
(pid: usize)
assyst-common/src/util/process.rs:40
↓ 1 callersFunctioncreate_message
(ctxt: &CommandCtxt<'_>, builder: MessageBuilder)
assyst-core/src/gateway_handler/reply.rs:117
↓ 1 callersMethoddatabase_size
(&self)
assyst-database/src/lib.rs:47
↓ 1 callersMethoddec_guilds
(&self)
assyst-common/src/metrics_handler.rs:81
↓ 1 callersMethoddeepfry
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:162
↓ 1 callersFunctiondefault
( ctxt: CommandCtxt<'_>, #[autocomplete = "crate::command::services::cooltext::cooltext_options_autoco
assyst-core/src/command/services/cooltext.rs:27
↓ 1 callersMethoddelete_bt_channel
(&self, assyst: &Assyst, id: &Id<ChannelMarker>)
assyst-core/src/bad_translator.rs:155
↓ 1 callersMethoddownload
(&self, _url: &str)
assyst-tag/src/context.rs:51
↓ 1 callersFunctiondownload_no_proxy
( client: &Client, url: &str, )
assyst-core/src/downloader.rs:68
↓ 1 callersFunctiondownload_with_proxy
( client: &Client, url: &str, limit: usize, )
assyst-core/src/downloader.rs:47
↓ 1 callersMethoddrip
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:170
↓ 1 callersFunctionedit
(ctxt: &CommandCtxt<'_>, builder: MessageBuilder, reply: ReplyInUse)
assyst-core/src/gateway_handler/reply.rs:75
↓ 1 callersMethodenable
(&self, handler: &DatabaseHandler)
assyst-database/src/model/guild_disabled_command.rs:35
↓ 1 callersMethodescape_codeblock
(&self, language: impl Display)
assyst-string-fmt/src/markdown.rs:84
↓ 1 callersMethodexecute_javascript
(&self, _code: &str, _args: Vec<String>)
assyst-tag/src/context.rs:39
↓ 1 callersMethodexpect_closing_brace
(&mut self)
assyst-tag/src/parser.rs:443
↓ 1 callersFunctionextract_page_title
Attempts to extract the page title for charingo
assyst-core/src/rest/charinfo.rs:12
↓ 1 callersMethodfemurbreaker
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:178
↓ 1 callersMethodfg_black
(&self)
assyst-string-fmt/src/ansi.rs:58
↓ 1 callersMethodfg_blue
(&self)
assyst-string-fmt/src/ansi.rs:70
↓ 1 callersFunctionfind_subcommand
(sub: &str, cmds: &[(&str, TCommand)])
assyst-core/src/command/group.rs:227
↓ 1 callersFunctionfind_subcommand_interaction_command
(sub: &str, cmds: &[(&str, TCommand)])
assyst-core/src/command/group.rs:252
↓ 1 callersMethodfisheye
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:186
↓ 1 callersMethodflag
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:194
↓ 1 callersMethodflag2
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:202
↓ 1 callersMethodflip
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:210
↓ 1 callersMethodflop
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:218
↓ 1 callersMethodfork
Cheaply forks this context. Useful for trying different combinations and throwing the fork away after failing. Also look at `commit_if_ok`.
assyst-core/src/command/mod.rs:305
← previousnext →101–200 of 764, ranked by callers