Versions in this module Expand all Collapse all v0 v0.20.0 Jan 13, 2024 v0.19.0 Jan 13, 2024 Changes in this version + type Resource struct + func NewResource(c resource.RestClient, id string) *Resource + func (r *Resource) Connections(ctx context.Context) ([]discord.UserConnection, error) + func (r *Resource) DMs(ctx context.Context) ([]discord.Channel, error) + func (r *Resource) Get(ctx context.Context) (*discord.User, error) + func (r *Resource) Guilds(ctx context.Context) ([]discord.PartialGuild, error) + func (r *Resource) LeaveGuild(ctx context.Context, id string) error + func (r *Resource) Modify(ctx context.Context, username, avatar string) (*discord.User, error) + func (r *Resource) NewDM(ctx context.Context, recipientID string) (*discord.Channel, error)