annas archive bot
1.0.0
Comment exécuter :
Créez votre bot sur @BotFather
Copiez le jeton d'accès
Exportez votre jeton en tant que variable d'environnement :
Frapper:
export TOKEN='your token'
PowerShell :
$env:TOKEN = 'your token'
Exécutez le code :
go get
go run .
La commande par défaut à laquelle le bot réagira est /books
.
La commande peut être modifiée dans le fichier main.go