Voice channel name change fails silently after 2 successful attempts
I'm using a bot with
Administrator permissions to rename a voice channel via channel.setName(). The first two attempts work fine, but from the third attempt onward, the name doesn't change — and no error is thrown.
Here’s the relevant code snippet:
As shown, there’s a 5-second delay and a .catch() block — but no error is logged, and ✅ Name changed! appears in the console, even though the name doesn’t actually change in Discord.
Tested on multiple servers. The bot has full Administrator permissions and no permission issues are present.
Expected: The channel name should change every time after the cooldown, not just for the first two tries.6 Replies
1) channels, nor guilds, need to be fetched if you have the Guilds intent.
2) there's a strict ratelimit on setting the name and topic of channels, twice every 10 minutes
Thx
Is there a rate limit for locking/unlocking voice channels or changing the user limit frequently via bot?
Ratelimits are dynamically assigned by the API based on current load and may change at any point.
- The scale from okay to API-spam is sliding and depends heavily on the action you are taking
- Rainbow roles, clock and counter channels, and DM'ing advertisements to all members are all examples of things that are not okay
The only thing thats certain is the name and topic change limit
thx