Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Discord-TTS/Bot
/ functions
Functions
274 in github.com/Discord-TTS/Bot
⨍
Functions
274
◇
Types & classes
75
Function
avatar
(ctx: Context<'_>, new_avatar: Option<serenity::Attachment>)
tts_commands/src/settings/mod.rs:1284
Function
bot_ban
(ctx: Context<'_>, user: serenity::UserId, value: bool)
tts_commands/src/settings/owner.rs:16
Method
bots_on_discord_data
(&self, bot_id: UserId, guild_count: usize)
tts_tasks/src/bot_list_updater.rs:71
Function
command_prefix
( ctx: Context<'_>, #[description = "The prefix to be used before commands"] #[rest] prefix: S
tts_commands/src/settings/mod.rs:798
Function
commands
()
tts_commands/src/other.rs:337
Function
commands
()
tts_commands/src/help.rs:241
Function
commands
()
tts_commands/src/owner.rs:494
Function
commands
()
tts_commands/src/main_.rs:353
Function
commands
()
tts_commands/src/premium.rs:289
Function
commands
()
tts_commands/src/settings/mod.rs:1334
Method
compact
(self)
tts_core/src/database_models.rs:89
Function
deactivate
( ctx: Context<'_>, #[autocomplete = "premium_guild_autocomplete"] server: serenity::GuildId, )
tts_commands/src/premium.rs:219
Method
default
()
tts_core/src/voice/mod.rs:38
Method
deref
(&self)
tts_tasks/src/logging.rs:162
Function
deserialize_error_code
( deserializer: D, )
tts_core/src/structs.rs:617
Method
discord_bots_gg_data
( &self, bot_id: UserId, guild_count: usize, shard_count: NonZeroU16, )
tts_tasks/src/bot_list_updater.rs:54
Method
dispatch
(&self, ctx: &serenity::Context, event: &serenity::FullEvent)
tts_events/src/lib.rs:27
Method
extra_size
(&self)
tts_core/src/database.rs:161
Method
fake
()
tts_core/src/structs.rs:142
Function
fetch_translation_languages
( reqwest: &reqwest::Client, mut tts_service: reqwest::Url, )
src/startup.rs:65
Function
fetch_voices
( reqwest: &reqwest::Client, mut tts_service: reqwest::Url, mode: TTSMode, )
src/startup.rs:47
Method
filter_event
( &self, _: &serenity::Context, mut event: Box<serenity::Event>, )
tts_events/src/lib.rs:89
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
tts_core/src/structs.rs:239
Method
from
(mode: TTSModeChoice)
tts_core/src/structs.rs:569
Function
generic_bool_command
( ctx: Context<'_>, key: &'static str, value: Option<bool>, resp: &'static str, )
tts_commands/src/settings/mod.rs:421
Function
get_db_info
( name: &'static str, handler: &database::Handler<CacheKey, RowT>, )
tts_commands/src/owner.rs:181
Function
get_webhooks
( http: &serenity::Http, webhooks_raw: WebhookConfigRaw, )
src/startup.rs:21
Function
gtts_disabled
(ctx: Context<'_>, value: bool)
tts_commands/src/settings/owner.rs:36
Function
guild
(ctx: Context<'_>, guild: i64)
tts_commands/src/owner.rs:44
Function
guild_voice
(ctx: Context<'_>, guild: i64, mode: TTSModeChoice)
tts_commands/src/owner.rs:58
Function
handle
(ctx: &serenity::Context, new_message: &serenity::Message)
tts_events/src/message.rs:13
Function
info
(ctx: Context<'_>)
tts_commands/src/owner.rs:133
Method
init
(http: Arc<Http>, normal_logs: Webhook, error_logs: Webhook)
tts_tasks/src/logging.rs:36
Function
interaction_create
( ctx: &serenity::Context, interaction: &serenity::Interaction, )
tts_core/src/errors.rs:488
Function
list
(ctx: Context<'_>)
tts_commands/src/premium.rs:174
Method
loop_func
(&self)
tts_tasks/src/web_updater.rs:48
Method
loop_func
(&self)
tts_tasks/src/bot_list_updater.rs:85
Method
loop_func
(&self)
tts_tasks/src/analytics.rs:12
Function
main
()
src/main.rs:28
Function
mode
( ctx: Context<'_>, #[description = "The TTS Mode to change to, leave blank for server default"] mode:
tts_commands/src/settings/mod.rs:1007
Function
msg_length
( ctx: Context<'_>, #[description = "Max length of TTS message in seconds"] seconds: u8, )
tts_commands/src/settings/mod.rs:862
Method
new
( ctx: Context<'a>, pages: Box<[String]>, current_voice: String, mode: TTSMode
tts_commands/src/settings/voice_paginator/mod.rs:21
Method
new
(pages: Box<[String]>)
tts_commands/src/settings/voice_paginator/cursor.rs:12
Method
new
()
tts_core/src/structs.rs:179
Method
new
( pool: sqlx::PgPool, select: &'static str, delete: &'static str, create_row:
tts_core/src/database.rs:64
Method
new
(pool: sqlx::PgPool)
tts_core/src/analytics.rs:18
Method
new
( reqwest: reqwest::Client, cache: Arc<serenity::cache::Cache>, tokens: BotListTokens,
tts_tasks/src/bot_list_updater.rs:25
Function
nick
( ctx: Context<'_>, #[description = "The user to set the nick for, defaults to you"] user: Option<sere
tts_commands/src/settings/mod.rs:952
Method
on_event
(&self, event: &tracing::Event<'_>, _: tracing_subscriber::layer::Context<'_, S>)
tts_tasks/src/logging.rs:127
Function
pre_command
(ctx: Context<'_>)
tts_core/src/analytics.rs:34
Function
premium_command_check
(ctx: Context<'_>)
tts_commands/src/lib.rs:44
Function
premium_guild_autocomplete
( ctx: Context<'a>, name: &'a str, )
tts_commands/src/premium.rs:259
Function
process_mention_msg
(ctx: &serenity::Context, message: &serenity::Message)
tts_events/src/message.rs:22
Function
process_tts_msg
( ctx: &serenity::Context, message: &serenity::Message, )
tts_events/src/message/tts.rs:17
Method
record_debug
(&mut self, _field: &tracing::field::Field, value: &dyn std::fmt::Debug)
tts_tasks/src/logging.rs:117
Method
record_str
(&mut self, _field: &tracing::field::Field, value: &str)
tts_tasks/src/logging.rs:121
Function
remember_to_update_analytics_query
()
tts_tasks/src/web_updater.rs:13
Function
repeated_characters
( ctx: Context<'_>, #[description = "The max repeated characters"] chars: u8, )
tts_commands/src/settings/mod.rs:830
Function
required_prefix
( ctx: Context<'_>, #[description = "The required prefix for TTS"] tts_prefix: Option<String>, )
tts_commands/src/settings/mod.rs:634
Function
required_role
( ctx: Context<'_>, #[description = "The required role for all bot usage"] required_role: Option<seren
tts_commands/src/settings/mod.rs:537
Function
rewind_after_end
()
tts_commands/src/settings/voice_paginator/cursor.rs:77
Function
rewind_off_start
()
tts_commands/src/settings/voice_paginator/cursor.rs:67
Function
server_mode
( ctx: Context<'_>, #[description = "The TTS Mode to change to"] mode: Option<TTSModeChoice>, )
tts_commands/src/settings/mod.rs:676
Function
server_voice
( ctx: Context<'_>, #[description = "The default voice to read messages in"] #[autocomplete = "voi
tts_commands/src/settings/mod.rs:719
Function
setup_ws_stream
( tts_services: &[TTSServiceConfig], )
src/startup.rs:124
Function
show_channel_select_menu
( ctx: Context<'_>, bot_member: &serenity::Member, )
tts_commands/src/settings/setup.rs:84
Function
speaking_rate
( ctx: Context<'_>, #[description = "The speed to speak at"] #[min = 0] #[max = 400.0] spe
tts_commands/src/settings/mod.rs:901
Method
top_gg_data
( &self, bot_id: UserId, guild_count: usize, shard_count: NonZeroU16, )
tts_tasks/src/bot_list_updater.rs:37
Function
translation_lang
( ctx: Context<'_>, #[description = "The language to translate all TTS messages to"] #[autocomplet
tts_commands/src/settings/mod.rs:756
Function
translation_languages_autocomplete
( ctx: ApplicationContext<'a>, searching: &'a str, )
tts_commands/src/settings/mod.rs:253
Function
user
(ctx: Context<'_>, user: i64)
tts_commands/src/owner.rs:51
Function
user_voice
(ctx: Context<'_>, user: i64, mode: TTSModeChoice)
tts_commands/src/owner.rs:67
Function
voice
( ctx: Context<'_>, #[description = "The voice to read messages in, leave blank to reset"] #[autoc
tts_commands/src/settings/mod.rs:1051
Function
voice_autocomplete
( ctx: ApplicationContext<'a>, searching: &'a str, )
tts_commands/src/settings/mod.rs:192
← previous
201–274 of 274, ranked by callers