Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct {
HasDeleteButton bool
Finalized bool
Scope rule.Scope
ScopeIdentifier snowflake.ID
Enabled form.Bool
NotificationChannel extstd.Option[snowflake.ID]
ChannelFormat extstd.Option[rule.ChannelFormat]
Privacy extstd.Option[rule.History]
UsernameFormat extstd.Option[rule.UserFormat]
// contains filtered or unexported fields
}
func CategoryRule ¶
func ChannelRule ¶
func (*Rule) Create ¶
func (s *Rule) Create() discord.MessageCreate
Click to show internal directories.
Click to hide internal directories.