fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/6275441#context
parent
4fc22b0e0c
commit
a00e2cb9bb
|
@ -228,17 +228,18 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, obj=None, followers_ping=Tr
|
||||||
|
|
||||||
notify_users.update(members)
|
notify_users.update(members)
|
||||||
|
|
||||||
realghost = ghost and i.group(1) != 'ghosts'
|
if charge:
|
||||||
if (realghost or v.id not in member_ids) and i.group(1) != 'followers':
|
realghost = ghost and i.group(1) != 'ghosts'
|
||||||
if group and group.name == 'verifiedrich':
|
if (realghost or v.id not in member_ids) and i.group(1) != 'followers':
|
||||||
abort(403, f"Only !verifiedrich members can mention it!")
|
if group and group.name == 'verifiedrich':
|
||||||
cost += len(members) * 5
|
abort(403, f"Only !verifiedrich members can mention it!")
|
||||||
cost_groups.append(i.group(1))
|
cost += len(members) * 5
|
||||||
if cost > v.coins + v.marseybux:
|
cost_groups.append(i.group(1))
|
||||||
abort(403, f"You need {cost} currency to mention these ping groups!")
|
if cost > v.coins + v.marseybux:
|
||||||
|
abort(403, f"You need {cost} currency to mention these ping groups!")
|
||||||
|
|
||||||
if i.group(1) in {'biofoids','neofoids','jannies'}:
|
if i.group(1) in {'biofoids','neofoids','jannies'}:
|
||||||
coin_receivers.update(member_ids)
|
coin_receivers.update(member_ids)
|
||||||
|
|
||||||
if charge:
|
if charge:
|
||||||
if cost:
|
if cost:
|
||||||
|
|
Loading…
Reference in New Issue