Skip to content

d-Rickyy-b/mockBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mockBot - A Telegram bot to mock your friends

build test

Annoyed of someone in a Telegram chat? Want to mock them because of stupid statements they made? This bot is for you! It gives you the ability to quickly send a mocked text.

Using "Oh come on, I wasn't that late" as a input, it will generate and send a mocked text like this:

oh COmE On, I wAsN'T That lATe!

You can find the hosted version at @sp0ngeBot on Telegram.

Configuration

This bot uses a configuration file. You can create your own using the sample file config.template.json.

{
  "token": "<your_bot_token>",
  "webhook": {
    "enabled": false,
    "url": "example.com/test",
    "listen": "127.0.0.1:8123"
  }
}

Just fill in your bot token. If you want to use a webhook, use the webhook options. The current config only allows for receiving webhooks from a reverse proxy such as nginx.

Usage

Create your config.json file and put it into the same directory as the binary. You can then simply call the binary.

Usage of mockBot:
  -config string
        Path to config file (default "config.json")

You can also use the parameter -config to speficy a path to another config file.

About

A Telegram bot to mock your friends

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages