status message fixed

This commit is contained in:
Owen
2025-01-13 12:53:26 +01:00
committed by Owen Rees
parent b806b78b23
commit 1c84a97fb8
+1 -1
View File
@@ -11,7 +11,7 @@ defmodule PlantIdDiscordBot.Consumer do
def handle_event({:READY, _data, _ws_state}) do def handle_event({:READY, _data, _ws_state}) do
Api.create_global_application_command(@global_application_commands) Api.create_global_application_command(@global_application_commands)
Api.update_status(:online, %{name: "Guess the Plant | /help", type: 0}) Api.update_status(:online, "Guess the Plant | /help")
end end
def handle_event({:INTERACTION_CREATE, %{data: %{name: command}} = interaction, _ws_state}) do def handle_event({:INTERACTION_CREATE, %{data: %{name: command}} = interaction, _ws_state}) do