constant

package
v0.36.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitHubURL = "https://github.com/andersfylling/disgord"
	Name      = "Disgord"
)
View Source
const DiscordVersion = 9

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL