Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 7649709

Browse files
committed
Update main.go
1 parent 6c009bb commit 7649709

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go_spammer/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ func SendChannelMessages(channelIDs *C.char, message *C.char, content *C.char) {
218218
go func(t string) {
219219
defer wg.Done()
220220
tools := &Tools{Token: t}
221-
goRandomChannel := randomChannelID(goChannelIDs)
222-
_, err := tools.sendMessageEmbed(goRandomChannel, goMessage, goContent)
221+
goRandomChannelID := randomChannelID(goChannelIDs)
222+
_, err := tools.sendMessageEmbed(goRandomChannelID, goMessage, goContent)
223223
if err != nil {
224-
fmt.Printf("There was an error sending message to %s with the token %s: %s\n", goRandomChannel, t, err)
224+
fmt.Printf("There was an error sending message to %s with the token %s: %s\n", goRandomChannelID, t, err)
225225
}
226226

227227
}(token)

0 commit comments

Comments
 (0)