scsdMerge branch 'frost' of https://github.com/Aevann1/Drama into frost

remotes/1693045480750635534/spooky-22
Aevann1 2022-05-26 18:10:16 +00:00
commit 414b55cd26
3 changed files with 3 additions and 3 deletions

View File

@ -669,7 +669,7 @@ def admin_userawards_post(v):
for key, value in notify_awards.items():
note += f"{value} {AWARDS[key]['title']}, "
if len(note) > 256: return {"error": "You're giving too many awards at the same time!"}
if len(note) > 500: return {"error": "You're giving too many awards at the same time!"}
ma=ModAction(
kind="grant_awards",

View File

@ -1118,7 +1118,7 @@ def submit_post(v, sub=None):
if blackjack and any(i in f'{post.body} {post.title} {post.url}'.lower() for i in blackjack.split()):
v.shadowbanned = 'AutoJanny'
g.db.add(v)
send_repeatable_notification(CARP_ID, post.permalink)
if CARP_ID: send_repeatable_notification(CARP_ID, post.permalink)
if v and v.admin_level > 2:
for option in bet_options:

View File

@ -380,7 +380,7 @@ CREATE TABLE public.modactions (
target_comment_id integer,
created_utc integer NOT NULL,
kind character varying(32) DEFAULT NULL::character varying,
_note character varying(256) DEFAULT NULL::character varying
_note character varying(500) DEFAULT NULL::character varying
);