Skip to content

A mc server manager telegram bot in TS for permadeath server's style!

License

Notifications You must be signed in to change notification settings

KristanLaimon/PermaTecBot-Deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PermaTecBot

A utility bot telegram made with Deno and Typescript for linux amd64x arch..

permalog

How to use?

Local

  1. Make sure you have installed Deno runtime you can do it here:

https://docs.deno.com/runtime/manual/getting_started/installation

  1. Git clone this repo and then change the following values in .env-renamethis
BOT_TOKEN = "yourtokenapihere"
STARTING_DAY = "YYYY-MM-DD"

then rename .env-renamethis to .env

  1. Run the following command on same repo folder:
deno run --allow-all --unstable-cron ./main.ts (or .\main.ts on windows)

Docker

To run create a "ez" container just run the following replacing:

docker run -e BOT_TOKEN='yourtelegrambottoken' -e STARTING_DAY='putYourServerStartingDate'--name 'putthecontainernamehere' foxxylover/permatecbot:'selectatag'

Note: Starting day is just to have a starting point and manages publications date for every difficult change to announce. For difficults announces you can see:

https://permadeath.fandom.com/es/wiki/Cambios_de_dificultad (Spanish)

About

A mc server manager telegram bot in TS for permadeath server's style!

Resources

License

Stars

Watchers

Forks