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
|
// 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue