Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Spam SPAM = "Spam" SPAM_ATTACHMENTS = "Attachments" SPAM_EMOJIS = "Emojis" SPAM_LINKS = "Links" SPAM_MENTIONS = "Mentions" SPAM_MESSAGES = "Messages" SPAM_NEWLINES = "Newlines" SPAM_UPPERCASE = "Uppercase" SPAM_MAXLENGTH = "MaximumLength" // Censor CENSOR = "Censor" CENSOR_DOMAINS = "Domain" CENSOR_DOMAINS_BLACKLISTED = "DomainsBlacklist" CENSOR_NOTENGLISH = "NotEnglish" CENSOR_OBNOXIOUSUNICODE = "ObnoxiousUnicode" CENSOR_INVITES = "Invite" CENSOR_INVITES_BLACKLISTED = "InvitesBlacklist" CENSOR_IP = "IP" CENSOR_REGEX = "Regex" CENSOR_STRINGS = "BlockedString" CENSOR_SUBSTRINGS = "BlockedSubString" CENSOR_ZALGO = "Zalgo" CENSOR_UNTRUSTWORTHY = "Untrustworthy" )
View Source
const ( WEBSITE = "https://blackmesa.bot" DISCORDINVITE = "https://discord.gg/fnGQSAuuSj" )
View Source
const ( EMOJI_CENSORED_MESSAGE = "<:mesaCensoredMessage:869663511754731541>" EMOJI_MESSAGE_VIOLATION = "<:mesaMessageViolation:869663336625733635>" EMOJI_MESSAGE_DELETE = "<:mesaMessageDelete:869663511977025586>" EMOJI_MESSAGE_EDIT = "<:mesaMessageEdit:869663511834411059>" EMOJI_STRIKE = "<:mesaStrike:869663336843845752>" EMOJI_UNSTRIKE = "<:mesaUnstrike:869664457788358716>" EMOJI_MUTE = "<:mesaMemberMute:869663336814497832>" EMOJI_UNMUTE = "<:mesaMemberUnmute:869663336583802982>" EMOJI_BAN = "<:mesaBan:869663336625733634>" EMOJI_UNBAN = "<:mesaUnban:869663336697069619>" EMOJI_KICK = "<:mesaKick:869665034312253460>" EMOJI_CROSS = "<:mesaCross:832350526414127195>" EMOJI_CHECK = "<:mesaCheck:832350526729224243>" EMOJI_COMMAND = "<:mesaCommand:832350527131746344>" )
View Source
const ( CATEGORY_MODERATION = "moderation" CATEGORY_ADMIN = "admin" CATEGORY_GUILD = "guild" CATEGORY_ROLES = "roles" CATEGORY_TRUSTED = "trusted" CATEGORY_MUSIC = "music" CATEGORY_VOTING = "voting" PERMISSION_BAN = CATEGORY_MODERATION + ".ban" PERMISSION_KICK = CATEGORY_MODERATION + ".kick" PERMISSION_MUTE = CATEGORY_MODERATION + ".mute" PERMISSION_PURGE = CATEGORY_MODERATION + ".purge" PERMISSION_PURGE_ALL = CATEGORY_MODERATION + ".purgeall" PERMISSION_REMOVEACTION = CATEGORY_MODERATION + ".remove" PERMISSION_SEARCH = CATEGORY_MODERATION + ".search" PERMISSION_SEARCHSELF = CATEGORY_MODERATION + ".searchself" PERMISSION_SOFTBAN = CATEGORY_MODERATION + ".softban" PERMISSION_STRIKE = CATEGORY_MODERATION + ".strike" PERMISSION_UNBAN = CATEGORY_MODERATION + ".unban" PERMISSION_UNMUTE = CATEGORY_MODERATION + ".unmute" PERMISSION_CONFIGGET = CATEGORY_ADMIN + ".get" PERMISSION_CONFIGSET = CATEGORY_ADMIN + ".set" PERMISSION_MAKEMUTE = CATEGORY_ADMIN + ".makemute" PERMISSION_SETUP = CATEGORY_ADMIN + ".setup" PERMISSION_VIEWCMDLEVEL = CATEGORY_GUILD + ".viewcommandlevel" PERMISSION_VIEWUSERLEVEL = CATEGORY_GUILD + ".viewuserlevel" PERMISSION_ROLEADD = CATEGORY_ROLES + ".add" PERMISSION_ROLEREMOVE = CATEGORY_ROLES + ".remove" PERMISSION_ROLECREATE = CATEGORY_ROLES + ".create" PERMISSION_BANFILE = CATEGORY_TRUSTED + ".banfile" PERMISSION_PLAY = CATEGORY_MUSIC + ".play" PERMISSION_STOP = CATEGORY_MUSIC + ".stop" PERMISSION_SKIP = CATEGORY_MUSIC + ".skip" PERMISSION_REMOVE = CATEGORY_MUSIC + ".remove" PERMISSION_DC = CATEGORY_MUSIC + ".dc" PERMISSION_SEEK = CATEGORY_MUSIC + ".seek" PERMISSION_VOLUME = CATEGORY_MUSIC + ".volume" PERMISSION_QUERY = CATEGORY_MUSIC + ".query" PERMISSION_VOTEMUTE = CATEGORY_VOTING + ".mute" )
View Source
const (
ExternalPurgesEndpoint = WEBSITE + "/messages/purges/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UntrustworthyType ¶
type UntrustworthyType string
const ( UNTRUSTWORTHY_TYPE_UNKNOWN UntrustworthyType = "unknown" UNTRUSTWORTHY_TYPE_IPGRABBER UntrustworthyType = "ipgrabber" UNTRUSTWORTHY_TYPE_URL UntrustworthyType = "url" UNTRUSTWORTHY_TYPE_USER UntrustworthyType = "user" )
Click to show internal directories.
Click to hide internal directories.