aboutsummaryrefslogtreecommitdiff
path: root/main.go
blob: 7b04e4b806ac2e1c64a739444804d9233cfffdb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package main

import (
	"flag"
	"github.com/anhgelus/gokord"
)

var token string

func init() {
	flag.StringVar(&token, "token", "", "token of the bot")
	flag.Parse()
}

func main() {
	bot := gokord.Bot{
		Token:    token,
		Status:   nil,
		Commands: nil,
		Handlers: nil,
	}
	bot.Start()
}