Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

DefinityTeam/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

22 Commits

Repository files navigation

Definity Bot

Discord bot for server moderation.
Primarily built by @sudocode1.

What does it do?

This bot has all the moderation tools required for our Discord server. This includes banning, kicking, a warning system and a few more tools.
Feel free to contribute!

Self-hosting

This bot is intended for use in one server, not across multiple servers.

Requirements

  • Node.js v15 (not tested on v14-)
  • discord.js NPM package
  • The bot files
  • SERVER MEMBERS INTENT ENABLED
  • token.json

Content of token.json:

{
 "BOT_TOKEN": "YOUR_BOT_TOKEN",
 "WEBHOOK_ID": "YOUR_DEBUG_WEBHOOK_ID",
 "WEBHOOK_TOKEN": "YOUR_DEBUG_WEBHOOK_TOKEN"
}

WEBHOOK_ID and WEBHOOK_TOKEN are required if you enable debug in the config.


We recommend that you change some elements of the code that are not editable in the config yet.

A primary example of this is ID_CHECK in ban, kick, warn and unwarn. This should be your bots id.

Another example is bot.user.setActivity (ClientUser#setActivity).

Contributing

Contributions are welcome! Just make a pull request and we'll check if your code is useful. If it is, we'll probably add it!

If we deny your PR, we will always give a proper reason.

If your contribution gets denied, don't feel disheartened! You can always try adding something else that could be better for the bot.

About

Bot for our Discord server.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /