comcord/commands/quit.go
2023-07-10 13:04:40 -06:00

14 lines
193 B
Go

package commands
import (
"fmt"
"os"
"github.com/bwmarrin/discordgo"
)
func QuitCommand(session *discordgo.Session) {
fmt.Print("Unlinking TTY...\n\r")
session.Close()
os.Exit(0)
}