Initial commit
/ build-deploy (push) Successful in 2m28s
Details
/ build-deploy (push) Successful in 2m28s
Details
This commit is contained in:
parent
20c64e59ad
commit
55f794e8ef
2
main.go
2
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
|
||||
|
|
Loading…
Reference in New Issue