From 1cd3ab321bf7c9b5aa93e3a315f1a1a0ca4c784b Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 6 Apr 2020 19:37:51 -0800 Subject: [PATCH] Update comments for Godoc --- structs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structs.go b/structs.go index f1b3177..4b256d0 100644 --- a/structs.go +++ b/structs.go @@ -8,7 +8,7 @@ package disgoman import "github.com/bwmarrin/discordgo" -// A CommandManager which will hold the info and structures required for handling command messages +// CommandManager holds the info and structures required for handling command messages type CommandManager struct { // Function which returns a list of strings which are to be used as prefixes Prefixes PrefixesFunc @@ -26,7 +26,7 @@ type CommandManager struct { CheckPermissions bool } -// A StatusManager which will update the status of the bot +// StatusManager updates the status of the bot type StatusManager struct { // Values that will be used for the status Values []string @@ -34,7 +34,7 @@ type StatusManager struct { Interval string } -// A Command with all of the info specific to this command +// Command contains all of the info specific to this command type Command struct { // The name of the command Name string @@ -52,7 +52,7 @@ type Command struct { Invoke CommandInvokeFunc } -// Context that a command needs to run +// Context contains all the context that a command needs to run type Context struct { // Discordgo Session Object Session *discordgo.Session