Skip to content

Commit 7508d52

Browse files
committed
Update readme with new documentation links, python version, and removed obsolete installion steps
1 parent 389dfb6 commit 7508d52

File tree

1 file changed

+28
-91
lines changed

1 file changed

+28
-91
lines changed

README.md

Lines changed: 28 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</a>
2929

3030
<a href="https://www.python.org/downloads/">
31-
<img src="https://img.shields.io/badge/Made%20With-Python%203.8-blue.svg?style=for-the-badge&logo=Python" alt="Made with Python 3.8">
31+
<img src="https://img.shields.io/badge/Made%20With-Python%203.10-blue.svg?style=for-the-badge&logo=Python" alt="Made with Python 3.10">
3232
</a>
3333

3434
<a href="https://github.com/ambv/black">
@@ -50,11 +50,13 @@ Modmail is similar to Reddit's Modmail, both in functionality and purpose. It se
5050

5151
This bot is free for everyone and always will be. If you like this project and would like to show your appreciation, you can support us on **[Patreon](https://www.patreon.com/kyber)**, cool benefits included!
5252

53+
For up-to-date setup instructions, please visit our [**documentation**](https://docs.modmail.dev/installation) page.
54+
5355
## How does it work?
5456

5557
When a member sends a direct message to the bot, Modmail will create a channel or "thread" into a designated category. All further DM messages will automatically relay to that channel; any available staff can respond within the channel.
5658

57-
Our Logviewer will save the threads so you can view previous threads through their corresponding log link. Here is an [**example**](https://logs.modmail.dev/example).
59+
Our Logviewer will save the threads so you can view previous threads through their corresponding log link. ~~Here is an [**example**](https://logs.modmail.dev/example)~~ (demo not available at the moment).
5860

5961
## Features
6062

@@ -67,7 +69,7 @@ Our Logviewer will save the threads so you can view previous threads through the
6769
* Minimum length for members to be in the guild before allowed to contact Modmail (`guild_age`).
6870

6971
* **Advanced Logging Functionality:**
70-
* When you close a thread, Modmail will generate a [log link](https://logs.modmail.dev/example) and post it to your log channel.
72+
* When you close a thread, Modmail will generate a log link and post it to your log channel.
7173
* Native Discord dark-mode feel.
7274
* Markdown/formatting support.
7375
* Login via Discord to protect your logs ([premium Patreon feature](https://patreon.com/kyber)).
@@ -84,88 +86,34 @@ This list is ever-growing thanks to active development and our exceptional contr
8486

8587
## Installation
8688

87-
Q: Where can I find the Modmail bot invite link?
89+
There are a number of options for hosting your very own dedicated Modmail bot.
90+
91+
Visit our [**documentation**](https://docs.modmail.dev/installation) page for detailed guidance on how to deploy your Modmail bot.
8892

89-
A: Unfortunately, due to how this bot functions, it cannot be invited. The lack of an invite link is to ensure an individuality to your server and grant you full control over your bot and data. Nonetheless, you can quickly obtain a free copy of Modmail for your server by following one of the methods listed below (roughly takes 15 minutes of your time).
93+
### Patreon Hosting
9094

91-
There are a few options for hosting your very own dedicated Modmail bot.
95+
If you don't want the trouble of renting and configuring your server to host Modmail, we got a solution for you! We offer hosting and maintenance of your own, private Modmail bot (including a Logviewer) through [**Patreon**](https://patreon.com/kyber).
9296

93-
1. Patreon hosting
94-
2. Local hosting (VPS, Dedicated Server, RPi, your computer, etc.)
95-
3. PaaS (we provide a guide for Heroku)
97+
## FAQ
9698

97-
### Patreon Hosting
99+
**Q: Where can I find the Modmail bot invite link?**
100+
101+
**A:** Unfortunately, due to how this bot functions, it cannot be invited. The lack of an invite link is to ensure an individuality to your server and grant you full control over your bot and data. Nonetheless, you can quickly obtain a free copy of Modmail for your server by following our [**documentation**](https://docs.modmail.dev/installation) steps or subscribe to [**Patreon**](https://patreon.com/kyber).
102+
103+
**Q: Where can I find out more info about Modmail?**
104+
105+
**A:** You can find more info about Modmail on our [**documentation**](https://docs.modmail.dev) page. If you run into any problems, join our [Modmail Discord Server](https://discord.gg/cnUpwrnpYb) for help and support.
106+
107+
## Plugins
108+
109+
Modmail supports the use of third-party plugins to extend or add functionalities to the bot.
110+
Plugins allow niche features as well as anything else outside of the scope of the core functionality of Modmail.
111+
112+
You can find a list of third-party plugins using the `?plugins registry` command or visit the [Unofficial List of Plugins](https://github.com/modmail-dev/modmail/wiki/Unofficial-List-of-Plugins) for a list of plugins contributed by the community.
98113

99-
If you don't want the trouble of renting and configuring your server to host Modmail, we got a solution for you! We offer hosting and maintenance of your own, private Modmail bot (including a Logviewer) through [**Patreon**](https://patreon.com/kyber). Join our [Modmail Discord Server](https://discord.gg/cnUpwrnpYb) for more info!
100-
101-
### Local hosting (General Guide)
102-
103-
Modmail can be hosted on any modern hardware, including your PC. For stability and reliability, we suggest purchasing a cloud server (VPS) for under $10/mo. If you need recommendations on choosing a VPS, join our [Discord server](https://discord.gg/cnUpwrnpYb), and we'll send you a list of non-affiliated hosting providers. Alternatively, we can host Modmail for you when you're subscribed to our [Patreon](https://patreon.com/kyber).
104-
105-
This guide assumes you've downloaded [`Python 3.10`](https://www.python.org/downloads/release/python-376/) and added python and pip to PATH.
106-
107-
1. Clone this repo
108-
```console
109-
$ git clone https://github.com/modmail-dev/modmail
110-
$ cd modmail
111-
```
112-
2. Create a Discord bot account, grant the necessary intents, and invite the bot ([guide](https://github.com/modmail-dev/modmail/wiki/Installation#2-discord-bot-account))
113-
3. Create a free MongoDB database ([guide](https://github.com/modmail-dev/modmail/wiki/Installation-(cont.)#3-create-a-database), follow it carefully!)
114-
4. Rename the file `.env.example` to `.env` and fill it with appropriate values
115-
- If you can't find `.env.example` because it's hidden, create a new text file named `.env`, then copy the contents of [this file](https://raw.githubusercontent.com/modmail-dev/modmail/master/.env.example) and replace the placeholders with their values
116-
- If you're on Windows and cannot save the file as `.env`, save it as `.env.` instead (this only applies to Windows!)
117-
- If you do not have a Logviewer yet, leave the `LOG_URL` field as-is
118-
5. Update pip, install pipenv, and install dependencies using pipenv
119-
```console
120-
$ pip install -U pip
121-
$ pip install pipenv
122-
$ pipenv install
123-
```
124-
6. Start the bot
125-
```console
126-
$ pipenv run bot
127-
```
128-
7. Set up the Logviewer, see the [Logviewer installation guide](https://github.com/modmail-dev/logviewer)
129-
130-
### Local Hosting (Docker)
131-
132-
We provide support for Docker to simplify the deployment of Modmail and Logviewer.
133-
We assume you already have Docker and Docker Compose Plugin installed, if not, see [here](https://docs.docker.com/get-docker/).
134-
135-
1. Create a Discord bot account, grant the necessary intents, and invite the bot ([guide](https://github.com/modmail-dev/modmail/wiki/Installation#2-discord-bot-account))
136-
2. Create a file named `.env`, then copy the contents of [this file](https://raw.githubusercontent.com/modmail-dev/modmail/master/.env.example) and replace the placeholders with their values
137-
3. Create a file named `docker-compose.yml`, then copy the contents of [this file](https://raw.githubusercontent.com/modmail-dev/modmail/master/docker-compose.yml), do not change anything!
138-
4. Start the bot
139-
```console
140-
$ docker compose up -d
141-
```
142-
- For older Docker versions, you may need to run `docker-compose up -d` instead
143-
5. View the status of your bot, using `docker ps` and `docker logs [container-id]`
144-
145-
Our Docker images are hosted on [GitHub Container Registry](ghcr.io), you can build your own image if you wish:
146-
```console
147-
$ docker build --tag=modmail:master .
148-
```
149-
150-
Then simply remove `ghcr.io/modmail-dev/` from the `docker-compose.yml` file.
151-
152-
### Local Hosting (OS-Specific)
153-
154-
This guide is a WIP. Join our [Discord server](https://discord.gg/cnUpwrnpYb) for more info.
155-
156-
### Platform as a Service (PaaS)
157-
158-
You can host this bot on Heroku (no longer free).
159-
160-
Installation via Heroku is possible with your web browser alone.
161-
The [**installation guide**](https://github.com/modmail-dev/modmail/wiki/Installation) (which includes a video tutorial!) will guide you through the entire installation process. If you run into any problems, join our [Modmail Discord Server](https://discord.gg/cnUpwrnpYb) for help and support.
162-
163-
When using Heroku, you can configure automatic updates:
164-
- Login to [GitHub](https://github.com/) and verify your account.
165-
- [Fork the repo](https://github.com/modmail-dev/modmail/fork).
166-
- Install the [Pull app](https://github.com/apps/pull) for your fork.
167-
- Then go to the Deploy tab in your [Heroku account](https://dashboard.heroku.com/apps) of your bot app, select GitHub and connect your fork (usually by typing "Modmail").
168-
- Turn on auto-deploy for the `master` branch.
114+
To develop your own, check out the [plugins documentation](https://github.com/modmail-dev/modmail/wiki/Plugins).
115+
116+
Plugins requests and support are available in our [Modmail Support Server](https://discord.gg/cnUpwrnpYb).
169117

170118
## Sponsors
171119

@@ -208,17 +156,6 @@ Discord Advice Center:
208156

209157
Become a sponsor on [Patreon](https://patreon.com/kyber).
210158

211-
## Plugins
212-
213-
Modmail supports the use of third-party plugins to extend or add functionalities to the bot.
214-
Plugins allow niche features as well as anything else outside of the scope of the core functionality of Modmail.
215-
216-
You can find a list of third-party plugins using the `?plugins registry` command or visit the [Unofficial List of Plugins](https://github.com/modmail-dev/modmail/wiki/Unofficial-List-of-Plugins) for a list of plugins contributed by the community.
217-
218-
To develop your own, check out the [plugins documentation](https://github.com/modmail-dev/modmail/wiki/Plugins).
219-
220-
Plugins requests and support are available in our [Modmail Support Server](https://discord.gg/cnUpwrnpYb).
221-
222159
## Contributing
223160

224161
Contributions to Modmail are always welcome, whether it be improvements to the documentation or new functionality, please feel free to make the change. Check out our [contributing guidelines](https://github.com/modmail-dev/modmail/blob/master/.github/CONTRIBUTING.md) before you get started.

0 commit comments

Comments
 (0)