status command

This commit is contained in:
Owen
2024-12-15 16:10:37 +01:00
parent 6ffbc7fedf
commit 7cf2e79c3e
10 changed files with 55 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
defmodule PlantIdDiscordBotTest.Cog.Info do
use ExUnit.Case
test "/info" do
{:ok, response} = PlantIdDiscordBot.Cog.Info.info(%{data: %{name: "info"}})
[embed] = response[:data][:embeds]
assert match?(%Nostrum.Struct.Embed{}, embed)
end
end