bot

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddImage added in v0.1.0

func AddImage(ctx context.Context, url string, into store.Store) (*discordgo.File, error)

AddImage downloads the contents of url and expects it to contain an image. It then stores the contents of the image into the given store.Store. It returns the image that was just saved.

func Start

func Start(ctx context.Context, images store.Store, guildID string, botToken string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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