Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Channel Hider Bot

Quickly hide/unhide a Specific Channel from Everyone in the Discord Server


Warning

This is a recovered project from an older repo. Some features may be broken or work only partialy. FIXES SOON 💪

Requirements:

Features:

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

Setup and running:

  1. Download the repositary to your computer/server. Choose which option your prefer more:
  • Click the blue button Code > Download ZIP on the main page
  • Clone with git clone https://gitea.oryks.org/sejmix/discord-channel-hider.git in your terminal
  1. Navigate to the project's directory
  2. Install dependencies
  • run npm install in your terminal to install all packgaes
  1. Configuring ⚙️
  • open .env file to configurate:
    • replace TOKEN with your bot token
    • replace BOT_ID with your bot ID
    • replace GUILD_ID with the server ID your bot is in
  1. 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.

Enjoy!

TODO:

  • Save config to a file config.json instead of a local variable
  • Add embeded messages instead of normal replies
  • Add /show-config command to check the current configuration
  • Multiple channels/categories support (maybe)
  • Role provilages - only allowed people can use bot`s commands

Report an issue or suggestion

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

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages