File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ TWITTER_EMAIL= # Account email
7272TWITTER_2FA_SECRET =
7373
7474# Authentication cookies for Twitter session
75- TWITTER_AUTH_TOKEN =
76- TWITTER_CT0 =
77- TWITTER_GUEST_ID =
75+ TWITTER_COOKIES_AUTH_TOKEN =
76+ TWITTER_COOKIES_CT0 =
77+ TWITTER_COOKIES_GUEST_ID =
7878
7979TWITTER_POLL_INTERVAL = 120 # How often (in seconds) the bot should check for interactions
8080TWITTER_SEARCH_ENABLE = FALSE # Enable timeline search, WARNING this greatly increases your chance of getting banned
Original file line number Diff line number Diff line change @@ -261,9 +261,9 @@ export class ClientBase extends EventEmitter {
261261 throw new Error ( "Twitter username not configured" ) ;
262262 }
263263
264- const authToken = this . runtime . getSetting ( "TWITTER_AUTH_TOKEN " ) ;
265- const ct0 = this . runtime . getSetting ( "TWITTER_CT0 " ) ;
266- const guestId = this . runtime . getSetting ( "TWITTER_GUEST_ID " ) ;
264+ const authToken = this . runtime . getSetting ( "TWITTER_COOKIES_AUTH_TOKEN " ) ;
265+ const ct0 = this . runtime . getSetting ( "TWITTER_COOKIES_CT0 " ) ;
266+ const guestId = this . runtime . getSetting ( "TWITTER_COOKIES_GUEST_ID " ) ;
267267
268268 const createTwitterCookies = ( authToken : string , ct0 : string , guestId : string ) =>
269269 authToken && ct0 && guestId
You can’t perform that action at this time.
0 commit comments