Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Discord Voice Channel Spammer
- Made by @hunter_bdm
- How to Start:
- 1. Open Discord
- 2. Ctrl+Shift+i
- 3. Paste script in console
- How to Stop:
- 1. Run "stop=true" in console
- */
- global.stop = false;
- global.channelOne = 'general'; // Channel you want to hear voice from
- global.channelTwo = 'lobby'; // Other open channel you can switch to
- global.divOne = divByText(channelOne);
- global.divTwo = divByText(channelTwo);
- global.$ = $;
- function divByText(searchText) {
- var divTags = $("div .nameDefaultVoice-1swZoh")
- var divTags = document.getElementsByTagName("div");
- var found;
- for (var i = 0; i < divTags.length; i++) {
- if (divTags[i].textContent == searchText && (divTags[i].className.includes('nameDefaultVoice') || divTags[i].className.includes('nameConnectedVoice'))) {
- found = divTags[i];
- return found;
- }
- }
- }
- function start() {
- if (!stop) {
- divTwo.click();
- divOne.click();
- setTimeout(() => start(), 50);
- }
- }
- start();
Add Comment
Please, Sign In to add comment