depreciation notice: Discord has now added built in vc-text channels, the official instance of spindle has been offlined and this repo is now archived as I don't see a reason for it to exist when the feature it created now comes with discord by default.
Spindle is a discord bot used to manage channels. It allows you to link text channels and voice channels, so users can only view a text channel when they are in the linked voice channel. It can also automaticly create a text channel when someone joins a voice channel, and delete it when everyone leaves.
You can add offical instance of the bot to your server using: https://discord.com/api/oauth2/authorize?client_id=768705571481452545&permissions=8&scope=bot and join the development server at: https://discord.gg/4ufepDPkPy
Selfhosting:
This section is only if you want to host your own instance of the bot, if you just want to use the offical version you don't need to do this.
Before starting you will need:
- git installed
- npm (or yarn) and node.js installed
- a discord bot token from: https://discord.com/developers/applications
- a proccess manager like PM2 to restart spindle if (when) it crashes (technicly optional)
to install:
- Clone the repo (
git clone https://github.com/silvenlily/spindle.git) - open spindles root directory
- open the config folder
- copy
example-config.jsonand rename the new fileconfig.json - copy
example-tokens.jsonand rename the new filetokens.json - edit config.json and tokens.json with your config values and tokens
- open powershell or terminal in spindles root directory
- run:
npm install --production(installs dependencies) - run:
npm run start(starts spindle)
to update:
- open spindles root directory
- open powershell or terminal in spindles root directory
- pull the repo (
git pull) - run:
npm install --production(installs dependencies) - run:
node run start(this actually runs spindle)
note: If using a process manager you can also use node ./build/spindle.js to run spindle rather then the npm script. This may work better with some proccess managers.