Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
[fix] Removed 'cleanup' that included a plain text token
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT2 committed Jan 9, 2021
1 parent b6327e5 commit 7ba5b64
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ object DiscordNotifsCommand : ClientCommand(
literal("id") {
long("discord user id") { idArg ->
execute("Set the ID of the user to be pinged") {
DiscordNotifs.pingID.value = idArg.value.toString()

MessageSendHelper.sendChatMessage(urlRegex.matches("https://ptb.discord.com/api/webhooks/791291547592687626/ZcYa1pdaOcgTMzimKePOyxieuVj8abDBMDBEtg30npXHryIa0NEGCwxTYXS9AOKUbggB").toString())
DiscordNotifs.pingID.value = idArg.value.toString()
MessageSendHelper.sendChatMessage("Set Discord User ID to ${formatValue(idArg.value.toString())}!")
}
}
Expand Down Expand Up @@ -49,4 +47,4 @@ object DiscordNotifsCommand : ClientCommand(
}
}
}
}
}

0 comments on commit 7ba5b64

Please sign in to comment.