forked from rDrama/rDrama
scsdMerge branch 'frost' of https://github.com/Aevann1/Drama into frost
commit
414b55cd26
|
@ -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",
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue