Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhoDit committed Oct 10, 2022
2 parents 9a99a79 + d5e510b commit 9a45e05
Show file tree
Hide file tree
Showing 39 changed files with 2,263 additions and 378 deletions.
3 changes: 2 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
BOT_TOKEN=
MAIN_GUILD_ID=
MONGO_URI=
LOGS_URL=
LOGS_URL=
BOT_LANG=en-US
27 changes: 27 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,20 @@ Please, read the documentaion at https://modmail.phodit.xyz/ and check the insta

## What are the bot commands?

You can check the commands [here](https://modmail.phodit.xyz/commands/).
You can check the commands [here](https://modmail.phodit.xyz/commands/).

# Translations

The currently available languages are:
- English (United States) `en-US`
- Español (España) `es-ES`

## How to translate?

If you want to help to translate the bot, please create a file under `src/langs/locales/` with the name of the language and the `.ts` extension. For example, if you were translating into Spanish (Spain), you would name it as `es-ES.ts`.

Once you create it, please copy all contents of `src/langs/locales/es-US.ts` and make the corresponding translations. If you are going to leave any string without translation, **please leave the English version of it**, DO NOT remove its contents.

Then add the language to this list and to the scripts on the `setup/` directory files.

Finally, make a PR when you are ready. If you have any doubts about how the formatting is done or any other topic, please join our support server.
Loading

0 comments on commit 9a45e05

Please sign in to comment.