discord

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	*discordgo.User
	// contains filtered or unexported fields
}

func NewUser

func NewUser(userId string, s *discordgo.Session, guildId string) (User, error)

func (User) ScreenName

func (u User) ScreenName() (string, error)

ScreenName returns NickName if defined, and returns Username in else.

Jump to

Keyboard shortcuts

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