Skip to content

Commit

Permalink
Print version on verbose startup
Browse files Browse the repository at this point in the history
  • Loading branch information
asenci committed Dec 3, 2019
1 parent 363d7a6 commit 5a88531
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ func main() {
return
}

if Verbose {
log.Printf("starting pickerbot %s\n", version)
}

s, err := discordgo.New("Bot " + Token)
if err != nil {
log.Fatal("error creating Discord session,", err)
Expand Down

0 comments on commit 5a88531

Please sign in to comment.