🔨 | Moderation-based Discord bot initally created for the Discord hackweek, now it is still regularly maintained.
Check out the wiki!
First, check our contributing guidelines and code of conduct.
- Auto Moderation - Prevents raids, spam, ads and many more!
- Lockdown command - locks one, multiple or all channels for a specific role downwards
- Moderation commands - many moderation commands to simplify your moderators' work.
- Moderation Log and Cases - easy and organized way of seeing the actions done by you and your mods!
- Advanced warning system and auto punishments - automatically punish those who commit offenses!
- Clone the repository using Git:
git clone https://github.com/NinoDiscord/Nino
(If you don't have Git, just go to "Clone or download" and click "Download ZIP" then extract) - Install dependencies with NPM (included in Node.js):
npm i
(or with Yarnyarn
) - Create an application.yml file in your working directory and fill it in (see the example for more information)
- Compile TypeScript (install TypeScript with
npm i -g typescript
or with Yarnyarn global add typescript
):tsc
- Run the bot in the
dist
directory:node bot.js
- Invite the bot to your server:
https://discordapp.com/oauth2/authorize?client_id=BOTIDHERE&scope=bot
(replace "BOTIDHERE" with your Discord bot's client id)
(4 and 5 can be bypassed by running npm run main
)
Bot credentials (+ extra information) and personal touches are obviously your responsibility. You should know this by now, I hope.
environment: 'development'
databaseUrl: 'mongodb://localhost:27017/database'
mode: 'development'
sentryDSN: 'Your Sentry DSN'
discord:
token: 'TOKEN'
prefix: 'x!'
# options from ioredis
# read here: https://github.com/luin/ioredis/blob/master/API.md#new-redisport-host-options
redis:
host: 'localhost'
port: 6379
If you wish to use the source code for a project, please add proper crediting in your code using the LICENSE displayed here.