dgconv

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Getchannel added in v1.0.1

func Getchannel(s *discordgo.Session, channel string) (id string)

Getchannel returns channel's if from ID, mantion, name.

func Getmember added in v1.0.4

func Getmember(s *discordgo.Session, id string) (member *discordgo.Member)

Getmember returns *discordgo.Member from ID

func Getrole

func Getrole(s *discordgo.Session, m *discordgo.MessageCreate, role string) (id string)

Getrole returns role's id from ID, mention, name.

func Getuser

func Getuser(s *discordgo.Session, user string) (id string)

Getuser returns user's ID from ID, mention, username, and nickname.

Types

This section is empty.

Jump to

Keyboard shortcuts

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