Polyamatey

From Polyamory Wiki
Revision as of 17:03, 15 February 2021 by Captn (talk | contribs)
Jump to navigation Jump to search

Polyamatey is a JavaScript-based bot created to serve the PolyPirates Discord server. She organizes some server-wide games, does minor moderations, and allows for exclusive features like anonymous posting.

Features[edit]

Anonymous posting[edit]

Polyamatey allows for anonymous posting on the text channels "#❓-advice", "#💨-the-vents", and "#❓-advice-nsfw" (for adult users only). When a user sends a message to Polyamatey starting with the respective command from the list of commands, Polyamatey will create a Webhook calculating a random name, number, and profile picture (chosen from the art of | Stephanie Wittholm) from the user's id using a hash function. This webhook will then post in the chosen channel without revealing the original poster's identity while still making it obvious if multiple anonymous messages belong to the same user. Because of the nature of hash functions, there is a chance of two users having identical webhooks for anonymous postings, which is also what makes this feature secure.

Gender game[edit]

Polyamatey manages the gender game, where users can get the roles "has the gender", "has the agender", and "has superpowers" and their assigned colors to change the appearance of their username. The calculations for superpowers are still buggy for an unknown reason.

Marco Polo[edit]

If a message contains "Marco" (optionally with a question mark or exclamation mark), Polyamatey will answer "Polo!". This feature can be used to check if the bot is currently online. It is inspired by the Marco Polo game.

Message logging[edit]

All written messages on the PolyPirates Discord server that Polyamatey receives are logged in the console of the bot just to be discarded on restart. This feature is meant to document abuse since users can edit or delete their messages. Only admins of the server can access that console.

Ping-Pong[edit]

If a message contains the word "ping", Polyamatey will reply with "Pong!". The most basic version of this feature is often used in Discord bot tutorials.

Playing YouTube videos[edit]

Polyamatey was able to play the audio of YouTube videos. This feature stopped working for an unknown reason that is possibly related to YouTube changing the way they communicated their video information.

Reactions and memes[edit]

  • Messages containing the text "bean juice" will trigger a ☕ reaction.
  • Messages containing "I need a hug" or "can/may I have a hug" will trigger a 🤗 reaction.
  • If a tagged user "needs a hug" Polyamatey will try to react to their last message in that channel instead.
  • Messages containing the number 69 will trigger a "nice" reaction.
  • Messages containing "laugh!" will trigger the response "Muhahahahaha!"
  • The Message "What's your purpose?" will trigger the response "To clean up behind your crew because they cannot do it themselves."
  • The Message "What's the time?" will trigger the response "It's time to get a watch."
  • The message "Kiss?" will trigger the response "I'm a bot, but you can kiss your screen I suppose..."
  • Messages starting with "Hello there" will trigger a General Grievous webhook to answer "General Kenobi." followed by four lightsaber reactions, referencing the Star Wars meme.
  • Starting a message with "This is the way" will trigger a Mandalorian webhook to answer "This is the way", referencing the Mandalorian meme.

Wholesome incidents[edit]

Polyamatey's status displays the last time someone sent a message containing "I love you all" (there are a few possible variations) on the server. As soon as such a message is recognized, the timer is reset and the previous time past is announced on the #⛵-main-deck. The status is updated with each message. Using the command "!incident", the time since the last incident will be announced immediately in the channel where the command was received.

List of commands[edit]

Command Purpose Where to use Notes
!advice message Posts a message to #❓-advice Direct message See anonymous posting
!advicename Polyamatey replies the name of the user's anonymized identity. Direct message See anonymous posting
!agender displays which user has the "has the agender" role in one of eight humorous sentences. anywhere See gender game
!coinflip Returns either "Heads" or "Tails" Anywhere
!gender displays which user has the "has the gender" role in one of eight humorous sentences. anywhere See gender game
!help Triggers the response "What am I to you? Some kind of servant? But fine, I'll show you what I can do... in time. Then nothing will !help you." Anywhere This is a placeholder. In the future, this page will be linked instead.
!incident Polyamatey announces how long it has been since the last wholesome incident. Anywhere See wholesome incidents
!matt Changes the user's nickname to "Matt" On the server If the user has a nickname containing information in parentheses (e.g. pronouns), Polyamatey will try to preserve it.
!prank Innitiates the "updog prank". Anywhere Polyamatey doesn't need a user to initiate the prank to be able to answer "What's updog?"
!nsadvice message Posts a message to #❓-advice-nsfw Direct message This command is only accessible for users who confirmed their age to be over 18, see anonymous posting for more details.
!roll nds [[+] moreDice ...] Rolls a number of s-sided dice and answers the result. If more than one type of dice is chosen, their sums will be grouped. Anywhere In this explanation, n is the number of sides, s is the number of sides the dice have. Multiple groups of dice and constants can be connected using + or whitespace, subtraction is not implemented.
!vent message Posts a message to #💨-the-vents Direct message See anonymous posting
!wiki name of an article Displays an article from Polyamory Wiki Anywhere If an article couldn't be found, Polyamatey will try to use Wikipedia as a source instead.

Trivia[edit]

  • Polyamatey is using a female character from an unreleased webcomic as an avatar. This is why she uses she/her pronouns.
  • She is the predecessor of the PolyamoryWiki bot.
  • Polyamatey used to also log private messages. This feature was deactivated when anonymous posting was introduced.