The official telegram bot of La locanda del tech
.env
fileyarn
to install dependenciesyarn dev
or docker container run
Please ensure to name the variable as reported below
Variable | Description | Type |
---|---|---|
DEBUG | Debug mode | Boolean |
BOT_TOKEN | The bot token from botfather | String |
For bug reporting and feature requests, please refer to the issues page
To add a new command and contribute to the project, fork this project and open a pull request
src/handler/command
folderMake sure the file name is the same as the command name
import {bot} from '@/index.ts';
export default () => {
bot.command("<command_name>", async (ctx) => {
// Your code here
});
}
The software is distribuited under the MIT LICENSE. Every distribuition of the code without the credits to the original author is considered illegal