Warning
This is a recovered project from an older repo. Some features may be broken or work only partialy. FIXES SOON 💪
- Download and install Node.js (latest v24)
- Your own Discord bot via Discord Developer Portal
| Slash command | Description |
|---|---|
| /set-channel [channel] | sets which channel to hide/unhide |
| /hide-channel | hides the channel from everyone |
| /unhide-channel | unhides the channel from everyone |
| /show-config | Show the current configuration |
| /ping | gets the bot's latency |
| /help | shows all available commands |
- Download the repositary to your computer/server. Choose which option your prefer more:
- Click the blue button
Code>Download ZIPon the main page - Clone with
git clone https://gitea.oryks.org/sejmix/discord-channel-hider.gitin your terminal
- Navigate to the project's directory
- Install dependencies
- run
npm installin your terminal to install all packgaes
- Configuring ⚙️
- open
.envfile to configurate:- replace
TOKENwith your bot token - replace
BOT_IDwith your bot ID - replace
GUILD_IDwith the server ID your bot is in
- replace
- Start the bot 🎉
- run
node 'src/slash-commands.js'to register slash commands - finally, run
node 'src/index.js'to start the bot
Note
You have to run node 'src/slash-commands.js' only once. The slash commands will be registered in your Discord Guild/Server.
- Save config to a file
config.jsoninstead of a local variable - Add embeded messages instead of normal replies
- Add
/show-configcommand to check the current configuration - Multiple channels/categories support (maybe)
- Role provilages - only allowed people can use bot`s commands
If you found a bug or have an idea, create a new issue in the Issue tab or create a new Pull request
Made by sejmix from Oryks Team