Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUser

Hierarchy

  • IUser

Index

Methods

createDM

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

    Returns Promise<DiscordChannel>

    The channel for private messages

deleteDM

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

    Returns Promise<DiscordChannel>

    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

Generated using TypeDoc