Skip to main content
Returns a range of metadata around the currently running Twitch Charity campaign on a broadcaster’s channel.

$(charity)

An alias to combine many charity variables together in the following format: $(charity.name): $(charity.description) - $(charity.website).

Parameters

This variable does not take any parameters.

Example Output

  • $(charity)

Error Output

  • In case there is no active charity campaign on the channel, returns the following:

$(charity.amount_raised)

Returns the total amount raised for the charity in the current campaign that the channel is running.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.amount_raised)

Error Output

  • In case there is no active charity campaign on the channel, returns the following:

$(charity.description)

Returns the description of the charity the channel is fundraising for.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.description)

Error Output

  • In case there is no active charity campaign on the channel, returns the following:

$(charity.name)

Returns the name of the charity the channel is fundraising for.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.name)

Error Output

  • In case there is no active charity campaign on the channel, returns the following:

$(charity.progress)

Returns the progress towards the current fundraising goal for the charity campaign on the channel, as a percentage. This value may exceed 100%, allowing Fossabot to highlight the achievement of a channel exceeding their fundraising goal.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.progress)

Error Output

  • In case there is no active charity campaign on the channel, returns the following:
  • In case there is no fundraising goal set for this campaign, returns the following:
  • In case Twitch returns the current amount raised and the fundraising goal in different currencies, returns the following:

$(charity.remaining)

Returns the amount left to raise to reach the current fundraising goal set for the charity campaign running on the channel.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.remaining)
  • In case the goal has already been reached, returns the following:

Error Output

  • In case there is no active charity campaign on the channel, returns the following:
  • In case there is no fundraising goal set for this campaign, returns the following:
  • In case Twitch returns the current amount raised and the fundraising goal in different currencies, returns the following:

$(charity.target)

Returns the fundraising goal set for the charity campaign that the channel is fundraising for.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.target)

Error Output

  • In case there is no active charity campaign on the channel, returns the following:
  • In case there is no fundraising goal set for this campaign, returns the following:

$(charity.website)

Returns the website of the charity the channel is fundraising for.

Parameters

This variable does not take any parameters.

Example Output

  • $(charity.website)

Error Output

  • In case there is no active charity campaign on the channel, returns the following: