Difference between revisions of "Polyamatey"

From Polyamory Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Features ==
 
== Features ==
 
=== Anonymous posting ===
 
=== Anonymous posting ===
'''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| list of commands]], Polyamatey will create a [https://en.wikipedia.org/wiki/Webhook | Webhook] calculating a random name, number, and profile picture (chosen from the art of [https://stefanie.wittholm.at | Stephanie Wittholm]) from the user's id using a [https://en.wikipedia.org/wiki/Hash_function | 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.
+
'''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| list of commands]], Polyamatey will create a [https://en.wikipedia.org/wiki/Webhook Webhook] calculating a random name, number, and profile picture (chosen from the art of [https://stefanie.wittholm.at Stephanie Wittholm]) from the user's id using a [https://en.wikipedia.org/wiki/Hash_function 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 ===
 
=== Gender game ===
Line 9: Line 9:
  
 
=== Marco Polo ===
 
=== Marco Polo ===
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 [https://en.wikipedia.org/wiki/Marco_Polo_(game) | Marco Polo game].
+
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 [https://en.wikipedia.org/wiki/Marco_Polo_(game) Marco Polo game].
  
 
=== Message logging ===
 
=== Message logging ===
All written messages on the [https://polypirat.es/discord| 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.
+
All written messages on the [https://polypirat.es/discord 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 ===
 
=== Ping-Pong ===
Line 18: Line 18:
  
 
=== Playing YouTube videos ===
 
=== Playing YouTube videos ===
'''Polyamatey''' was able to play the audio of [https://www.youtube.com | YouTube] videos. This feature stopped working for an unknown reason that is possibly related to [https://www.youtube.com| YouTube] changing the way they communicated their video information and might return in the future.
+
'''Polyamatey''' was able to play the audio of [https://www.youtube.com YouTube] videos. This feature stopped working for an unknown reason that is possibly related to YouTube changing the way they communicated their video information and might return in the future.
  
 
=== Reactions and memes ===
 
=== Reactions and memes ===
Line 29: Line 29:
 
* The Message "''What's the time?''" will trigger the response "''It's time to get a watch.''"
 
* 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...''"
 
* 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 [https://knowyourmeme.com/memes/general-grievous-lightsabers| Star Wars meme].
+
* Messages starting with "''Hello there''" will trigger a General Grievous webhook to answer "''General Kenobi.''" followed by four lightsaber reactions, referencing the [https://knowyourmeme.com/memes/general-grievous-lightsabers | Star Wars meme].
* Starting a message with "''This is the way''" will trigger a Mandalorian webhook to answer "''This is the way''", referencing the [https://knowyourmeme.com/memes/this-is-the-way| Mandalorian meme].
+
* Starting a message with "''This is the way''" will trigger a Mandalorian webhook to answer "''This is the way''", referencing the [https://knowyourmeme.com/memes/this-is-the-way | Mandalorian meme].
  
 
=== Wholesome incidents ===
 
=== Wholesome incidents ===
Line 45: Line 45:
 
|Posts a message to ''#❓-advice''
 
|Posts a message to ''#❓-advice''
 
|Direct message
 
|Direct message
|See [[#anonymous posting| anonymous posting]]
+
|See [[#Anonymous posting| anonymous posting]]
 
|-
 
|-
 
|!advicename
 
|!advicename
Line 54: Line 54:
 
|!agender
 
|!agender
 
|displays which user has the "''has the agender''" role in one of eight humorous sentences.
 
|displays which user has the "''has the agender''" role in one of eight humorous sentences.
|anywhere
+
|Direct message and server
 
|See [[gender game]]
 
|See [[gender game]]
 
|-
 
|-
 
|!coinflip
 
|!coinflip
 
|Returns either ''"Heads"'' or ''"Tails"''
 
|Returns either ''"Heads"'' or ''"Tails"''
|Anywhere
+
|Direct message and server
 
|
 
|
 
|-
 
|-
 
|!gender
 
|!gender
 
|displays which user has the "''has the gender''" role in one of eight humorous sentences.
 
|displays which user has the "''has the gender''" role in one of eight humorous sentences.
|anywhere
+
|Direct message and server
 
|See [[gender game]]
 
|See [[gender game]]
 
|-
 
|-
 
|!help
 
|!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.''"
 
|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
+
|Direct message and server
 
|This is a placeholder. In the future, this page will be linked instead.
 
|This is a placeholder. In the future, this page will be linked instead.
 
|-
 
|-
 
|!incident
 
|!incident
 
|Polyamatey announces how long it has been since the last [[#Wholesome incidents| wholesome incident]].
 
|Polyamatey announces how long it has been since the last [[#Wholesome incidents| wholesome incident]].
|Anywhere
+
|Direct message and server
 
|See [[#Wholesome incidents| wholesome incidents]]
 
|See [[#Wholesome incidents| wholesome incidents]]
 
|-
 
|-
Line 84: Line 84:
 
|!prank
 
|!prank
 
|Innitiates the "''[https://knowyourmeme.com/memes/updog updog] prank''".
 
|Innitiates the "''[https://knowyourmeme.com/memes/updog updog] prank''".
|Anywhere
+
|Direct message and server
 
|Polyamatey doesn't need a user to initiate the prank to be able to answer "''What's updog?''"
 
|Polyamatey doesn't need a user to initiate the prank to be able to answer "''What's updog?''"
 
|-
 
|-
Line 90: Line 90:
 
|Posts a message to ''#❓-advice-nsfw''
 
|Posts a message to ''#❓-advice-nsfw''
 
|Direct message
 
|Direct message
|This command is only accessible for users who confirmed their age to be over 18, see [[#anonymous posting| anonymous posting]] for more details.
+
|This command is only accessible for users who confirmed their age to be over 18, see [[#Anonymous posting| anonymous posting]] for more details.
 
|-
 
|-
 
|!roll ''n'''''d'''''s'' [[+] ''moreDice'' ...]
 
|!roll ''n'''''d'''''s'' [[+] ''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.
 
|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
+
|Direct message and server
|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.
+
|In this explanation, ''n'' is the number of dice, ''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''
 
|!vent ''message''
Line 104: Line 104:
 
|!wiki ''name of an article''
 
|!wiki ''name of an article''
 
|Displays an article from [[Main Page| Polyamory Wiki]]
 
|Displays an article from [[Main Page| Polyamory Wiki]]
|Anywhere
+
|Direct message and server
 
|If an article couldn't be found, Polyamatey will try to use [https://wikipedia.org Wikipedia] as a source instead.
 
|If an article couldn't be found, Polyamatey will try to use [https://wikipedia.org Wikipedia] as a source instead.
 
|}
 
|}

Latest revision as of 19:34, 11 May 2021

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 and might return in the future.

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. Direct message and server See gender game
!coinflip Returns either "Heads" or "Tails" Direct message and server
!gender displays which user has the "has the gender" role in one of eight humorous sentences. Direct message and server 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." Direct message and server 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. Direct message and server 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". Direct message and server 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. Direct message and server In this explanation, n is the number of dice, 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 Direct message and server 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.