mirror of
https://github.com/TheRealOwenRees/plantid-discord-bot.git
synced 2026-07-23 04:26:57 +00:00
status command
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user