diff --git a/Hyperbot/message.txt b/Hyperbot/message.txt deleted file mode 100644 index 91862904..00000000 --- a/Hyperbot/message.txt +++ /dev/null @@ -1,5 +0,0 @@ -!**The Round has ended!**```Round ID: -Round Time: 4 minutes and 35.3 seconds -Total Population: 1``` -**The Crew!** ```Sophie Johnson -``` diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 4fee66aa..3c390545 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -212,11 +212,6 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) log_admin_private("Ticket #[id]: [key_name(initiator)]: [name] - heard by [admin_number_present] non-AFK admins who have +BAN.") if(admin_number_present <= 0) to_chat(C, "No active admins are online. **Please send your Adminhelp to the discord channel with an '@Admin'**.") - //hyper change, because we have our own bot, the notification has to be loaded into a file, for the bot to read. - fdel("Hyperbot/ahelp.txt") - var botmsg = "**[initiator_key_name]** *([GLOB.round_id])*```[msg]```" - text2file(botmsg,"Hyperbot/ahelp.txt") - heard_by_no_admins = TRUE GLOB.ahelp_tickets.active_tickets += src /datum/admin_help/Destroy() diff --git a/hyperstation/code/hyperbot/hyperbot.dm b/hyperstation/code/hyperbot/hyperbot.dm deleted file mode 100644 index 118e0114..00000000 --- a/hyperstation/code/hyperbot/hyperbot.dm +++ /dev/null @@ -1,16 +0,0 @@ -//not the most effient bot in the world, but it does its job. - -/client/proc/discordmessage(input as message) - set category = "Special Verbs" - set name = "Hyperbot Message" - set desc = "Makes the local bot say something in general chat on discord." - - if(input) - world.hypermessage(input) - message_admins("[key_name_admin(usr)] has made the Hyperbot post '[input]' in General.") - -/world/proc/hypermessage(message) - fdel("Hyperbot/message.txt") //cleaning up old message - if(message) - var botmsg = "![message]" - text2file(botmsg,"Hyperbot/message.txt") //the bot on local reads a new text file and sends it to the discord. \ No newline at end of file