discordPlayTogether

new discordPlayTogether(client, applicationsopt)

Parameters:
NameTypeAttributesDescription
clientClientThe discord client
applicationsdefaultApplicationsOptions<optional>
The applications you can use

Members

applications :defaultApplicationsOptions

The applications

client :Client

The discord client
Type:
  • Client

Methods

(async) createCode(voiceChannel, options) → {returnData}

Create a code to use discord together
Parameters:
NameTypeDescription
voiceChannelSnowflakeThe channel where you can play
optionsdefaultActivityOptionsThe options for the activity
Returns:
The code data
Type: 
returnData
Example
createCode(881574779654651954, {
      activity: "youtube",
      duration: 86400,
      neverExpire: False,
      maxUses: 0
  })