Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jacherr/assyst2
/ functions
Functions
764 in github.com/Jacherr/assyst2
⨍
Functions
764
◇
Types & classes
199
↓ 2 callers
Function
ensure_same_guild
(client: &Client, channel_id: u64, guild_id: u64)
assyst-common/src/util/discord.rs:119
↓ 2 callers
Function
exec_sync_in_dir
Executes a bash command
assyst-common/src/util/process.rs:153
↓ 2 callers
Function
fake_eval
( client: &Client, code: String, accept_image: bool, message: Option<&Message>, args: Vec<
assyst-core/src/rest/eval.rs:8
↓ 2 callers
Method
fg_green
(&self)
assyst-string-fmt/src/ansi.rs:64
↓ 2 callers
Function
format_tag
(user: &User)
assyst-common/src/util/discord.rs:62
↓ 2 callers
Function
generate_list_fixed_delim
Generates a list given a list of tuples containing strings
assyst-common/src/util/table.rs:53
↓ 2 callers
Function
get_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 callers
Function
get_general_stats
(ctxt: &CommandCtxt<'_>)
assyst-core/src/command/misc/stats.rs:112
↓ 2 callers
Function
get_languages
(client: &Client)
assyst-core/src/rest/bad_translation.rs:126
↓ 2 callers
Function
get_process_stats
()
assyst-core/src/command/misc/stats.rs:41
↓ 2 callers
Function
get_processes_mem_usage
()
assyst-common/src/util/process.rs:25
↓ 2 callers
Method
get_raw_message
(&self, id: u64)
assyst-core/src/replies.rs:61
↓ 2 callers
Function
get_session_stats
(ctxt: &CommandCtxt<'_>)
assyst-core/src/command/misc/stats.rs:74
↓ 2 callers
Method
get_severity
(&self)
assyst-core/src/command/errors.rs:21
↓ 2 callers
Function
get_storage_stats
(ctxt: &CommandCtxt<'_>)
assyst-core/src/command/misc/stats.rs:92
↓ 2 callers
Function
get_uptime_of
(pid: usize)
assyst-common/src/util/process.rs:78
↓ 2 callers
Method
handle_component_interaction
( &mut self, component_data: &ComponentInteractionData, )
assyst-core/src/command/componentctxt.rs:47
↓ 2 callers
Method
insert_interaction_command
(&self, id: u64)
assyst-core/src/replies.rs:65
↓ 2 callers
Method
limits
(&mut self, limits: &LimitData)
assyst-flux-iface/src/flux_request.rs:56
↓ 2 callers
Function
normalize_emojis
(input: &str)
assyst-common/src/util/mod.rs:164
↓ 2 callers
Function
normalize_mentions
(input: &'a str, mentions: &[Mention])
assyst-common/src/util/mod.rs:169
↓ 2 callers
Function
parse_codeblock
(input: String)
assyst-string-fmt/src/markdown.rs:154
↓ 2 callers
Function
parse_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 callers
Function
parse_subcommand_data
(data: &DiscordCommandData)
assyst-core/src/gateway_handler/event_handlers/interaction_create.rs:32
↓ 2 callers
Function
parse_to_millis
Parses a string such as 2h1m20s to milliseconds
assyst-common/src/util/mod.rs:51
↓ 2 callers
Function
read_stream
(mut stream: S, limit: usize)
assyst-core/src/downloader.rs:81
↓ 2 callers
Method
recover_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 callers
Method
remove_raw_message
(&self, id: u64)
assyst-core/src/replies.rs:57
↓ 2 callers
Method
resize_scale
(&self, media: Vec<u8>, scale: f32, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:501
↓ 2 callers
Method
reverse
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:515
↓ 2 callers
Method
rng
(&mut self)
assyst-tag/src/parser.rs:536
↓ 2 callers
Function
run
( client: &Client, code: &str, channel: Option<&str>, mode: Option<&str>, edition: Option<
assyst-core/src/rest/rust.rs:120
↓ 2 callers
Function
run_binary
( client: &Client, code: &str, channel: &str, opt: OptimizationLevel, )
assyst-core/src/rest/rust.rs:175
↓ 2 callers
Method
set_command_disabled
(&self, guild_id: u64, command: &str)
assyst-database/src/cache.rs:80
↓ 2 callers
Method
set_prefix
(&self, guild_id: u64, prefix: Prefix)
assyst-database/src/cache.rs:54
↓ 2 callers
Function
sig
(that: &[u8], eq: &[u8])
assyst-common/src/util/filetype.rs:52
↓ 2 callers
Method
size_of
(&self)
assyst-core/src/rest/rest_cache_handler.rs:47
↓ 2 callers
Function
trim_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 callers
Function
try_increment
(field_cell: &Cell<u32>, limit: u32)
assyst-tag/src/parser.rs:25
↓ 2 callers
Method
update
Updates some metrics that are not updated as data comes in.
assyst-common/src/metrics_handler.rs:46
↓ 2 callers
Method
update_cache_size
(&self, cache: &str, size: usize)
assyst-common/src/metrics_handler.rs:41
↓ 2 callers
Method
user_id
(&self)
assyst-tag/src/context.rs:63
↓ 2 callers
Method
user_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 callers
Method
visit_type
(&mut self, i: &'ast syn::Type)
assyst-proc-macro/src/lib.rs:108
↓ 2 callers
Method
with_variables_mut
Calls `f` with a mutable reference to the user defined variables
assyst-tag/src/parser.rs:63
↓ 1 callers
Method
add_channel
(&self, id: Snowflake, language: &str)
assyst-core/src/bad_translator.rs:75
↓ 1 callers
Method
add_command
(&self)
assyst-common/src/metrics_handler.rs:95
↓ 1 callers
Method
add_event
(&self)
assyst-common/src/metrics_handler.rs:86
↓ 1 callers
Method
add_individual_command_usage
(&self, command_name: &'static str)
assyst-common/src/metrics_handler.rs:104
↓ 1 callers
Method
ahshit
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:40
↓ 1 callers
Method
aprilfools
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:48
↓ 1 callers
Method
as_mime
(&self)
assyst-common/src/util/filetype.rs:28
↓ 1 callers
Method
back_tattoo
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:56
↓ 1 callers
Function
bad_translate_target
( client: &Client, text: &str, target: &str, )
assyst-core/src/rest/bad_translation.rs:106
↓ 1 callers
Function
bad_translate_with_count
( client: &Client, text: &str, count: u32, )
assyst-core/src/rest/bad_translation.rs:114
↓ 1 callers
Method
billboard
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:64
↓ 1 callers
Method
bloom
( &self, media: Vec<u8>, radius: Option<u64>, sharpness: Option<u64>,
assyst-flux-iface/src/jobs.rs:72
↓ 1 callers
Method
blur
(&self, media: Vec<u8>, power: Option<f32>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:102
↓ 1 callers
Method
book
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:118
↓ 1 callers
Function
burn_text
(text: &str)
assyst-core/src/rest/cooltext.rs:15
↓ 1 callers
Method
caption
( &self, media: Vec<u8>, text: String, bottom: bool, black: bool,
assyst-flux-iface/src/jobs.rs:126
↓ 1 callers
Method
channel_id
(&self)
assyst-tag/src/context.rs:55
↓ 1 callers
Method
channel_is_age_restricted
(&self, channel_id: u64)
assyst-core/src/rest/rest_cache_handler.rs:102
↓ 1 callers
Function
channel_mention_to_id
(s: &str)
assyst-common/src/util/discord.rs:96
↓ 1 callers
Function
check_mp4
(that: &[u8])
assyst-common/src/util/filetype.rs:61
↓ 1 callers
Function
check_webp
(that: &[u8])
assyst-common/src/util/filetype.rs:56
↓ 1 callers
Method
circuitboard
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:154
↓ 1 callers
Function
clippy
( client: &Client, code: &str, channel: Option<&str>, opt: OptimizationLevel, )
assyst-core/src/rest/rust.rs:141
↓ 1 callers
Method
component_callback
(&mut self, data: &ComponentInteractionData)
assyst-core/src/command/misc/tag.rs:205
↓ 1 callers
Method
connect
Connect to a specific file descriptor.
assyst-common/src/pipe/mod.rs:28
↓ 1 callers
Function
convert_message_update_to_message
yuck
assyst-core/src/gateway_handler/event_handlers/message_update.rs:104
↓ 1 callers
Function
cooltext
(style: &str, text: &str)
assyst-core/src/rest/cooltext.rs:65
↓ 1 callers
Function
cpu_usage_percentage_of
(pid: usize)
assyst-common/src/util/process.rs:40
↓ 1 callers
Function
create_message
(ctxt: &CommandCtxt<'_>, builder: MessageBuilder)
assyst-core/src/gateway_handler/reply.rs:117
↓ 1 callers
Method
database_size
(&self)
assyst-database/src/lib.rs:47
↓ 1 callers
Method
dec_guilds
(&self)
assyst-common/src/metrics_handler.rs:81
↓ 1 callers
Method
deepfry
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:162
↓ 1 callers
Function
default
( ctxt: CommandCtxt<'_>, #[autocomplete = "crate::command::services::cooltext::cooltext_options_autoco
assyst-core/src/command/services/cooltext.rs:27
↓ 1 callers
Method
delete_bt_channel
(&self, assyst: &Assyst, id: &Id<ChannelMarker>)
assyst-core/src/bad_translator.rs:155
↓ 1 callers
Method
download
(&self, _url: &str)
assyst-tag/src/context.rs:51
↓ 1 callers
Function
download_no_proxy
( client: &Client, url: &str, )
assyst-core/src/downloader.rs:68
↓ 1 callers
Function
download_with_proxy
( client: &Client, url: &str, limit: usize, )
assyst-core/src/downloader.rs:47
↓ 1 callers
Method
drip
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:170
↓ 1 callers
Function
edit
(ctxt: &CommandCtxt<'_>, builder: MessageBuilder, reply: ReplyInUse)
assyst-core/src/gateway_handler/reply.rs:75
↓ 1 callers
Method
enable
(&self, handler: &DatabaseHandler)
assyst-database/src/model/guild_disabled_command.rs:35
↓ 1 callers
Method
escape_codeblock
(&self, language: impl Display)
assyst-string-fmt/src/markdown.rs:84
↓ 1 callers
Method
execute_javascript
(&self, _code: &str, _args: Vec<String>)
assyst-tag/src/context.rs:39
↓ 1 callers
Method
expect_closing_brace
(&mut self)
assyst-tag/src/parser.rs:443
↓ 1 callers
Function
extract_page_title
Attempts to extract the page title for charingo
assyst-core/src/rest/charinfo.rs:12
↓ 1 callers
Method
femurbreaker
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:178
↓ 1 callers
Method
fg_black
(&self)
assyst-string-fmt/src/ansi.rs:58
↓ 1 callers
Method
fg_blue
(&self)
assyst-string-fmt/src/ansi.rs:70
↓ 1 callers
Function
find_subcommand
(sub: &str, cmds: &[(&str, TCommand)])
assyst-core/src/command/group.rs:227
↓ 1 callers
Function
find_subcommand_interaction_command
(sub: &str, cmds: &[(&str, TCommand)])
assyst-core/src/command/group.rs:252
↓ 1 callers
Method
fisheye
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:186
↓ 1 callers
Method
flag
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:194
↓ 1 callers
Method
flag2
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:202
↓ 1 callers
Method
flip
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:210
↓ 1 callers
Method
flop
(&self, media: Vec<u8>, user_id: u64, guild_id: Option<u64>)
assyst-flux-iface/src/jobs.rs:218
↓ 1 callers
Method
fork
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
← previous
next →
101–200 of 764, ranked by callers