commands

package
v0.0.0-...-4d073a7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Unlicense Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CryptoMap []*cmc.MapListing
View Source
var DistortBusy bool
View Source
var DistortCache map[string]string
View Source
var FiatMap []*cmc.FiatMapListing
View Source
var JokeMap = []JokeMapStruct{}

Functions

func AddBless

func AddBless(context tele.Context) error

Adds bless text to DB

func AddNope

func AddNope(context tele.Context) error

Adds nope text to DB

func Advice

func Advice(context tele.Context) error

func Anekdot

func Anekdot(context tele.Context) error

Send text in chat on /say

func Ban

func Ban(context tele.Context) error

Ban user on /ban

func Blessing

func Blessing(context tele.Context) error

Kill user on /blessing, /suicide

func Bonk

func Bonk(context tele.Context) error

Write username on bonk picture and send to target

func Convert

func Convert(context tele.Context) error

Convert given file

func Cur

func Cur(context tele.Context) error

Reply currency "cur"

func Debug

func Debug(context tele.Context) error

Return message on /debug command

func Del

func Del(context tele.Context) error

Delete Get in DB on /del

func Distort

func Distort(context tele.Context) error

Distort given file

func Download

func Download(context tele.Context) error

Convert given file

func GenerateMaps

func GenerateMaps() error

func Get

func Get(context tele.Context) error

Send Get to user on /get

func GetIdName

func GetIdName(ID string) string

func GetInline

func GetInline(context tele.Context) error

Answer on inline get query

func GetMyHentai

func GetMyHentai(context tele.Context) error

Send hentai manga by date or userid

func GetSymbolId

func GetSymbolId(symbol string) (string, error)

func Getall

func Getall(context tele.Context) error

Send list of Gets to user on /getall

func Getid

func Getid(context tele.Context) error

Send userid on /getid

func Google

func Google(context tele.Context) error

Reply google URL on "google"

func Hug

func Hug(context tele.Context) error

Write username on hug picture and send to target

func Invert

func Invert(context tele.Context) error

Invert given file

func Kick

func Kick(context tele.Context) error

Kick user on /kick

func Kill

func Kill(context tele.Context) error

Kill user on /kill

func Loop

func Loop(context tele.Context) error

Invert given file

func Marco

func Marco(context tele.Context) error

Reply "Polo!" on "marco"

func Me

func Me(context tele.Context) error

Send formatted text on /me

func Meow

func Meow(context tele.Context) error

Reply with GIF from Pan Kotek's channel

func Mute

func Mute(context tele.Context) error

Mute user on /mute

func Mywarns

func Mywarns(context tele.Context) error

Send warning amount on /mywarns

func Ping

func Ping(context tele.Context) error

Reply "Pong!" on /ping

func Releases

func Releases(context tele.Context) error

Send releases of 2 weeks on /releases

func Restart

func Restart(context tele.Context) error

Restart bot on /restart

func Revive

func Revive(context tele.Context) error

Unmute user on /unmute

func SaveToPM

func SaveToPM(context tele.Context) error

Resend post on user request

func Say

func Say(context tele.Context) error

Send text in chat on /say

func Sed

func Sed(context tele.Context) error

Sed Replace text in target message

func Set

func Set(context tele.Context) error

Save Get to DB on /set

func SetGetOwner

func SetGetOwner(context tele.Context) error

Send Get to user on /get

func Shrug

func Shrug(context tele.Context) error

Send shrug in chat on /shrug

func Slap

func Slap(context tele.Context) error

Send slap message on /slap

func Stats

func Stats(context tele.Context) error

Reply with stats link

func TLDR

func TLDR(context tele.Context) error

Send Yandex 300 response on link

func TestRandom

func TestRandom(context tele.Context) error

Kill user on /blessing, /suicide

func Unban

func Unban(context tele.Context) error

Unban user on /unban

func Unmute

func Unmute(context tele.Context) error

Unmute user on /unmute

func Warn

func Warn(context tele.Context) error

Send warning to user on /warn

Types

type AdviceResp

type AdviceResp struct {
	ID    int    `json:"id,omitempty"`
	Text  string `json:"text,omitempty"`
	Sound string `json:"sound,omitempty"`
}

type JokeMapStruct

type JokeMapStruct struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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