1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Number of tweets to fetch is now customizable

This commit is contained in:
Chris Cummer 2018-08-23 12:00:00 -07:00
parent 5ea9c124de
commit 186c473cdd
2 changed files with 6 additions and 5 deletions

View File

@ -6,12 +6,13 @@
### ⚡️ Added
* Twitter tweets are now colourized (@senorprogrammer)
* Google Calendar widget is now focusable (@anandsudhir)
* Twitter number of tweets to fetch is now customizable via config (@senorprogrammer)
* Google Calendar: widget is now focusable (@anandsudhir)
* [DataDog module](https://wtfutil.com/modules/datadog/) added (@Seanstoppable)
### 🐞 Fixed
* Textfile module syntax highlighting now included in stand-alone binary ([#261](https://github.com/senorprogrammer/wtf/issues/261) by @senporprogrammer)
* Textfile syntax highlighting now included in stand-alone binary ([#261](https://github.com/senorprogrammer/wtf/issues/261) by @senporprogrammer)
* Config param now supports relative paths starting with `~` ([#295](https://github.com/senorprogrammer/wtf/issues/295) by @anandsudhir)
## 0.2.1

View File

@ -26,7 +26,7 @@ func NewClient(screenName, url string) *Client {
client := Client{
apiBase: url,
screenName: screenName,
count: 5,
count: wtf.Config.UInt("wtf.mods.twitter.count", 5),
}
client.loadAPICredentials()