MCPcopy Create free account

hub / github.com/Jacherr/assyst2 / functions

Functions764 in github.com/Jacherr/assyst2

Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
assyst-core/src/command/mod.rs:81
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
assyst-core/src/command/arguments.rs:918
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
assyst-core/src/gateway_handler/message_parser/error.rs:26
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
assyst-core/src/rest/web_media_download.rs:65
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
assyst-core/src/rest/bad_translation.rs:21
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
assyst-string-fmt/src/markdown.rs:39
Functionfortunecookie
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/makesweet.rs:138
Functionframes
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:176
Functionframeshift
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:206
Methodfrom
(err: E)
assyst-webserver/src/lib.rs:48
Methodfrom
(value: Ready)
assyst-common/src/cache/mod.rs:37
Methodfrom
(v: reqwest::Error)
assyst-core/src/command/errors.rs:133
Methodfrom
(value: Image)
assyst-core/src/command/messagebuilder.rs:14
Methodfrom
(v: String)
assyst-core/src/command/mod.rs:190
Methodfrom
(value: PreParseError)
assyst-core/src/gateway_handler/message_parser/error.rs:80
Methodfrom
(val: PatronTier)
assyst-core/src/rest/patreon.rs:29
Methodfrom_attachment_interaction_command
( ctxt: &mut InteractionCommandParseCtxt<'_>, label: Label, )
assyst-core/src/command/arguments.rs:718
Methodfrom_attachment_raw_message
(ctxt: &mut RawMessageParseCtxt<'_>, _: Label)
assyst-core/src/command/arguments.rs:714
Methodfrom_channel_history
Defined separately without a CommandCtxt because it is also used elsewhere where we don't have one (and this also doesn't need it)
assyst-core/src/command/arguments.rs:887
Methodfrom_download_flags
(flags: DownloadFlags, urls: Vec<CobaltApiInstance>)
assyst-core/src/rest/web_media_download.rs:27
Methodfrom_emoji_command_option
( ctxt: &mut InteractionCommandParseCtxt<'_>, label: Label, )
assyst-core/src/command/arguments.rs:852
Methodfrom_emoji_raw_message
(ctxt: &mut RawMessageParseCtxt<'_>, label: Label)
assyst-core/src/command/arguments.rs:847
Methodfrom_link_interaction_command
( ctxt: &mut InteractionCommandParseCtxt<'_>, label: Label, )
assyst-core/src/command/arguments.rs:736
Methodfrom_mention_command_option
( ctxt: &mut InteractionCommandParseCtxt<'_>, label: Label, )
assyst-core/src/command/arguments.rs:645
Methodfrom_mention_raw_message
(ctxt: &mut RawMessageParseCtxt<'_>, label: Label)
assyst-core/src/command/arguments.rs:624
Methodfrom_parent
Creates a parser with shared state from the parent parser The returned parser shares the same limits and variables with `other`
assyst-tag/src/parser.rs:156
Methodfrom_parent_with_args
Creates a parser with shared state from the parent parser. Allows changing the args for this specific parser The returned parser shares the same limi
assyst-tag/src/parser.rs:164
Methodfrom_reply
This only exists for raw message
assyst-core/src/command/arguments.rs:753
Methodfrom_sticker
This only exists for raw message
assyst-core/src/command/arguments.rs:881
Methodfrom_str
(input: &str)
assyst-core/src/command/image/caption.rs:50
Methodfrom_str
(input: &str)
assyst-core/src/command/image/bloom.rs:21
Methodfrom_str
(input: &str)
assyst-core/src/command/image/speechbubble.rs:47
Methodfrom_str
(input: &str)
assyst-core/src/command/fun/colour.rs:425
Methodfrom_str
(input: &str)
assyst-core/src/command/fun/translation.rs:24
Methodfrom_str
(input: &str)
assyst-core/src/command/services/download.rs:35
Methodfrom_str
(input: &str)
assyst-core/src/command/misc/tag.rs:396
Methodfrom_str
(input: &str)
assyst-core/src/command/misc/run.rs:41
Methodfrom_url_argument_command_option
( ctxt: &mut InteractionCommandParseCtxt<'_>, label: Label, )
assyst-core/src/command/arguments.rs:689
Methodfrom_url_argument_raw_message
( ctxt: &mut RawMessageParseCtxt<'_>, label: Label, )
assyst-core/src/command/arguments.rs:676
Functiongenerate_table
Generates a table given a list of tuples containing strings
assyst-common/src/util/table.rs:29
Methodget
(handler: &DatabaseHandler, guild_id: u64)
assyst-database/src/model/prefix.rs:27
Methodget_all
(handler: &DatabaseHandler)
assyst-database/src/model/badtranslator_channel.rs:9
Methodget_all
(handler: &DatabaseHandler)
assyst-database/src/model/active_guild_premium_entitlement.rs:57
Methodget_avatar
(&self, user_id: Option<u64>)
assyst-core/src/command/misc/tag.rs:1087
Methodget_command_usage_stats
(handler: &DatabaseHandler)
assyst-database/src/model/command_usage.rs:9
Methodget_count_for_user
( handler: &DatabaseHandler, guild_id: i64, user_id: i64, )
assyst-database/src/model/tag.rs:166
Methodget_count_in_guild
(handler: &DatabaseHandler, guild_id: i64)
assyst-database/src/model/tag.rs:158
Functionget_filer_stats
(client: &Client)
assyst-core/src/rest/filer.rs:12
Methodget_for_user
(handler: &DatabaseHandler, guild_id: i64, user_id: i64)
assyst-database/src/model/tag.rs:148
Functionget_guild_owner
Attempts to resolve a guild's owner's user ID
assyst-common/src/util/discord.rs:14
Functionget_klipy_gif_from_klipy_url
(client: &Client, url: &str)
assyst-core/src/rest/klipy.rs:70
Methodget_last_attachment
(&self)
assyst-core/src/command/misc/tag.rs:1079
Methodget_names_in_guild
( handler: &DatabaseHandler, guild_id: i64, )
assyst-database/src/model/tag.rs:108
Functionget_next_proxy
()
assyst-core/src/downloader.rs:40
Methodget_paged
( handler: &DatabaseHandler, guild_id: i64, offset: i64, limit: i64, )
assyst-database/src/model/tag.rs:92
Methodget_paged_for_user
( handler: &DatabaseHandler, guild_id: i64, user_id: i64, offset: i64,
assyst-database/src/model/tag.rs:129
Functionget_premium_users
Synchronises Assyst with an updated list of patrons.
assyst-core/src/task/tasks/get_premium_users.rs:9
Methodget_tag_contents
(&self, tag: &str)
assyst-core/src/command/misc/tag.rs:1137
Methodget_user_free_tier_2_requests
( handler: &DatabaseHandler, user_id: u64, )
assyst-database/src/model/free_tier_2_requests.rs:32
Methodget_user_votes
(handler: &DatabaseHandler, user_id: u64)
assyst-database/src/model/user_votes.rs:14
Functionghost
(ctxt: CommandCtxt<'_>, source: Image, depth: Option<u64>)
assyst-core/src/command/image/mod.rs:226
Functiongif
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:251
Functiongifmagik
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:272
Functionglobe
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:292
Functiongrayscale
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:313
Methodgroup_as_option_tree
(&self, subcommands: &'static [(&'static str, TCommand)])
assyst-core/src/command/mod.rs:126
Methodguild_id
(&self)
assyst-tag/src/context.rs:59
Functionhandle
(assyst: ThreadSafeAssyst, event: EntitlementCreate)
assyst-core/src/gateway_handler/event_handlers/entitlement_create.rs:12
Functionhandle
Handle a [`MessageDelete`] event received from the Discord gateway. This function checks if the deleted message was one that invoked an Assyst comman
assyst-core/src/gateway_handler/event_handlers/message_delete.rs:12
Functionhandle
Handle a [`MessageUpdate`] event sent from the Discord gateway. Message updates are used to check the following: 1. A message was edited into a comma
assyst-core/src/gateway_handler/event_handlers/message_update.rs:26
Functionhandle
(assyst: ThreadSafeAssyst, event: ChannelUpdate)
assyst-core/src/gateway_handler/event_handlers/channel_update.rs:6
Functionhandle
(assyst: ThreadSafeAssyst, event: EntitlementUpdate)
assyst-core/src/gateway_handler/event_handlers/entitlement_update.rs:12
Functionhandle
(assyst: ThreadSafeAssyst, InteractionCreate(interaction): InteractionCreate)
assyst-core/src/gateway_handler/event_handlers/interaction_create.rs:42
Functionhandle
Handle a [`MessageCreate`] event received from the Discord gateway. This function passes the message to the command parser, which then attempts to co
assyst-core/src/gateway_handler/event_handlers/message_create.rs:20
Functionhandle
(assyst: ThreadSafeAssyst, event: GuildDelete)
assyst-core/src/gateway_handler/event_handlers/guild_delete.rs:7
Functionhandle
(assyst: ThreadSafeAssyst, event: GuildUpdate)
assyst-core/src/gateway_handler/event_handlers/guild_update.rs:6
Functionhandle
(assyst: ThreadSafeAssyst, event: GuildCreate)
assyst-core/src/gateway_handler/event_handlers/guild_create.rs:7
Functionhandle
(assyst: ThreadSafeAssyst, event: EntitlementDelete)
assyst-core/src/gateway_handler/event_handlers/entitlement_delete.rs:7
Functionhandle_reminders
(assyst: ThreadSafeAssyst)
assyst-core/src/task/tasks/reminders.rs:62
Functionheartlocket
(ctxt: CommandCtxt<'_>, source: Image, text: RestNoFlags)
assyst-core/src/command/image/makesweet.rs:158
Functionhelp
( ctxt: CommandCtxt<'_>, #[autocomplete = "crate::command::misc::help::help_autocomplete"] labels: Opt
assyst-core/src/command/misc/help.rs:47
Functionhelp_autocomplete
(_assyst: ThreadSafeAssyst, data: AutocompleteData)
assyst-core/src/command/misc/help.rs:15
Functionidentify
(ctxt: CommandCtxt<'_>, input: ImageUrl)
assyst-core/src/command/fun/mod.rs:69
Functionidof
(_: &mut Parser<'_>, mention: Mention)
assyst-tag/src/subtags.rs:598
Functionimageinfo
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:335
Methodincrement
(handler: &DatabaseHandler, guild_id: i64)
assyst-database/src/model/badtranslator_messages.rs:8
Methodincrement_user_votes
( handler: &DatabaseHandler, user_id: u64, username: &str, discriminator: &str
assyst-database/src/model/user_votes.rs:25
Functioninfo
( ctxt: CommandCtxt<'_>, #[autocomplete = "crate::command::misc::tag::tag_names_autocomplete"] name: W
assyst-core/src/command/misc/tag.rs:601
Functioninfo
(ctxt: CommandCtxt<'_>)
assyst-core/src/command/misc/mod.rs:155
Methodinit_pipe
(mut rx: UnboundedReceiver<CacheJobSend>, path: &str)
assyst-core/src/persistent_cache_handler/mod.rs:23
Methodinsert
Inser a new colour role.
assyst-database/src/model/colour_role.rs:26
Methodinto_response
(self)
assyst-webserver/src/lib.rs:33
Functioninvert
(ctxt: CommandCtxt<'_>, source: Image)
assyst-core/src/command/image/mod.rs:391
Functioninvite
(ctxt: CommandCtxt<'_>)
assyst-core/src/command/misc/mod.rs:253
Methodis_blacklisted
(handler: &DatabaseHandler, user_id: u64)
assyst-database/src/model/global_blacklist.rs:8
Methodis_disabled
(&self, handler: &DatabaseHandler)
assyst-database/src/model/guild_disabled_command.rs:11
Methodis_video
(&self)
assyst-common/src/util/filetype.rs:40
Methoditalics
(&self)
assyst-string-fmt/src/markdown.rs:110
Functionjavascript
(parser: &mut Parser<'_>, code: String)
assyst-tag/src/subtags.rs:538
Functionjpeg
(ctxt: CommandCtxt<'_>, source: Image, quality: Option<u64>)
assyst-core/src/command/image/mod.rs:412
← previousnext →501–600 of 764, ranked by callers