コード例 #1
0
func init() {
	bot.RegisterCommand(
		"play",
		"Play a specific song in spotify",
		"",
		play,
	)
	bot.RegisterCommand(
		"next",
		"Play next song in the playlist",
		"",
		next,
	)
}
コード例 #2
0
func init() {
	bot.RegisterCommand(
		"treta",
		"sowing discord",
		"",
		treta)
}
コード例 #3
0
ファイル: cnpj.go プロジェクト: go-chat-bot/plugins-br
func init() {
	bot.RegisterCommand(
		"cnpj",
		"Gerador/Validador de CNPJ.",
		"n para gerar n CNPJ e !cnpj 99999999000191 para validar um CNPJ",
		cnpj)
}
コード例 #4
0
func init() {
	bot.RegisterCommand(
		"guid",
		"Generates GUID",
		"",
		guid)
}
コード例 #5
0
ファイル: cotacao.go プロジェクト: go-chat-bot/plugins-br
func init() {
	bot.RegisterCommand(
		"cotacao",
		"Informa a cotação do Dólar e Euro.",
		"",
		cotacao)
}
コード例 #6
0
func init() {
	bot.RegisterCommand(
		"hello",
		"Sends a 'Hello' message to you on the channel.",
		"",
		hello)
}
コード例 #7
0
func init() {
	bot.RegisterCommand(
		"encode",
		"Allows you encoding a value",
		"base64 enter here text to encode",
		encode)
}
コード例 #8
0
func init() {
	bot.RegisterCommand(
		"crypto",
		"Encrypts the input data from its hash value",
		"md5|sha-1 enter here text to encrypt",
		crypto)
}
コード例 #9
0
func init() {
	bot.RegisterCommand(
		"catgif",
		"Returns a random cat gif.",
		"",
		gif)
}
コード例 #10
0
func init() {
	bot.RegisterCommand(
		"9gag",
		"Returns a random 9gag page.",
		"",
		randomPage)
}
コード例 #11
0
func init() {
	bot.RegisterCommand(
		"godoc",
		"Searchs godoc.org and displays the first result.",
		"package name",
		search)
}
コード例 #12
0
ファイル: mega_sena.go プロジェクト: go-chat-bot/plugins-br
func init() {
	bot.RegisterCommand(
		"megasena",
		"Gera um jogo da megasena ou mostra os últimos números sorteados.",
		"gerar|resultado",
		megasena)
}
コード例 #13
0
func init() {
	bot.RegisterCommand(
		"decode",
		"Decodes the given string",
		"base64 VGhlIEdvIFByb2dyYW1taW5nIExhbmd1YWdl",
		decode)
}
コード例 #14
0
ファイル: cpf.go プロジェクト: go-chat-bot/plugins-br
func init() {
	bot.RegisterCommand(
		"cpf",
		"Gerador/Validador de CPF.",
		"n para gerar n CPF e !cpf 12345678909 para validar um CPF",
		cpf)
}
コード例 #15
0
func init() {
	rand.Seed(time.Now().UnixNano())
	bot.RegisterCommand(
		"gif",
		"Searchs and posts a random gif url from Giphy.",
		"cat",
		gif)
}
コード例 #16
0
func init() {
	bot.RegisterCommand(
		"reverse", "Reverses a string",
		"string to be reversed",
		reverse)
}