Simplify the var declaration
This commit is contained in:
parent
b668161bb5
commit
657b5ee8cf
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,7 @@ import (
|
|||
)
|
||||
|
||||
// Token — an authorization token to Discord API for bots
|
||||
var (
|
||||
Token string
|
||||
)
|
||||
var Token string
|
||||
|
||||
// Retrieve the passed arguments on run
|
||||
func init() {
|
||||
|
@ -19,3 +17,5 @@ func init() {
|
|||
func main() {
|
||||
log.Println("Got the token:", Token)
|
||||
}
|
||||
|
||||
// TODO: Create and register an interaction command that creates an account on Telegraph
|
||||
|
|
Loading…
Add table
Reference in a new issue