relationship

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	// contains filtered or unexported fields
}

func NewState

func NewState(r handlerrepo.AddHandler) *State

func (*State) Blocked

func (r *State) Blocked(userID discord.UserID) bool

Blocked returns if the user is blocked.

func (*State) Relationship

func (r *State) Relationship(userID discord.UserID) discord.RelationshipType

Relationship returns the relationship for the given user, or 0 if there is none.

Jump to

Keyboard shortcuts

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