Versions in this module Expand all Collapse all v0 v0.3.2 May 24, 2025 Changes in this version + type Rule struct + ChannelFormat extstd.Option[rule.ChannelFormat] + Enabled form.Bool + Finalized bool + HasDeleteButton bool + NotificationChannel extstd.Option[snowflake.ID] + Privacy extstd.Option[rule.History] + Scope rule.Scope + ScopeIdentifier snowflake.ID + UsernameFormat extstd.Option[rule.UserFormat] + func CategoryRule(owner snowflake.ID, ruleManager rule.Repository, locale discord.Locale, ...) *Rule + func ChannelRule(owner snowflake.ID, ruleManager rule.Repository, locale discord.Locale, ...) *Rule + func GuildRule(owner snowflake.ID, ruleManager rule.Repository, locale discord.Locale, ...) *Rule + func (s *Rule) Apply(rule rule.Rule) + func (s *Rule) Create() discord.MessageCreate + func (s *Rule) Handle(event *events.ComponentInteractionCreate) error