bot

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

* @Author: Vincent Yang * @Date: 2024-04-09 03:36:13 * @LastEditors: Vincent Yang * @LastEditTime: 2024-04-09 18:50:06 * @FilePath: /discord-image/bot/bot.go * @Telegram: https://t.me/missuo * @GitHub: https://github.com/missuo * * Copyright © 2024 by Vincent, All Rights Reserved.

Index

Constants

This section is empty.

Variables

View Source
var (
	BotToken string
	Discord  *discordgo.Session
)

Functions

func GetImageURL

func GetImageURL(channelID, messageID string) (string, error)

func Run

func Run()

func SendImage

func SendImage(channelID, filename string) (*discordgo.Message, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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