   end
 
   def set_command(msg, [host]) do
-    set_command(msg, [host, "25_565"])
+    set_command(msg, [host, "25565"])
   end
 
   def set_command(msg, [host, port]) do
     # TODO: validate user input
-
     _check_set_perms(msg)
     {int_port, ""} = Integer.parse(port)
 
+    guild_id =
+      case msg.guild_id do
+        nil -> "dm"
+        _ -> msg.guild_id
+      end
+
     Redix.command!(:redix, [
       "HSET",
-      msg.guild_id,
+      guild_id,
       msg.channel_id,
       Jason.encode!(%{"host" => host, "port" => int_port})
     ])

  def set_command(msg, []) do
    _check_set_perms(msg)

    Redix.command!(:redix, ["HDEL", msg.guild_id, msg.channel_id])

    Api.create_message!(
      msg.channel_id,

  end

  def _get_game_server_info!(msg) do
    guild_id =
      case msg.guild_id do
        nil -> "dm"
        _ -> msg.guild_id
      end

    json = Redix.command!(:redix, ["HGET", guild_id, msg.channel_id])

    if json do
      Jason.decode!(json)
