diff --git a/README.md b/README.md index 06f4d92..f548dff 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ Usage: -tw-as string Twitter Access API Secret. -tw-block-user string - Twitter Blocked Usernames. (comma seperated) + Twitter Blocked Usernames. (comma separated) -tw-block-words string - Twitter Blocked Words. (comma seperated) + Twitter Blocked Words. (comma separated) -tw-ck string Twitter Consumer API Key. -tw-cs string @@ -71,17 +71,17 @@ Usage: -tw-expire int Tweet Display Time. (in seconds) (default 45) -tw-keywords string - Twitter Search Keywords. (comma seperated) + Twitter Search Keywords. (comma separated) -tw-lang string - Twitter Search Lanugage. (comma seperated) + Twitter Search Language. (comma separated) -tw-only-users string - Twitter WHitelisted Usernames. (comma seperated) + Twitter WHitelisted Usernames. (comma separated) ``` ## Config File -The best way to confiure the scoreboard is to use a config file. This file will override any command line options. -To run with the config file use the command line option: `-c ` +The best way to configure the scoreboard is to use a config file. This file will override any command line options. +To run with the config file use the command line option: `-c ` Default Config: @@ -111,9 +111,9 @@ Default Config: "timeout": 10, "auth": { "access_key": "", - "consomer_key": "", + "consumer_key": "", "access_secret": "", - "consomer_secret": "" + "consumer_secret": "" } }, "timeout": 10, diff --git a/scoreboard/web/twitter.go b/scoreboard/web/twitter.go index 501cc0a..e880214 100644 --- a/scoreboard/web/twitter.go +++ b/scoreboard/web/twitter.go @@ -58,9 +58,9 @@ type Twitter struct { // Credentials is a struct used to store and access the Twitter API keys. type Credentials struct { AccessKey string `json:"access_key"` - ConsumerKey string `json:"consomer_key"` + ConsumerKey string `json:"consumer_key"` AccessSecret string `json:"access_secret"` - ConsumerSecret string `json:"consomer_secret"` + ConsumerSecret string `json:"consumer_secret"` } // Stop will stop the filter process, if running.