 defmodule TougouBot.Debug do
   use Alchemy.Cogs
+  alias Alchemy.Embed
+  import Embed
 
   Cogs.def ping do
     Cogs.say "pong!"


  Cogs.def help do
    cmds = Enum.map(Cogs.all_commands, fn ({k, _}) -> k end)
    Cogs.say "```"<>descriptions_from_cmds(cmds)<>"```"
  end

  defp descriptions_from_cmds([]) do

  defp command_descriptions do
    descriptions = 
    %{
      "ping" => "Tougou-chan should reply with pong!",
      "status" => "Tougou-chan will tell you about her running version, "<>
                  "her uptime, and her memory/io stats.",
      "jisho" => "Takes one `word` as an argument. Tougou-chan will check jisho "<>
                  "for the first word you give her and tell you its reading/meaning.",
      "vndb" => "Takes one `term` as an argument. Tougou-chan will give you the most popular vn "<>
                "that she can find using the term on vndb.",
      "vndbrng" => "Tougou-chan will give you a random vn from vndb",
      "tag" => "Takes one `tag` as an argument Tougou-chan will attempt to "<>
                "recall the content associated with the given tag",
      "ntag" => "Takes one `tag`, then one `content` as arguments. Tougou-chan "<>
                "will learn and remember a new tag->content pair.",
      "dtag" => "Takes one `tag` as an argument. Tougou-chan will forget the specified tag",
      "atags" => "gives a list of all `tags` that Tougou-chan knows",
      "help" => "gives a list of all commands and their descriptions"
    }
  end
end