TerraOceanPlugin/GoBot/main.go

17 lines
218 B
Go

package main
import (
"io/ioutil"
"sync"
"TerraOceanBot/discord"
)
func main() {
token, _ := ioutil.ReadFile("token.txt")
wg := sync.WaitGroup{}
wg.Add(1)
go discord.StartBot(string(token), &wg)
wg.Wait()
}