-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
939 additions
and
1,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
title: "[BUG]: your bug report title" | ||
labels: "maybe: bug" | ||
body: | ||
- type: input | ||
id: bot-info-version | ||
attributes: | ||
label: Bot Version | ||
description: Check it with `@modmail about` | ||
placeholder: eg. v3.9.4 | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: bot-info-hosting | ||
attributes: | ||
label: How are you hosting Modmail? | ||
description: You can check it with `@modmail about` if you are unsure | ||
options: | ||
- Heroku | ||
- Systemd | ||
- PM2 | ||
- Patreon | ||
- Other | ||
validations: | ||
required: true | ||
- type: input | ||
id: logs | ||
attributes: | ||
label: Error Logs | ||
placeholder: https://hastebin.cc/placeholder | ||
description: | ||
"If your Modmail bot is online, type `@modmail debug hastebin` and include the link here. | ||
If your Modmail bot is not online or the previous command did not generate a link, do the following: | ||
1. Select your *bot* application at https://dashboard.heroku.com | ||
2. [Restart your bot](https://i.imgur.com/3FcrlKz.png) | ||
3. Reproduce the error to populate the error logs | ||
4. [Copy and paste the logs](https://i.imgur.com/TTrhitm.png)" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: "[optional] You may add screenshots to further explain your problem." | ||
- type: textarea | ||
id: additional-info | ||
attributes: | ||
label: Additional Information | ||
description: "[optional] You may provide additional context for us to better understand how this issue occured." |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Discord Server | ||
url: https://discord.gg/etJNHCQ | ||
about: Please ask hosting-related questions here before creating an issue. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
title: "your feature request title" | ||
labels: "feature request" | ||
body: | ||
- type: textarea | ||
id: problem-relation | ||
attributes: | ||
label: Is your feature request related to a problem? Please elaborate. | ||
description: A clear and concise description of what the problem is. | ||
placeholder: eg. I'm always frustrated when... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: complications | ||
attributes: | ||
label: Does your solution involve any of the following? | ||
options: | ||
- label: Logviewer | ||
- label: New config option | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: benefit | ||
attributes: | ||
label: Who will this benefit? | ||
description: Does this feature apply to a great portion of users? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-info | ||
attributes: | ||
label: Additional Information | ||
description: "[optional] You may provide additional context or screenshots for us to better understand the need of the feature." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
FROM python:3.7-alpine | ||
FROM python:3.9-slim as py | ||
|
||
FROM py as build | ||
|
||
RUN apt update && apt install -y g++ | ||
COPY requirements.txt / | ||
RUN pip install --prefix=/inst -U -r /requirements.txt | ||
|
||
FROM py | ||
|
||
ENV USING_DOCKER yes | ||
COPY --from=build /inst /usr/local | ||
|
||
WORKDIR /modmailbot | ||
CMD ["python", "bot.py"] | ||
COPY . /modmailbot | ||
RUN export PIP_NO_CACHE_DIR=false \ | ||
&& apk update \ | ||
&& apk add --update --no-cache --virtual .build-deps alpine-sdk \ | ||
&& pip install pipenv \ | ||
&& pipenv install --deploy --ignore-pipfile \ | ||
&& apk del .build-deps | ||
CMD ["pipenv", "run", "bot"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.