Initial commit. Should work, but no promises (yet).

This commit is contained in:
2019-10-16 20:19:23 +05:00
commit 9893315796
10 changed files with 431 additions and 0 deletions

24
main.go Normal file
View File

@@ -0,0 +1,24 @@
package main
import (
// stdlib
"log"
"os"
// local
"go.dev.pztrn.name/discordrone/env"
"go.dev.pztrn.name/discordrone/message"
)
func main() {
env.ParseEnv()
if env.Data.Debug {
log.Printf("Starting Discordrone with parameters: %+v\n", env.Data)
}
err := message.Process()
if err != nil {
log.Fatalln("Error appeared:", err)
os.Exit(1)
}
}