From 55f794e8ef1a1a3842845130884ca8267ec236a1 Mon Sep 17 00:00:00 2001 From: Florian Beisel Date: Wed, 10 Jan 2024 00:17:15 +0100 Subject: [PATCH] Initial commit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 490fabe..0c17427 100644 --- a/main.go +++ b/main.go @@ -145,7 +145,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { } } -// generatePassword creates a secure, random password of a given length +// generatePassword creates a secure, random password of a given length. func generatePassword(length int) (string, error) { const charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" var password strings.Builder