create a '.env' file, create the variables: MOODLE_USERNAME, MOODLE_PASSWORD and BOT_TOKEN(create with @BotFather)
instal the dependencies: yarn install
run just the script(to test): yarn script
run the bot in the dev mode(no restart require when change the code): yarn dev
run the bot: yarn start