comcord/commands/quit.go

13 lines
150 B
Go
Raw Normal View History

2023-07-08 20:51:26 +00:00
package commands
import (
"os"
"github.com/bwmarrin/discordgo"
)
func QuitCommand(session *discordgo.Session) {
session.Close()
os.Exit(0)
}