Fix typos [skip ci]
MODIFY
internal/commands/commandimpls/account.go
internal/commands/commandimpls/account.go
@@ -149,7 +149,7 @@ func (account *Account) switchAccount(writer io.Writer, accountName string) {
config.GetConfig().Token = newToken
config.PersistConfig()
- //Using a go routine, so this instance doesn't stay alive and polutes the memory.
+ //Using a go routine, so this instance doesn't stay alive and pollutes the memory.
account.runNext <- true
account.window.Shutdown()
}

MODIFY
internal/scripting/js/javascript.go
internal/scripting/js/javascript.go
@@ -96,7 +96,7 @@ func (engine *JavaScriptEngine) OnMessageSend(oldText string) (newText string) {
jsValue, jsError := vm.Run(fmt.Sprintf("onMessageSend(\"%s\")", escapeNewlines(newText)))
if jsError != nil {
if engine.errorOutput != nil {
- fmt.Fprintf(engine.errorOutput, "Error occured during execution of javascript: %s", jsError.Error())
+ fmt.Fprintf(engine.errorOutput, "Error occurred during execution of javascript: %s", jsError.Error())
}
//This script failed, go to next one
continue

Fix typos [skip ci]