VoteContents

VoteContents

Represents the contents of a bot's votes through the `bots/:id/votes` endpoint.

Constructor

new VoteContents(obj, id)

Parameters:
Name Type Description
obj object
id string
Source:

Extends

Members

(readonly) raw :object

The raw object used to give class values meaning.
Type:
  • object
Inherited From:
Source:

recipientID :string

The ID of the bot checking votes from.
Type:
  • string
Source:

voters :Array.<string>

An array of user IDs who have upvoted the bot.
Type:
  • Array.<string>
Source:

voters24Hours :Array.<string>

An array of user IDs who have upvoted the bot in the past 24 hours.
Type:
  • Array.<string>
Source:

votes :Votes

The bot's recent vote activity.
Type:
Source: