webhook-bot

module
v0.0.0-...-bae6b6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: Apache-2.0

README

Telegram bot for sending messages to users

Description

This bot is used to send messages to users or channels from webhooks.

Usage

Our installation

How to use our installation of the bot you can read here

Your own installation

You can run the bot locally or deploy it to your server.

Just follow the instructions below.

  1. Create a bot in Telegram and get a token. You can read more about it here.
  2. Clone this repository.
  3. Add your bot token, image name and tag to the .env file.
  4. Build the image
docker build -f deploy/Dockerfile -t webhook-bot:latest .
  1. Run the containers
docker-compose -f deploy/docker-compose.yml -p webhook-bot up -d

Contributing

Contributions are welcome! If you find a bug or have a feature request, please open an issue on the issue tracker.

If you want to contribute code, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and write tests if necessary.
  4. Run the tests and make sure they pass.
  5. Commit your changes and push them to your fork.
  6. Open a pull request to the main branch of the original repository.

We will review your changes and merge them if they meet our quality standards. Thank you for contributing!

License

Distributed under the Apache-2.0 License. See LICENSE for more information.

Directories

Path Synopsis
cmd
internal
transport/rest/send/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
usecases/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL