Skip to content

iamthen0ise/citationBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Citation Bot

Telegram bot which repost citations to another chat/channel by stopwords matching

Build

make build

Deploy (Using Serverless.js and AWS CloudFormation)

Dependencies

Install serverless.js first

npm install -g serverless

Then deploy project

First Deployment

Populate a text file with stop words, and deploy it onto S3.

Create .env file and set variables:

BOT_TOKEN=<Telegram bot token>
REPOST_CHANNEL_ID=<target channel or group>
STOPWORDS_S3_BUCKET=<S3 bucket for stopwords>
STOPWORDS_S3_KEY=<S3 key for stopwords>

Run deployment script

make deploy

About

Funny Friday Telegram citation bot written in GoLang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors