Simplify the var declaration

This commit is contained in:
bogdan zažigin 2023-05-14 01:55:50 +03:00
parent b668161bb5
commit 657b5ee8cf
Signed by: zaboal
GPG key ID: C9918166D559FE8A

View file

@ -6,9 +6,7 @@ import (
) )
// Token — an authorization token to Discord API for bots // Token — an authorization token to Discord API for bots
var ( var Token string
Token string
)
// Retrieve the passed arguments on run // Retrieve the passed arguments on run
func init() { func init() {
@ -19,3 +17,5 @@ func init() {
func main() { func main() {
log.Println("Got the token:", Token) log.Println("Got the token:", Token)
} }
// TODO: Create and register an interaction command that creates an account on Telegraph