diff --git a/src/main/java/me/zeroeightsix/kami/command/commands/DiscordNotifsCommand.kt b/src/main/java/me/zeroeightsix/kami/command/commands/DiscordNotifsCommand.kt index 169d9b472..1e7f9658d 100644 --- a/src/main/java/me/zeroeightsix/kami/command/commands/DiscordNotifsCommand.kt +++ b/src/main/java/me/zeroeightsix/kami/command/commands/DiscordNotifsCommand.kt @@ -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( } } } -} \ No newline at end of file +}