Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUser

Hierarchy

  • IUser

Index

Methods

createDM

  • createDM(): Promise<DiscordTextChannel>
  • Creates a private message channel.

    Returns Promise<DiscordTextChannel>

    The channel for private messages

deleteDM

  • deleteDM(): Promise<DiscordTextChannel>
  • Deletes a private message channel.

    Returns Promise<DiscordTextChannel>

    The channel which has been deleted

getId

  • getId(): number
  • Get the id of the user.

    Returns number

    The user id

getName

  • getName(): string
  • Get the name of the user.

    Returns string

    The username

getServer

  • Gets the server the user is acting on.

    Returns IServer

    The server object, null when the user is not acting on a server

getTag

  • getTag(): string
  • Gets the tag of the user which makes it identifiable on a server.

    Returns string

    The user tag

getVoiceChannel

  • Gets the voice channel the user is active on.

    Returns IVoiceChannel

    The voice channel on which the user is active on

Generated using TypeDoc