This is a Blacklist manager for in channel blacklists. Maybe your game or similar doesn't have a way to manage users you need to remember. If that is the case then Blacklist Butler will be your new friend that easily stores your names or similar in a text channel.
Go to a link bellow and pick the server you want to add the bot to.
- Open a command prompt in the projects root folder.
- New make sure you have Node.js and run 'npm install'.
- Now go to Discord and make a new application with whatever name and so on that you want.
- Save the token and make sure not to share it with anyone.
- Next make a .env file in the project root folder and add 'DISCORD_TOKEN=' followed by your token from you just saved.
- Now just run 'npm run serve' and the bot will be up and running (only this step is needed in the future)
- To add the bot to your server.
- Go to your bot on Discord again.
- Go to OAuth2 -> URL Generator.
- For the scope pick bot and application.commands.
- for the permissions pick Read Messages/View Channels, Send Messages, Manage Messages.
- Copy and save the link.
- Enter the link in a web browser and pick the server you want to add the bot to.
- Make a channel named
blacklist
. - (optional) set a prefix with command
/blacklist set-prefix
- A prefix is a string that will be added to the start of the header of the message.
- Don't recommend doing it later, as support hasn't been added so the blacklist is updated.
- Init the list with
/blacklist inti
.- if the chat has an old blacklist, then use the option
has-old-list
set totrue
. - If the list should be initialized with additions, then use the option
has-old
set totrue
. Messages in the channel should be in the formatadd <name>
to be added on initialization.
- if the chat has an old blacklist, then use the option
- Use the
/blacklist print
command (recommend not sending any options).clean
set true, will remove an old list if exists.
Simply use the /add or /remove commands and give the name that you want to add or remove from the list.
To allow non-administrator roles access to the bot's admin functions, use the /add-admin-role and /remove-admin-role commands. Simply pick the role you wish to give or deny access to the admin commands.
Want to know what your discord id or the servers id, then use the /user or /server commands.
Want to play a little ping pong? Just use the command ping, and the bot will reply with pong.