Skip to content

Bot returns sexist and harassing fortunes #89

Description

@liilac

Summary: When a user replies to the bot, it responds with its prefix along with a "fortune" from the fortune-teller package. This package returns sexist and harassing messages, which the bot relays to user.

Trigger: Reply to the bot using the "Reply" feature in Discord. Message content varies, so it may take repeated attempts to obtain sexist or harassing messages.

Expected behaviour:

  • Bot ignore user repyling; or
  • Bot reply with its prefix without a fortune; or
  • Bot reply with its its prefix and a fun but not hateful message

Actual behaviour: Bot replies with its prefix along with a "fortune", which often features sexist or harassing content directed at the user.

(Note: the fortune behaviour cannot be disabled without modifying source code)

Why this is a problem:

  • Content of this nature violates the Discord ToS and may lead to bot suspension
  • Many communities have codes of conduct or other policies prohibiting harassing or discriminatory language; this bot cannot be used in such communities
  • Some jurisdictions make it unlawful to engage in sexual harassment, or discriminatory language. Liability may extent to bot operators, making the bot potentially unlawful to use.
  • The bot may make users uncomfortable, even in the absense of law or policy prohibiting such language.

Relevant code: src/shard/discordEvents.js#L84

Possible resolution:

  • Change the linked line to not include a fortune; or
  • Replace the fortune-teller package with another that does not include hateful content, such as fortune-teller-safe (GitHub, NPM); or
  • Incorporate "fortune"-like content into QTweet itself

Examples of actual behaviour:
QTweet_Sexist_1
QTweet_Sexist_2
QTweet_Harassing_1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions