Skip to content

Commit

Permalink
removes hard coded discord links (#4736)
Browse files Browse the repository at this point in the history
i hate hardcoded urls

:cl:
fix: mentorhelp response no longer gives a dead discord link
/:cl:
  • Loading branch information
harryob authored Oct 21, 2023
1 parent c32d56d commit 497f0d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/modules/mentor/mentorhelp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
var/msg = SPAN_MENTORSAY("<span class='prefix'>Autoresponse:</span> <span class='message'>[choice]</span>")
switch(choice)
if("L: Discord")
msg += "You can join our Discord server by using <a href='https://discordapp.com/invite/TByu8b5'>this link</a>!"
msg += "You can join our Discord server by using <a href='[CONFIG_GET(string/discordurl)]'>this link</a>!"
if("L: Xeno Quickstart Guide")
msg += "Your answer can be found on the Xeno Quickstart Guide on our wiki. <a href='[CONFIG_GET(string/wikiarticleurl)]/[URL_WIKI_XENO_QUICKSTART]'>Check it out here.</a>"
if("L: Marine Quickstart Guide")
Expand Down
2 changes: 1 addition & 1 deletion interface/interface.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
if(tgui_alert(src, "This will open the discord in your browser. Are you sure?", "Confirm", list("Yes", "No")) != "Yes")
return

src << link("https://discord.gg/cmss13")
src << link("[CONFIG_GET(string/discordurl)]")
return

/client/verb/submitbug()
Expand Down

0 comments on commit 497f0d5

Please sign in to comment.