[fix] Removed 'cleanup' that included a plain text token

This commit is contained in:
Dominika 2021-01-09 13:28:28 -05:00
parent b6327e5dc4
commit 7ba5b646be
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F
1 changed files with 2 additions and 4 deletions

View File

@ -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())}!")
}
}
@ -49,4 +47,4 @@ object DiscordNotifsCommand : ClientCommand(
}
}
}
}
}