Documentation ¶
Overview ¶
Note that while types.go is autogenerated, this file is NOT and is manually maintained
Revolt does not provide bitflags so this file is used to provide a similar interface
Index ¶
Constants ¶
View Source
const ( // User has been suspended from the platform SUSPENDED_UserFlag = 1 // User has deleted their account DELETED_UserFlag = 2 // User was banned off the platform BANNED_UserFlag = 4 // User was marked as spam and removed from platform SPAM_UserFlag = 8 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServerFlag ¶
type ServerFlag = int64
const ( VERIFIED_ServerFlag ServerFlag = 1 OFFICIAL_ServerFlag ServerFlag = 2 )
Directories ¶
Path | Synopsis |
---|---|
Defines permissions flags, taken from https://github.com/revoltchat/backend/blob/master/crates/quark/src/permissions/defn/permission.rs
|
Defines permissions flags, taken from https://github.com/revoltchat/backend/blob/master/crates/quark/src/permissions/defn/permission.rs |
Click to show internal directories.
Click to hide internal directories.