Skip to content

Commit 9380436

Browse files
authored
Add slash commands (#28)
* Add discord bot setup * Add prototype code * Update file structure for github module * command actually sets date * format * Add working unassigned issues list * Add my issues command * Add improved code layout for interactions * Add working assign user flow * Update map structure to include github id * Add members with role query to notes * Add improved list ui * Add create issue spec * Add command and interaction tests * Add specs for new item service methods * Update formatting
1 parent d7c159e commit 9380436

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2469
-227
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,39 @@ Project Items Query
144144
}
145145
}
146146
```
147+
148+
Project Item Fields Query
149+
150+
```
151+
{
152+
organization(login: "CarletonComputerScienceSociety") {
153+
projectV2(number: 18) {
154+
fields(first: 100) {
155+
nodes {
156+
__typename
157+
... on ProjectV2FieldCommon {
158+
id
159+
name
160+
dataType
161+
}
162+
}
163+
}
164+
}
165+
}
166+
}
167+
```
168+
169+
Members with Role Query
170+
171+
```
172+
query {
173+
organization(login: "CarletonComputerScienceSociety") {
174+
membersWithRole(first: 100) {
175+
nodes {
176+
login
177+
id
178+
}
179+
}
180+
}
181+
}
182+
```

data/githubDiscordMap.json

Lines changed: 75 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,77 @@
11
{
2-
"AJaccP": "693093284998021141",
3-
"eros-mcguire": "981895462992891935",
4-
"exkellybur": "398923451311587338",
5-
"JohnLu2004": "358054341179080704",
6-
"kimiaKR": "706977821502865578",
7-
"LandonJMM": "657607140835328059",
8-
"MathyouMB": "147881865548791808",
9-
"MrRibcage": "142782738615762944",
10-
"rebeccakempe12": "730876980861599744",
11-
"richard-dh-kim": "241421629543022592",
12-
"rj-sci": "327557300497809422",
13-
"ryangchung": "365948481946517504",
14-
"VictorLi5611": "247472197902270465",
15-
"VMordvinova": "759902786107473932"
2+
"AJaccP": {
3+
"githubUsername": "AJaccP",
4+
"githubId": "U_kgDOBrIU2w",
5+
"discordId": "693093284998021141"
6+
},
7+
"eros-mcguire": {
8+
"githubUsername": "eros-mcguire",
9+
"githubId": "tbd",
10+
"discordId": "981895462992891935"
11+
},
12+
"exkellybur": {
13+
"githubUsername": "exkellybur",
14+
"githubId": "U_kgDOBx7TuA",
15+
"discordId": "398923451311587338"
16+
},
17+
"JohnLu2004": {
18+
"githubUsername": "JohnLu2004",
19+
"githubId": "MDQ6VXNlcjg3NjczMDY4",
20+
"discordId": "358054341179080704"
21+
},
22+
"kimiaKR": {
23+
"githubUsername": "kimiaKR",
24+
"githubId": "U_kgDOC0aBdw",
25+
"discordId": "706977821502865578"
26+
},
27+
"LandonJMM": {
28+
"githubUsername": "LandonJMM",
29+
"githubId": "U_kgDOBs5OWw",
30+
"discordId": "657607140835328059"
31+
},
32+
"MathyouMB": {
33+
"githubUsername": "MathyouMB",
34+
"githubId": "MDQ6VXNlcjQzMjIzNjgy",
35+
"discordId": "147881865548791808"
36+
},
37+
"MrRibcage": {
38+
"githubUsername": "MrRibcage",
39+
"githubId": "MDQ6VXNlcjQzNjU2MTM3",
40+
"discordId": "142782738615762944"
41+
},
42+
"Nguyen-HanhNong": {
43+
"githubUsername": "Nguyen-HanhNong",
44+
"githubId": "MDQ6VXNlcjgxOTc3MzUw",
45+
"discordId": "929100662082531398"
46+
},
47+
"rebeccakempe12": {
48+
"githubUsername": "rebeccakempe12",
49+
"githubId": "MDQ6VXNlcjc3MzY4MTky",
50+
"discordId": "730876980861599744"
51+
},
52+
"richard-dh-kim": {
53+
"githubUsername": "richard-dh-kim",
54+
"githubId": "MDQ6VXNlcjU4OTU5NjQ5",
55+
"discordId": "241421629543022592"
56+
},
57+
"rj-sci": {
58+
"githubUsername": "rj-sci",
59+
"githubId": "tbd",
60+
"discordId": "327557300497809422"
61+
},
62+
"ryangchung": {
63+
"githubUsername": "ryangchung",
64+
"githubId": "MDQ6VXNlcjg3MDI3OTgx",
65+
"discordId": "365948481946517504"
66+
},
67+
"VictorLi5611": {
68+
"githubUsername": "VictorLi5611",
69+
"githubId": "MDQ6VXNlcjczMzA1Mjg3",
70+
"discordId": "247472197902270465"
71+
},
72+
"VMordvinova": {
73+
"githubUsername": "VMordvinova",
74+
"githubId": "U_kgDOCFXXvw",
75+
"discordId": "759902786107473932"
76+
}
1677
}

0 commit comments

Comments
 (0)