slash

package
v0.0.0-...-ce67cb0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// KudosChannelID is the channel ID to send kudos to
	KudosChannelID string = config.GetString("commands.kudos.channel_id")

	// KudosApprovalChannelID is the channel ID to approve kudos in
	KudosApprovalChannelID string = config.GetString("commands.kudos.approval_channel_id")
)
View Source
var (
	// ComponentHandlers is a map of all component handlers
	ComponentHandlers *map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate)
)
View Source
var (
	// FeedbackChannelID is the ID of the channel to send feedback to
	FeedbackChannelID string = config.GetString("commands.feedback.channel_id")
)
View Source
var (
	// VoteURL is the URL for the vote page
	VoteURL = config.GetString("commands.vote.url")
)

Functions

func Attendance

Attendance slash command

func Attendanceof

Attendanceof slash command

func Feedback

Feedback is the feedback command

func Init

func Init(componentHandlers *map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate), ctx ddtrace.SpanContext)

Init initializes all slash commands

func Kudos

Kudos is the kudos command

func Log

Log is a slash command that allows users to get or set the logging level

func Member

Member is the member command

func Ping

Ping is a slash command that responds with "Pong!"

func Purge

Purge is the purge command

func Query

Query users based on signins

func Reboot

Reboot is a slash command that reboots the bot

func Scoreboard

Reboot is a slash command that reboots the bot

func Signin

Signin is a slash command that opens signins

func Usage

Usage is a slash command that returns system metrics

func Vote

Vote is a slash command that creates a vote

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL