defmodule HahaCommands do @moduledoc """ Contain all the function for each commands """ alias Nostrum.Api @doc """ Reply with a simple "Pong!" ## Example User: h3h3 ping Bot: Pong! """ def ping(msg) do Api.create_message(msg.channel_id, "Pong!") end @doc """ Download the video sent by the user at 480p max. ## Parameters - url: String that represents the URL to download a video from. ## Examples User: h3h3 download https://x.com/i/status/1844807680373768595 Bot: