description |
---|
Loop over every guild channel in the guild executing an awaited command |
This function creates a loop for every channel in the current guild
This function has 1 required field
- Awaited Command (Required)
- Awaited Command 2 (Optional)
- Etc
Raw Usage: $forEachGuildChannel[awaitedCommand1;awaitedCommand2;...]
- Awaited Command(s) - The awaited command(s) we're executing
bot.command({
name: "forEachGuildChannel",
code: "$forEachGuildChannel[loop3]"
})
bot.awaitedCommand({
name: "loop3",
code: `$setChannelVar[hello;bye]` //Every channel in the current guild value for 'hello' will be 'bye'
})