- Introduced a new set of moderation commands including `/moderation purge`, `/moderation timeout`, `/moderation kick`, `/moderation ban`, `/moderation unban`, `/moderation untimeout`, and `/moderation slowmode`. - Updated README to include details about the new moderation features and commands. - Enhanced help command to display moderation tools and their usage.
17 lines
300 B
Go
17 lines
300 B
Go
package moderation
|
|
|
|
import (
|
|
"velox-bot/internal/commands/moderation/public"
|
|
|
|
"github.com/bwmarrin/discordgo"
|
|
)
|
|
|
|
var (
|
|
Moderation *discordgo.ApplicationCommand = public.Moderation
|
|
)
|
|
|
|
func ModerationHandler(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
|
public.ModerationHandler(s, i)
|
|
}
|
|
|