mvc

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

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

Go to latest
Published: Dec 26, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CallWebhook = func(webhookID, webhookToken string, data *discordgo.WebhookParams) {
	discord_utils.CallWebhook(webhookID, webhookToken, data)
}

Functions

func DiscordReceive

func DiscordReceive(name, content, channelID string, attachments []*discordgo.MessageAttachment, reply *discordgo.Message, replyName string) error

func DiscordSend

func DiscordSend(name, content, avatar, webhookID, webhookToken string, attachments []map[string]interface{}) error

func GroupmeReceive

func GroupmeReceive(name, avatar, content, groupID string, attachments []map[string]interface{}) error

func GroupmeSend

func GroupmeSend(name, content, channelPrefix, botID, replyName, replyContent string, attachments []*discordgo.MessageAttachment)

Types

This section is empty.

Jump to

Keyboard shortcuts

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