diff --git a/oauth.go b/oauth.go index c6a7af8..ac83b15 100644 --- a/oauth.go +++ b/oauth.go @@ -57,7 +57,7 @@ func (b *Bot) HTTPOAuthCallback(w http.ResponseWriter, r *http.Request) { return } else if err != nil { fmt.Printf("%T %v", err, err) - http.Error(w, "An error occured and the bot could not join the server.", http.StatusUnprocessableEntity) + http.Error(w, "An error occurred and the bot could not join the server.", http.StatusUnprocessableEntity) return } if guildInfo, ok := t.Extra("guild").(map[string]interface{}); ok { @@ -69,7 +69,7 @@ func (b *Bot) HTTPOAuthCallback(w http.ResponseWriter, r *http.Request) { return } else if err != nil { fmt.Printf("[ERR] Could not check banlist: %T %v", err, err) - http.Error(w, "An error occured and the bot may not have joined the server.", http.StatusUnprocessableEntity) + http.Error(w, "An error occurred and the bot may not have joined the server.", http.StatusUnprocessableEntity) return } } else {