From 7c14b540e65b5831040b19b94282f933e8da401d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 12 Oct 2024 17:13:33 +0200 Subject: [PATCH] update @moduledoc --- lib/HahaCommands/download.ex | 2 +- lib/HahaCommands/ping.ex | 2 +- lib/events/ready.ex | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/HahaCommands/download.ex b/lib/HahaCommands/download.ex index 931fca9..f75ac6b 100644 --- a/lib/HahaCommands/download.ex +++ b/lib/HahaCommands/download.ex @@ -1,6 +1,6 @@ defmodule HahaYes.Commands.Download do @moduledoc """ - Contain all the function for each commands + Download command """ alias Nostrum.Api diff --git a/lib/HahaCommands/ping.ex b/lib/HahaCommands/ping.ex index 4809552..7e7c591 100644 --- a/lib/HahaCommands/ping.ex +++ b/lib/HahaCommands/ping.ex @@ -1,6 +1,6 @@ defmodule HahaYes.Commands.Ping do @moduledoc """ - Contain all the function for each commands + Ping command """ alias Nostrum.Api diff --git a/lib/events/ready.ex b/lib/events/ready.ex index 1408fc8..15e7405 100644 --- a/lib/events/ready.ex +++ b/lib/events/ready.ex @@ -1,4 +1,10 @@ defmodule HahaYes.Events.ReadyConsumer do + @moduledoc """ + Triggered when the bot is ready to responds. + + Also give some stats. + """ + use Nostrum.Consumer def handle_event({:READY, event, _ws_state}) do