User

NAME

API::Discord::User - Represents Discord user

DESCRIPTION

Represents a Discord user, usually sent to us via the websocket. See https://discordapp.com/developers/docs/resources/user.

Users cannot be created or deleted.

See also API::Discord::Object.

PROMISES

guilds

Resolves to a list of API::Discord::Guild objects

dms

Resolves to a list of API::Discord::Channel objects (direct messages)

METHODS

create-dm

Creates a DM with the provided $user. This is an API::Discord::Channel object; the method returns a Promise that resolves to this.

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.