mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
change block emoji to something visible
This commit is contained in:
parent
55f9f8f5eb
commit
2a153cffa4
|
@ -48,7 +48,7 @@ def buttons_hook(message, metadata, context, change):
|
|||
BUTTON_PREFIX = context.client.WIKI_SCRIPT_PATH[len(context.client.WIKI_JUST_DOMAIN):]
|
||||
if "block" in action_buttons and context.event != "suppressed":
|
||||
add_button(message, BUTTON_PREFIX + " block " + ( "#" + str(change["userid"]) if change["userid"] else change["user"] ),
|
||||
action_buttons["block"], 4, {"id": None, "name": "🚫"})
|
||||
action_buttons["block"], 4, {"id": None, "name": "🚧"})
|
||||
if context.feed_type != "recentchanges":
|
||||
return
|
||||
if "delete" in action_buttons and context.event in ("new", "upload/upload"):
|
||||
|
|
Loading…
Reference in a new issue