-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_sample.js
47 lines (41 loc) · 1.71 KB
/
config_sample.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Create App and get API keys from: https://developer.twitter.com/en/portal/dashboard
// Must have read/write access
//app2
twitter_1 = {
consumer_key: "XXXX",
consumer_secret: "XXXX",
access_token: "XXXX",
access_token_secret: "XXXX",
timeout_ms: 60 * 1000, // optional HTTP request timeout to apply to all requests.
strictSSL: true, // optional - requires SSL certificates to be valid.
};
//app2
twitter_2 = {
consumer_key: "XXX",
consumer_secret: "XX",
access_token: "XXX",
access_token_secret: "XXX",
timeout_ms: 60 * 1000, // optional HTTP request timeout to apply to all requests.
strictSSL: true, // optional - requires SSL certificates to be valid.
};
// Good to randomise these. can add more if you wish
module.exports.twitterAccountsArray = Array(twitter_1, twitter_2);
// Can help reduce twitter API limit if false. Example, if false it'll not tweet out already paid message etc.
module.exports.enableErrorTwit = true;
// Recommend you dedicate a seperate umbrel in case someone try to drain your funds.
module.exports.umbrilpassword = { password: "xxxxxx" };
//your bot twitter account username. example satoshi_LN_bot
module.exports.twitteraccount = "xxxx";
// Get your dpaste bin API key from here: https://dpaste.com/api/v2/
module.exports.dpaste = "XXXXXXXX";
// Payout 100 sats by default
module.exports.defaultPayOut = 100;
// Max !tip out amount
module.exports.maxTipAmount = 1000;
// Donation amount to get !givepowerofsatoshi
module.exports.powerofsatoshi = 10000;
// Donate amount to get access to !tip
module.exports.powerToTip = 5000;
//Supbase to store our data, it's free https://supabase.io/
module.exports.supabaseUrl = "https://xxxxxxxxx.supabase.co";
module.exports.supabaseKey = "xxxxxxxxx";