Skip to content

Commit

Permalink
Spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iDigitalFlame committed Oct 7, 2019
1 parent c8ba6fd commit 459bcb1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,27 +61,27 @@ 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
Twitter Consumer API Secret.
-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 <filepath>`
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 <file_path>`

Default Config:

Expand Down Expand Up @@ -111,9 +111,9 @@ Default Config:
"timeout": 10,
"auth": {
"access_key": "",
"consomer_key": "",
"consumer_key": "",
"access_secret": "",
"consomer_secret": ""
"consumer_secret": ""
}
},
"timeout": 10,
Expand Down
4 changes: 2 additions & 2 deletions scoreboard/web/twitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 459bcb1

Please sign in to comment.