Skip to content

Commit e0179e3

Browse files
Remove hardcoded points since it causes more confusion
1 parent 0b2efb2 commit e0179e3

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

bot.py

+1-24
Original file line numberDiff line numberDiff line change
@@ -301,30 +301,7 @@ def fetch_points_for_each_task() -> dict[str, int]:
301301
print(
302302
f"Could not read points.json in current directory so using hardcoded points. Error - {e}"
303303
)
304-
points_dict = {
305-
"pull request": 20,
306-
"info": 40,
307-
"blog": 60,
308-
"sm posting": 15,
309-
"caption": 5,
310-
"subordinate": 20,
311-
"weekly work": 5,
312-
"idea": 3,
313-
"brochure": 10,
314-
"news": 40,
315-
"demos": 20,
316-
"oc volunteer": 30,
317-
"oc assigned": 20,
318-
"oc no work": 10,
319-
"oc manager": 50,
320-
"wtf": 75,
321-
"discord": 10,
322-
"marketing": 20,
323-
"mini project": 100,
324-
"complete project": 200,
325-
"promotion medium": 25,
326-
"promotion large": 50,
327-
}
304+
exit()
328305

329306
return points_dict
330307

0 commit comments

Comments
 (0)