Giter Club home page Giter Club logo

adminator's Introduction

Adminator

Self-hosted admin Discord bot

Now on repl.it

How to use

This bot is hosted on repl.it so you may want to follow the idiot's guide

Just create a Repl from this repo and in the .env file add these lines:

DISCORD_TOKEN=nYOURz.kBOTw.qTOKENx_kGOESd-gHEREp
ADMIN_ROLE_ID=123456789

Replace the values with your actual bot token and admin role ID

For the hosting part follow the guide

Configuration

Once Adminator is up and running you can edit the settings.json file to enable/disable features

Default:

{
  "welcomemsg": true,
  "automod": false,
  "nocommunity": false,
  "automodpunishment": "kick",
  "badwords": ["Fuck", "fuck", "Bitch", "bitch", "Asshole", "asshole"]
  "prefix": "a/"
}

I'm going to explain these values:

  • welcomemsg (type: boolean)

    • default: true
    • Enable/Disable the welcome message in member.guild.channels.cache.find(ch => ch.name === 'member-log')
  • automod (type: boolean)

    • default: false
    • Enable/Disable automatic moderation by filtering words present in badwords (more on that later)
  • nocommunity (type: boolean)

    • default: false
    • Enable/Disable rules agreement on servers without Discord's "Community" feature enabled (Only enable if your server is NOT a community enabled one)
  • badwords (type: array)

    • default: ["Fuck", "fuck", "Bitch", "bitch", "Asshole", "asshole"]
    • Add/Remove filtered words for the automod feature
  • automodpunishment (type: string)

    • dafault: kick
    • Change the punishment that automod gives a pertruder once they send a message with a forbidden word
    • Options: kick, delete
  • prefix (type: string)

    • default: a/
    • Change the bot's prefix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.