Archived
1

Pins to supergroups, managed by admins

This commit is contained in:
2017-11-14 03:44:21 +04:00
parent 5c08899d25
commit 95a9a2146a
84 changed files with 786 additions and 622 deletions

View File

@@ -4,18 +4,13 @@
package talkers
import (
// stdlib
"log"
"github.com/go-telegram-bot-api/telegram-bot-api"
"math/rand"
"time"
// 3rd party
"github.com/go-telegram-bot-api/telegram-bot-api"
)
// DurakMessage is an easter egg
func (t *Talkers) DurakMessage(update tgbotapi.Update) {
log.Printf("[%s] %s", update.Message.From.UserName, update.Message.Text)
func (t *Talkers) DurakMessage(update *tgbotapi.Update) {
reactions := make([]string, 0)
reactions = append(reactions, "Сам такой!",
"А ты типа нет?",
@@ -31,9 +26,7 @@ func (t *Talkers) DurakMessage(update tgbotapi.Update) {
}
// MatMessage is an easter rgg
func (t *Talkers) MatMessage(update tgbotapi.Update) {
log.Printf("[%s] %s", update.Message.From.UserName, update.Message.Text)
func (t *Talkers) MatMessage(update *tgbotapi.Update) {
reactions := make([]string, 0)
reactions = append(reactions, "Фу, как некультурно!",
"Иди рот с мылом помой",