Documentation
¶
Overview ¶
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
SPDX-License-Identifier: AGPL-3.0-only
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HumanizeInt64 ¶
Types ¶
type LevelMessages ¶
type LevelMessages string
LevelMessages ...
const ( AllDM LevelMessages = "ALL_DM" RewardsDM LevelMessages = "REWARDS_DM" AllChannel LevelMessages = "ALL_CHANNEL" RewardsChannel LevelMessages = "REWARDS_CHANNEL" NoMessages LevelMessages = "NONE" )
...
type Levels ¶
type Levels struct {
ServerID discord.GuildID
UserID discord.UserID
XP int64
Colour discord.Color
Background string
NextTime time.Time
}
Levels ...
type Nolevels ¶
type Nolevels struct {
ServerID discord.GuildID
UserID discord.UserID
Expires bool
Expiry time.Time
LogChannel discord.ChannelID
}
Nolevels ...
type Server ¶
type Server struct {
ID discord.GuildID
BlockedChannels []uint64
BlockedRoles []uint64
BlockedCategories []uint64
RewardLog discord.ChannelID
NolevelsLog discord.ChannelID
BetweenXP time.Duration
RewardText string
Background string
LevelsEnabled bool
LeaderboardModOnly bool
ShowNextReward bool
Voice bool
LevelMessages LevelMessages
LevelChannel discord.ChannelID
}
Server ...