Documentation ¶
Index ¶
Constants ¶
View Source
const UserAgent = "bnsvc.net/bot"
UserAgent overrides the default Go user-agent (TODO)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Banned bool Info json.RawMessage }
func Banphrased ¶
Banphrased returns whether the message is banphrased, or an error if the API cannot be reached.
Click to show internal directories.
Click to hide internal directories.