-
Declaration
Swift
static let schema: String
-
The muteword’s ID.
Declaration
Swift
@ID var id: Int? -
The muteword. Must be one word, no spaces. Should be stored in lowercase.
Declaration
Swift
@Field var word: String
-
Used by Fluent
Declaration
Swift
init() -
Initializes a new MuteWord object.
Declaration
Swift
init(_ word: String, userID: UUID)Parameters
wordthe word to alert on..
View on GitHub
MuteWord Class Reference