pigpog / channelchanger Goto Github PK
View Code? Open in Web Editor NEWDiscord bot that changes voice channel names based on what game people are playing in it
Discord bot that changes voice channel names based on what game people are playing in it
"This bot can't join more servers as it has not been verified or is requesting gateway intents it has not been verified for. Ask the bot's developer about https://dis.gd/bot-verification so you can add it to your server!"
Hey, im having issue using the bot as its timing out every 10 seconds.
Can't get this bot to work as it doesn't have a package.json? Can you help me out please? Also, does this bot set room names automatically, or do users need to use the command everytime to change the room name.
I'm not sure if this is intended functionality but the bot will set the channel name if one person is playing a game but two people are not. I have it set to majority 60 which I thought would leave the channel name at default unless 60%+ were playing the same game.
I have installed this bot on a Ubuntu 20.04 machine together with the discord.js & jsonfile packages.
When executing it (node channelchanger.js), it throws the following error:
/opt/ChannelChanger/node_modules/discord.js/src/client/Client.js:41
} catch {
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/opt/ChannelChanger/node_modules/discord.js/src/index.js:8:11)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.