Skip to content

static class Discord (client-side)

Available since version: 0.2.0

This class represents some parts of Discord Game SDK.

Properties

DiscordActivity activity

Holds activity information.


Methods

recreate

This method will re-create Discord Game SDK for new application id.

bool recreate(string app_id)

Parameters:

  • string app_id: the application identifier.

Returns bool:

true if re-initialization was successful, otherwise false.