Merge branch 'fix/args-parsing' of kolaente/mensabot into master

pull/10/head
Jonas Franz 5 years ago committed by Gitea
commit ac89ce4c35
  1. 4
      bot.go

@ -36,8 +36,8 @@ func main() {
return
}
if len(os.Args) > 0 {
token = os.Args[0]
if len(os.Args) > 1 {
token = os.Args[1]
}
dg, err := discordgo.New(fmt.Sprintf("Bot %s", token))

Loading…
Cancel
Save