Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BotStudios/modmail.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modmail.js

NPM version NPM downloads Dependencies

npm installnfo

Table Of Contents


About

Modmail.js is an advance Discord Modmail template.

  • Performant
  • Build-in Plugins
  • Easy To Setup

Install

npm i modmail.js@latest

Example Usage

const modmail = require('modmail.js') 

modmail.on({ 
  token: 'BOT_TOKEN', 
  inbox: 'INBOX_CHANNEL_ID', 
  prefix: 'BOT_PREFIX', 
  message: '@mentions/messages', 
  inline: true, // inlineReply
  
  })
  .then(r=>{
  console.log(r)
  }).catch(err => {
  console.log(err)
  })

Startup

Getting Started With The Modmail Bot

  1. Replace BOT_TOKEN as your discord bot token, INBOX_CHANNEL_ID as a modmail inbox channel's id and BOT_PREFIX as your bot prefix

  2. You're all set ! Now you just have to run the the bot. e.g node index.js, e.g node bot.js.

How to use

  1. Allow private message from server members default:allowed

  2. DM ( Direct Message ) Your Bot And It will react ✅ to your message

  3. Check Your Inbox Channel, See If There's Anything

To Reply A User

  • <PREFIX>reply <USER_ID> <YOUR_MESSAGE> e.g. !reply 123456677544 Hello

Please Read Our Docs To Learn More.


Plugins

Use plugins to improve user experience

Links

License

APACHE 2.0

Packages

No packages published

Contributors 2

  •  
  •