commands

package
v0.0.0-...-7b26cc3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: GPL-3.0, GPL-3.0-or-later Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AperoTime

func AperoTime(m *tb.Message)

AperoTime checks if it's time to drink on an external website

func Dice

func Dice(m *tb.Message)

Dice rolls a dice

func Framapad

func Framapad(m *tb.Message)

Framapad send a link to the ALFRED framapad

func Gender

func Gender(m *tb.Message)

func Git

func Git(m *tb.Message)

Git sends a link to the git repo

func Hello

func Hello(m *tb.Message)

Hello makes ALFRED say hello

func LastTrumpTweet

func LastTrumpTweet(m *tb.Message)

LastTrumpTweet sends the last tweet of Donald Trump

func ListSubscribers

func ListSubscribers(m *tb.Message)

ListSubscribers List all subscribers of the current chat Command syntax : /listsubscribers

func OnText

func OnText(m *tb.Message)

OnText saves chat history

func Publish

func Publish(m *tb.Message)

Publish a message from the current chat Command syntax (while replying to a message) : /publish

func Quote

func Quote(m *tb.Message)

Quote display a quote on the chat

func RegisterPrivate

func RegisterPrivate(m *tb.Message)

RegisterPrivate registers an user private chat

func Retrieve

func Retrieve(m *tb.Message)

Retrieve If performed in MP : retrieve all messages from all subscribed sources for the user If performed in Group Chat : retrieved all published messages for this chat Command syntax : /retrieve

func SetGender

func SetGender(m *tb.Message)

SetGender register your gender on ALFRED

func Sponge

func Sponge(m *tb.Message)

func Subscribe

func Subscribe(m *tb.Message)

Subscribe user sending the command to the current chat Command syntax : /subscribe

func ToggleUpdates

func ToggleUpdates(m *tb.Message)

ToggleUpdates activate/deactivate automatic updates from the current chat Command syntax : /toggleupdates

func TwitterSJW

func TwitterSJW(m *tb.Message)

TwitterSJW sends lasts messages with #SJW

func TwitterTrends

func TwitterTrends(m *tb.Message)

TwitterTrends sends the french twitter trends

func UnRegisterPrivate

func UnRegisterPrivate(m *tb.Message)

UnRegisterPrivate delete an user private chat

func Unpublish

func Unpublish(m *tb.Message)

Unpublish remove a message from published messages in the current chat Command syntax (while replying to a message) : /unpublish

func Unsubscribe

func Unsubscribe(m *tb.Message)

Unsubscribe user sending the command from the current chat Command syntax : /unsubscribe

Types

This section is empty.

Jump to

Keyboard shortcuts

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