Initial commit
/ build-deploy (push) Successful in 2m28s Details

This commit is contained in:
Florian Beisel 2024-01-10 00:17:15 +01:00
parent 20c64e59ad
commit 55f794e8ef
Signed by: florian
GPG Key ID: 79ECA2E54996FF4D
1 changed files with 1 additions and 1 deletions

View File

@ -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