remotes/1693045480750635534/spooky-22
Aevann1 2021-10-16 11:53:07 +02:00
parent 0474c25fb8
commit 623c691a99
4 changed files with 31 additions and 11 deletions

View File

@ -279,12 +279,28 @@ Thank you."""
BASED_MSG = "@{username}'s Based Count has increased by 1. Their Based Count is now {basedcount}.\n\nPills: {pills}"
BASEDBOT_ACCOUNT = 800
NOTIFICATIONS_ACCOUNT = 1046
if site == "pcmemes.net": AUTOJANNY_ACCOUNT = 1050
else: AUTOJANNY_ACCOUNT = 2360
LONGPOSTBOT_ACCOUNT = 1832
AUTOPOLLER_ACCOUNT = 3369
if site == "pcmemes.net":
BASEDBOT_ACCOUNT = 800
NOTIFICATIONS_ACCOUNT = 1046
AUTOJANNY_ACCOUNT = 1050
SNAPPY_ACCOUNT = 261
LONGPOSTBOT_ACCOUNT = 1832
ZOZBOT_ACCOUNT = 1833
AUTOPOLLER_ACCOUNT = 3369
elif site == 'rdrama.net':
NOTIFICATIONS_ACCOUNT = 1046
AUTOJANNY_ACCOUNT = 2360
SNAPPY_ACCOUNT = 261
LONGPOSTBOT_ACCOUNT = 1832
ZOZBOT_ACCOUNT = 1833
AUTOPOLLER_ACCOUNT = 3369
else:
NOTIFICATIONS_ACCOUNT = 1
AUTOJANNY_ACCOUNT = 2
SNAPPY_ACCOUNT = 3
LONGPOSTBOT_ACCOUNT = 4
ZOZBOT_ACCOUNT = 5
AUTOPOLLER_ACCOUNT = 6
PUSHER_INSTANCE_ID = '02ddcc80-b8db-42be-9022-44c546b4dce6'
PUSHER_KEY = environ.get("PUSHER_KEY", "").strip()

View File

@ -420,7 +420,7 @@ def api_comment(v):
c2 = Comment(author_id=1833,
c2 = Comment(author_id=ZOZBOT_ACCOUNT,
parent_submission=parent_submission,
parent_comment_id=c.id,
level=level+1,
@ -447,7 +447,7 @@ def api_comment(v):
c3 = Comment(author_id=1833,
c3 = Comment(author_id=ZOZBOT_ACCOUNT,
parent_submission=parent_submission,
parent_comment_id=c2.id,
level=level+2,
@ -470,7 +470,7 @@ def api_comment(v):
body_html2 = sanitize(body_md)
c4 = Comment(author_id=1833,
c4 = Comment(author_id=ZOZBOT_ACCOUNT,
parent_submission=parent_submission,
parent_comment_id=c3.id,
level=level+3,

View File

@ -854,7 +854,7 @@ def submit_post(v):
body_html = sanitize(body_md)
c = Comment(author_id=261,
c = Comment(author_id=SNAPPY_ACCOUNT,
distinguish_level=6,
parent_submission=new_post.id,
level=1,

View File

@ -51,6 +51,10 @@ INSERT INTO public.users (
0, 'zozbot', '', 'hot', 'top', 'day', '62ca56', 'e4432d', '', '',
'', 'dark', '30409f', false, false, '', '', 0, false, 0,
0, 0, '', true, 0);
(6, 'AutoPoller', '', 0, 0, true, true, '', '', 0, false,
0, 'AutoPoller', '', 'hot', 'top', 'day', '62ca56', 'e4432d', '', '',
'', 'dark', '30409f', false, false, '', '', 0, false, 0,
0, 0, '', true, 0);
SELECT pg_catalog.setval('public.users_id_seq', 5, true);
SELECT pg_catalog.setval('public.users_id_seq', 6, true);