MCPcopy Create free account
hub / github.com/Discord-TTS/Bot / build_invite_components

Function build_invite_components

tts_core/src/common.rs:17–41  ·  view source on GitHub ↗

Builds components for invite command and invite link in DMs This has to allocate internally due to lifetime issues with trying CPS.

(
    bot_id: serenity::UserId,
    main_server_invite: &str,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

inviteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected