session

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchChannel

func FetchChannel(guild *discordgo.Guild, channelGeneric, channelID string) *discordgo.Channel

FetchChannel fetches a channel.

func FetchGuild

func FetchGuild(gid string) *discordgo.Guild

FetchGuild fetches a guild from an ID.

func FetchGuildSession

func FetchGuildSession(gid string) (*discordgo.Session, error)

FetchGuildSession fetches a session containing a guild from an ID, useful for shard scenario.

func FetchUser

func FetchUser(uid string) (*discordgo.User, error)

FetchUser fetches a user from an ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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