15 lines
193 B
Go
15 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)
|
|
}
|