Skip to content

JonaszPotoniec/telegramRedditBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegramRedditBot

This is a telegram bot for sending images from reddit


It let's you automatically send new images from subreddits of your choice to everyone with bot activated. It's small and fast.
This bot can be useful if you want to create channel with content from reddit or if you just try to minimize number of installed apps.


Settings

Settings are stored in config.json

setting description
url This is array of subreddits from which bot will take content
frequency This setting specifies frequency (in miliseconds) in which bot will look for content
token This is your bot token. It's required and can be easily obtained from Bot Father

Bot commands

Commands to send to a bot

command description
/help Displays list of commands
/start Adds user to database
/stop Removes user from database

Start guide

First of all you need to create bot token.
Then put token and subreddit url in your `config.json`.
Before first usage you should run `npm install` in directory of downloaded program.
The only thing you need to do now is to launch a program by executing command: `node main.js`

About

This is a telegram bot for sending photos from reddit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published