comcord/commands/quit.go

12 lines
150 B
Go

package commands
import (
"os"
"github.com/bwmarrin/discordgo"
)
func QuitCommand(session *discordgo.Session) {
session.Close()
os.Exit(0)
}