Giter Site home page Giter Site logo

discord-mod-mail's Introduction

discord-mod-mail

Simple mod-mail system for Discord. See config.ini.example for configuration, copy to config.ini to use.

Python 3.6 or later is required. discord.py 1.5 or later is required.

Command usage to reply is only limited to the channel used for mod-mail, and not to users with specific roles. Don't allow everyone to send messages to the mod-mail channel because there is no role-check.

If you are adding a new bot to your server, you can use this link(replace client_id):

  • https://discordapp.com/oauth2/authorize?&client_id=<client_id>&scope=bot

Make sure to add the bot to your private mod-mail channel with Read Messages, Send Messages, and Manage Messages.

Command usage

Assuming default prefix ? is used.

  • ?<userid> <message> - send message to user with userid
  • ?r <message> - reply to last user who contacted mod-mail
  • ?m - get @mention for the last user who contacted mod-mail
  • ?ignore <userid> [reason] - ignore messages from userid with optional reason
  • ?qignore <userid> - quiet ignore, don't notify user
  • ?unignore <userid> - stop ignoring messages from userid

Docker

A Docker image is provided for the latest release. To run, make sure to mount a path or volume to /home/modmail/data. config.ini must be placed in this directory, and must be writable for modmail_data.sqlite to be added. The uid of the container user is 3913.

Example:

docker run -v /opt/modmail-data:/home/modmail/data ianburgwin/discord-mod-mail:latest

License

MIT license

discord-mod-mail's People

Contributors

ihaveamac avatar lyricly avatar noirscape avatar frozenchen avatar thejsa avatar redcubie 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.