GithubHelp home page GithubHelp logo

gotelegrambot's Introduction

Build Status Go Report Card GoDoc

gotelegrambot

This is simple bot for Telegram writen on Go (golang) and use Couchbase for data store. Example server http://logs.elemc.name bot store logs from chats

Compile

Requires

Download

  • $ github.com/couchbase/gocb gopkg.in/telegram-bot-api.v4 github.com/gin-gonic/gin
  • $ go get github.com/elemc/gotelegrambot

Build

$ go build github.com/elemc/gotelegrambot

gotelegrambot's People

Contributors

elemc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

leha-bot

gotelegrambot's Issues

Add warnings support

Add /warn username command to bot. Moderators can warn users in chat using it. After 5 warnings user must be kicked from chat by bot automatically.

Add feature to remove flood and lots of stickers

Add feature to remove flood (lots of small messages from one user in a small period of time) and lots of stickers. Bots with admin rights can now use a new deleteMessage method from Telegram Bot API. It has two required parameters: chat_id and message_id.

add banlist()

ban/unban is nice, but there is no way to get who are in ban now

add fedmsg support

That's something what is not trivial to implement.

For long time we have fedmsg (http://www.fedmsg.com/en/latest/), I would like to get notifications put into bus to be translated in chat.

This will be useful for new bugreports in some components, or commits on github, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.