the cutest materii bot
This is a specialized bot for the Materii discord so you likely will find no purpose for it.
This handles automatically updating as well.
Prebuilt images are for linux/amd64
, linux/arm64/v8
$ git clone https://github.com/MateriiApps/mai-docker
$ cd mai-docker
$ ./up.sh
$ git clone https://github.com/MateriiApps/mai
$ npm i -g pnpm # pnpm better
$ pnpm i
# Set all env vars
$ export xxx=yyy
$ pnpm start
name | type | description |
---|---|---|
DISCORD_TOKEN |
string | Discord bot token |
GITHUB_TOKEN |
string | Readonly Github PAT for fetching MateriiApps info |
OWNERS |
Snowflake[] | User id list separated by comma |
ANDROIDX_CHANNEL |
Snowflake | Channel id for sending androidx release changelogs in |
ANDROIDX_ROLE |
Snowflake | Role id to mention with the aforementioned changelogs |
AGE_REQUIREMENT |
string | Account age requirement to not be kicked. ex. 2d |
LOG_LEVEL |
LogLevel | String key of LogLevel |