Skip to content

Commit ce32363

Browse files
authored
Update README.md
1 parent 288edad commit ce32363

File tree

1 file changed

+0
-51
lines changed

1 file changed

+0
-51
lines changed

Diff for: README.md

-51
Original file line numberDiff line numberDiff line change
@@ -35,58 +35,8 @@ Modmail.js is an advance [Discord](https://discordapp.com) Modmail template.
3535
### Example Usage
3636

3737
```
38-
const { Modmail, Intents } = require('modmail.js')
3938
40-
(async () => {
41-
try{
42-
const modmail = await Modmail({
43-
token: 'BOT_TOKEN',
44-
inbox: 'INBOX_CHANNEL_ID',
45-
prefix: 'BOT_PREFIX',
46-
clientIntents: ['CLIENT_INTENTS'],
47-
message: '@mentions/messages',
48-
});
49-
console.log(modmail)
50-
}catch(e){
51-
console.log(e)
52-
}
53-
})()
5439
```
55-
56-
### Startup
57-
58-
__Getting Started With The Modmail Bot__
59-
60-
1. Replace `BOT_TOKEN` as your discord bot token, `INBOX_CHANNEL_ID` as a modmail inbox channel's id, `CLIENT_INTENTS` as Array Of [Privileged Intents Flags](https://botstudios.github.io/modmail.js/privileged-intents) and `BOT_PREFIX` as your [bot prefix](https://botstudios.github.io/modmail.js/prefix)
61-
62-
2. You're all set ! Now you just have to run the the bot. `e.g node index.js`, `e.g node bot.js`.
63-
64-
> [email protected] and above is required for this module. [Learn More](https://modmail.js.org)
65-
66-
#### How to use
67-
68-
1. Allow private message from server members `default:allowed`
69-
70-
2. DM ( Direct Message ) Your Bot And It will react ✅ to your message
71-
72-
3. Check Your Inbox Channel, See If There's Anything
73-
74-
**To Reply A User**
75-
76-
- `<PREFIX>reply <USER_ID> <YOUR_MESSAGE>` e.g. `!reply 123456677544 Hello`
77-
78-
Please Read Our [Docs](https://botstudios.github.io/modmail.js) To Learn More.
79-
80-
----
81-
82-
### Plugins
83-
Use plugins to improve user experience
84-
85-
- [ReplyToReply](https://botstudios.github.io/modmail.js/plugins/replyToReply)
86-
- [Cache](https://botstudios.github.io/modmail.js/plugins/cache)
87-
- [Extend](https://botstudios.github.io/modmail.js/plugins/extend)
88-
- [MongoDb](https://botstudios.github.com/modmail.js/plugins/MongoDB)
89-
9040
#### Links
9141

9242
- [Website](https://botstudios.github.io/modmail.js)
@@ -96,7 +46,6 @@ Use plugins to improve user experience
9646
- [Github Repo](https://github.com/botstudios/modmail.js)
9747
- [Self Hosting](https://github.com/botstudios/modmail)
9848

99-
10049
#### License
10150

10251
This project is available as open source under the terms of the [Apache License 2.0](https://github.com/BotStudios/modmail.js/blob/v2/LICENSE)

0 commit comments

Comments
 (0)