[MIRROR] TGUI Say: Upgrades chat input with modern features [MDB IGNORE] (#14375)

* TGUI Say: Upgrades chat input with modern features

* yes

Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-06-17 02:12:42 +01:00
committed by GitHub
co-authored by Jeremiah Gandalf
parent 5c9044c4e1
commit 7a653adfbb
76 changed files with 2001 additions and 708 deletions
+2 -3
View File
@@ -99,8 +99,6 @@
custom_name = FALSE
command_name = params["updated_name"]
if("update_report_contents")
command_report_content = params["updated_contents"]
if("set_report_sound")
played_sound = params["picked_sound"]
if("toggle_announce")
@@ -109,9 +107,10 @@
if(!command_name)
to_chat(ui_user, span_danger("You can't send a report with no command name."))
return
if(!command_report_content)
if(!params["report"])
to_chat(ui_user, span_danger("You can't send a report with no contents."))
return
command_report_content = params["report"]
send_announcement()
return TRUE