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

@@ -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()