Fix basic example.
This commit is contained in:
parent
1d9f97e283
commit
3fbdb406de
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Login to the Discord server and store the authentication token
|
||||
dg.Token, err = dg.Login(os.Args[1], os.Args[2])
|
||||
err = dg.Login(os.Args[1], os.Args[2])
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue