Code Monkey home page Code Monkey logo

automod-discord-bot's Introduction

AutoMod Discord Bot

This bot will handle miscellaeous moderation functions including an antispam filter - users who spam will be banned! It currently uses Discord Anti-spam code.

To use, rename config-TEMPLATE.json to config.json and replace all values with the corect information for your bot/server. Then run the bot with node bot.js or forever start bot.js (to keep it running perpetually)

It also comes with some moderation & other commands:

Moderator Commands:

  • .announce [channel] [message]
    • Sends an announcement (Embed) to the specified channel
  • .ban @user [reason]
    • Bans the user specified, and logs to the logging channel
  • .prune [user] [#]
    • Deletes [#] of messages from a channel by a specified user
  • .unban [userid] [reason]
    • Unbans the user ID specified and logs to bot-logs channel

Admin Commands:

  • .delete [#]
    • Deletes messages from a channel. Currently restricted to the Owner role, and requires the to have the 'Manage Messages' permission.
  • .say [channel] [message]
    • Speaks as the bot
  • .setbot [type] [arguments]
    • Allows you to change the bots game: .botgame [playing | listening | watching [text].

Miscellaneous user commands:

  • .botinfo
    • Displays information about AutoMod
  • .help [<category>]
    • Displays all commands available within this bot.
  • .roleinfo [role name]
    • Displays information about the entered role, including a list of users.
  • .myinfo [<user ID>]
    • Displays information relating to the user: name, roles, etc. If a user's ID is specified this will query the user, otherwise the command author will be displayed.

Owner Commands

  • .emit <type>
    • Emits an event for testing
  • .eval [script]
    • Payload testing; logs variable payload to console for testing reasons.
  • .reload [command]
    • Reloads the bots command to allow edits to take effect. Currently this is restricted to the owner of the bot
  • .stop
    • Stops the bot. Currently this is restricted to the owner of the bot.
  • .ts [whatever]
    • Test Command Pls Ignore

automod-discord-bot's People

Contributors

silversunset01 avatar

Watchers

 avatar

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.