forked from Giveth/giveth-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
262 lines (242 loc) · 12.7 KB
/
constants.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
// Allowed users that can dish out points
// module.exports.userList = [
// ]
// Allowed point types
module.exports.point_types = [
'GOV',
'DAPP',
'SC',
'COMM',
'UNICORN',
'ARAGON',
'FLURKEL',
'ETHKAN',
'DAPPNODE',
'SIGNALING',
]
module.exports.domains = ['matrix.org', 'status.im', 'giveth.io', 'gitter.im']
module.exports.max_points = 10000
module.exports.sheet_id =
process.env.NODE_ENV === 'production'
? '12cblUYuYq4NwZX7JdRo0-NWnrOxlDy-XCbvF3ugzb2c'
: '10sU4UNlCq8fZ3f4zouoq945zTScw27uUV1LU0siA1YA'
module.exports.sheet_tab_name = 'PointsBot (DONT RENAME!)!A1:F1'
// CHATBOT
module.exports.positiveResponses = ['yes', 'yup', 'yea']
module.exports.negativeResponses = ['no']
module.exports.messages = {
// SOCIAL CODING
'!kUeYRcrXObgGoJlFjn:matrix.org': {
internalMsg:
'Now that you’re in Social Coding there are a few resources that will help you along the way:\
[What are points](https://medium.com/giveth/how-rewarddao-works-aka-what-are-points-7388f70269a) and [What is Social Coding](https://medium.com/giveth/what-is-social-coding-fa81feacfa32).\
if you have any questions that are not covered in the literature please reach out to @parker_williams:matrix.org or @yalormewn:matrix.org and they will happily follow up with you in 24-48 hours',
externalMsg:
'Welcome %USER% to Social Coding where your pragma can roam the wild steppe of the blockchain world. I’ve also sent you a direct message with more info.',
},
// GENERAL
'!vwFGsktMNkdorFWJRi:matrix.org': {
externalMsg:
'Welcome %USER% to Giveth! Feel free to introduce yourself or ask any question! You can find an overview of all our rooms by tapping/clicking on the flair next to my name, I also sent you a direct message with more info.',
internalMsg: [
{
msg:
'Hey %USER%, welcome to Giveth!! First a few tips if you are a new Riot user:\n\
\n* [Download Riot](https://about.riot.im/downloads/) on your device for quick and easy access\n\
\n* Limit notifications per room [by changing it](https://about.riot.im/need-help/#rooms-section) to mentions only',
},
{
msg: 'Do you want to know which rooms you can join?',
positive:
'You can find an overview of all our rooms by tapping/clicking on the flair next to my name.\
Some more info about some of them:\n\
\n* Do you aim to - or already are - united around **good causes**? Join the conversation & sign up for DApp testing in [Communities](https://riot.im/app/#/room/#giveth-communities:matrix.org).\
\n* Do you have **time & energy**? Good. Every month we Give Eth to [Contributors](https://riot.im/app/#/room/#giveth-contributors:matrix.org)\
\n* Up for some **real talk**? Share & care in [Blockchaintalk](https://riot.im/app/#/room/#giveth-blockchaintalk:matrix.org) \
\n* Check our **product progress** in [Dapp Development](https://riot.im/app/#/room/#giveth-product-development:matrix.org) \
\n* Help us **create** and connect in [Communication](https://riot.im/app/#/room/#giveth-communication:matrix.org)\
\n* **Hack away** on projects you select in [Social Coding](https://riot.im/app/#/room/#giveth-social-coding:matrix.org)\
\n* See how we are **decentralizing** us and everyone else in [Governance](https://riot.im/app/#/room/#giveth-governance:matrix.org)\
\n* Here with **DAO questions**? Plz send a DM to @krrisis or @griffgreen - they’ll add you to the discussion.\
',
negative:
'Sure! No worries, whenever you want this info, just ask me here.',
},
{
msg: 'Would you like some more info on Giveth?',
positive:
'To get up to speed on what we do and who we are the best place to start is our [website](http://giveth.io/).\
Next stop is our [wiki](https://wiki.giveth.io/), where you can find a number of useful guides, our roadmap and so much more.\
[Medium](https://medium.com/giveth) is where we post most of our articles. The most relevant articles are pinned at the top!\
And on youtube you can discover [some of our interviews and streams](http://youtube.com/givethio), including [most of our meetings](https://www.youtube.com/channel/UCdqmP4axeI1hNmX20aZsOwg?view_as=subscriber)!\
',
negative:
'Sure! No worries, whenever you want this info, just ask me here.',
},
],
},
// CONTRIBUTORS
'!OQTaDMKEJXLvTpYoCe:matrix.org': {
externalMsg:
'Welcome %USER% to the Contributors room! Feel free to introduce yourself or ask any question! If you want to help us build out the Giveth Galaxy, make sure to add your details [here](http://bit.ly/GivethMaker). I also sent you a direct message with some more info. ',
internalMsg: [
{
msg:
'Hey %USER%, welcome to the Contributors room! If you didn’t have time yet to fill out this [document](http://bit.ly/GivethMaker), you should! Even if you don’t have time right now, we might meet in the future! Every month Giveth Gives … eth! If you want to learn more about how you can earn some too, read [this article](https://medium.com/giveth/how-rewarddao-works-aka-what-are-points-7388f70269a).',
},
{
msg:
'Have you earned some points (or are planning to!) and would like to know how to get your eth?',
positive:
'Great! Well, to receive your eth, the process is easy, just make sure you document your work through a video on our Wall of Fame. More info [here](https://wiki.giveth.io/dac/contributors-guide/)!',
negative: 'Sure, no problem! Whenever you want to know just ask me!',
},
],
},
// COMMUNITIES
'!FBZLHmkNLmabnszigV:matrix.org': {
externalMsg:
'Welcome %USER% to the Communities room! Feel free to introduce yourself or ask any question! If you want to help us test the DApp releases, please let us know right here! If you want to be or help us build one of the first Communities (DACs) or Campaigns on the DApp, please take a minute and fill out this [form](http://bit.ly/GivethCommunity)!',
internalMsg: [
{
msg:
'Hey %USER%, welcome to the Communities room! If you didn’t have time yet to fill out this [document](http://bit.ly/GivethCommunity), you should!',
},
],
},
// COMMUNICATIONS
'!mbUGUXUxvuGxvjQJtL:matrix.org': {
externalMsg:
'Welcome %USER% to the Communications room! Feel free to introduce yourself or ask any question! I’ve also sent you a direct message with more info.',
internalMsg:
'Hey %USER%, welcome to the Communications room! If you want to actively participate and help us Build the Future of Giving make sure to join our Communications Circle Meeting [here](https://meet.jit.si/giveth-communication). This normally takes place every Wednesday at 5PM CET and is announced in the room. If you have any specific communication skills and want to help out, make sure to add your details [here](http://bit.ly/GivethMaker)',
},
// GOVERNANCE
'!qsjCsmTVnObJyCZkqq:matrix.org': {
externalMsg:
'Welcome %USER% to the Governance room! Feel free to introduce yourself or ask any question',
internalMsg:
'Hey %USER%, welcome to the Governance room! If you want to actively participate and help us Build the Future of Giving you are welcome to join our Governance Meeting [here](https://meet.jit.si/giveth-gov) . This normally takes place every Thursday at 5PM CET and is announced in the room.',
},
// DApp DEVELOPMENT
'!pJNSuPMvcrDttmJFvV:matrix.org': {
internalMsg:
"It seems that you have just joined DApp Development channel! Here are some links to get you started.\n\
\n\
If you want to better understand what we are building:\n\
\n* The DApp [Product Definition](https://wiki.giveth.io/documentation/DApp/product-definition/) on our Wiki\n\
\n* Our [Development Roadmap](https://wiki.giveth.io/documentation/product-roadmap/)\n\
\n* [Medium posts](https://medium.com/giveth)\n\
\n\
If you want to actively participate:\n\
\n* See our fundraising [DApp development campaign](https://alpha.giveth.io/campaigns/fzOahNwFVyY7qLTI) on the DApp\n\
\n* Checkout our DApp Github page and don’t hesitate to pick on of the ['help wanted'](https://github.com/Giveth/giveth-dapp/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) issues\n\
\n* Our [Giveth Google Drive workspace](https://drive.google.com/drive/folders/0B2gzflwFITCBNGtDRHIyakJiaTA)\n\
\n* Check out the events we are attending or organizing in our [calendar](https://calendar.google.com/calendar/embed?src=givethdotio%40gmail) most notably the DApp team meeting happening every Wednesday at 20:00 on https://meet.jit.si/giveth-devteam",
},
}
module.exports.questions = {
// SOCIAL CODING
'!kUeYRcrXObgGoJlFjn:matrix.org': [
{
trigger: ['Blockternship', 'Project I can work on', 'hackathon'],
answer:
'Be sure to join the #blockternship:matrix.org room to connect with the #Buidlers :-)',
},
{
trigger: [
'When is the next',
'Sync',
'Sync Meeting',
'Social Coding Sync',
],
answer:
'The Social Coding Sync is every other week on Tuesday at 05.00PM CE(S)T, 08:00 PST, 03:00PM GMT) right [here](https://meet.jit.si/socialcoding)',
},
],
// GENERAL
'!vwFGsktMNkdorFWJRi:matrix.org': [
{
trigger: 'download riot',
answer:
'[Download Riot](https://about.riot.im/downloads/) on your device for quick and easy access',
},
{
trigger: 'too many notifications',
answer:
'Limit notifications per room [by changing it](https://about.riot.im/need-help/#rooms-section) to mentions only',
},
{
trigger: 'more info on Giveth',
answer:
'To get up to speed on what we do and who we are the best place to start is our [website](http://giveth.io/).\
Next stop is our [wiki](https://wiki.giveth.io/), where you can find a number of useful guides, our roadmap and so much more.\
[Medium](https://medium.com/giveth) is where we post most of our articles. The most relevant articles are pinned at the top!\
And on youtube you can discover [some of our interviews and streams](http://youtube.com/givethio), including [most of our meetings](https://www.youtube.com/channel/UCdqmP4axeI1hNmX20aZsOwg?view_as=subscriber)!',
},
{
trigger: 'which rooms',
answer:
'You can find an overview of all our rooms by tapping/clicking on the flair next to my name.',
},
],
// CONTRIBUTORS
'!OQTaDMKEJXLvTpYoCe:matrix.org': [
{
trigger: 'get my eth',
answer:
'To receive your eth, the process is easy, just make sure you document your work through a video on our Wall of Fame. More info [here](https://wiki.giveth.io/dac/contributors-guide/)!',
},
{
trigger: 'not received my eth',
answer:
'It takes a while to create the Milestones for all contributors and pay these out. If it is taking longer than a month, please send a message to @ljg583:matrix.org',
},
],
// COMMUNITIES
'!FBZLHmkNLmabnszigV:matrix.org': [
{
trigger: [
'I want to be a tester',
'I want to test the dapp',
'how can I test',
],
answer:
'Great that you want to test the DApp with us! @vojtech:matrix.org will be in touch! If he isn’t, stalk him :-)',
},
{
trigger: 'form for communities',
answer:
'If you want to be or help us build one of the first Communities (DACs) or Campaigns on the DApp, please take a minute and fill out this [form](http://bit.ly/GivethCommunity)!',
},
],
// COMMUNICATIONS
'!mbUGUXUxvuGxvjQJtL:matrix.org': [
{
trigger: [
'join the Communication Meeting',
'join the comms meeting',
'join our comms meeting',
'Weekly Comms Circle meeting in',
],
answer:
'The Comms meeting takes place on Wednesday at 05.00PM CE(S)T, (= 11AM EDT - 04PM UTC/GMT+1 -- 8AM PT -- 10PM ICT) - Join us [here](https://meet.jit.si/giveth-communication)',
},
{
trigger: ['Comms Meeting notes', 'Our meeting notes'],
answer:
'All Communication Circle meeting notes can be found [here](https://github.com/Giveth/Communication) in the form of issues - if you want to view these in a more ordered and visual form, please install the zenhub extension first (see link on the homepage)',
},
],
// GOVERNANCE
'!qsjCsmTVnObJyCZkqq:matrix.org': [
{
trigger: 'join the Governance Meeting',
answer:
'The Governance meeting takes place on Thursday at 06.00PM CE(S)T, (= 12PM EDT - 05PM UTC/GMT+1 -- 9AM PT -- 11PM ICT) - Join us [here](https://meet.jit.si/giveth-gov)',
},
],
// DApp DEVELOPMENT
/** "!pJNSuPMvcrDttmJFvV:matrix.org": [
]**/
}