Documentation ¶
Index ¶
Constants ¶
View Source
const ( GitHubURL = "https://github.com/andersfylling/disgord" Name = "Disgord" )
View Source
const DiscordVersion = 8
DiscordVersion API version
View Source
const DisgordTestBot = "DISGORD_TEST_BOT"
DisgordTestBot bot token for a disgord testing bot
View Source
const DisgordTestGuildAdmin = "DISGORD_TEST_GUILD_ADMIN"
DisgordTestGuildAdmin A guild snowflake id where the bot has administrator permission
View Source
const DisgordTestGuildDefault = "DISGORD_TEST_GUILD_DEFAULT"
DisgordTestGuildDefault Guild snowflake id where the default discord permission assigned when joining a vanilla guild
View Source
const DisgordTestGuildDefaultEmojiSnowflake = "DISGORD_TEST_GUILD_DEFAULT_EMOJI_SNOWFLAKE"
DisgordTestGuildDefaultEmojiSnowflake the default guild should have one custom emoji which can be retrieved during testing // eg: 486891339078696971
View Source
const DisgordTestLive = "DISGORD_TEST_LIVE"
DisgordTestLive set to true to properly test the functionality against Discord before a release is drafted
View Source
const Encoding = JSONEncoding
View Source
const JSONEncoding = "json"
JSONEncoding the json encoding identifier
View Source
const Version = "v0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.