Commit 8a49fe6 1 parent 5fed4b0 commit 8a49fe6 Copy full SHA for 8a49fe6
File tree 2 files changed +6
-6
lines changed
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
72
72
TWITTER_2FA_SECRET =
73
73
74
74
# 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 =
78
78
79
79
TWITTER_POLL_INTERVAL = 120 # How often (in seconds) the bot should check for interactions
80
80
TWITTER_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 {
261
261
throw new Error ( "Twitter username not configured" ) ;
262
262
}
263
263
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 " ) ;
267
267
268
268
const createTwitterCookies = ( authToken : string , ct0 : string , guestId : string ) =>
269
269
authToken && ct0 && guestId
You can’t perform that action at this time.
0 commit comments