Ongoing collection of bots for the Bots of Conduct workshop. This repository will be gathering code written by many people during various moments (Relearn 2017, Relearn 2019, ongoing Varia work).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mb 6a885bbb1f a bit more spacing! 5 years ago
Bots Moved file to Bots folder 5 years ago
Previous iterations Update 'Previous iterations/README_Collective_Conditions.md' 5 years ago
readings pushing a smaller version of the Conversation is a cybernetic technology pdf 5 years ago
README.md a bit more spacing! 5 years ago
log_bot_01.jpg uploaded two images of Varias logbot 5 years ago
log_bot_02.jpg uploaded two images of Varias logbot 5 years ago

README.md

Bots of Conduct

A workshop by Cristina Cochior and Manetta Berends for the department of Communication Design/Information Design at the University of Arts and Design, Halle (Germany) 2020.
Based on a workshop Cristina Cochior and Joana Chicau did for Constant's work session Collective Conditions, Brussels 2019.


Bots as Conversational Tools

Infrapunctural Bots for Stress Relief

Slide from a 2018 presentation by Deb Verhoeven on digital infrapunctures

Inspired by the potential of digital infrapunctures by Deb Verhoeven, we would like to propose considering what a bot logic might look like:

  • where platform logic accumulates, bot logic disperses
  • where platform logic centralises, bot logic fragments
  • where platform logic creates distance between user and infrastructure, bot logic develops an intimate knowledge of the platform
  • where platform logic reinforces habitual behaviour, bot logic encourages new habit formation

A few examples:

Bots as Tools to Intervene in Conversations

What would it mean to become more entangled with bots, redistribute the labour of making and maintaining a collective, but without falling into the metaphorical understanding of bot as a servant?

Varia members use XMPP as a chat protocol because it enables us to self-host our own instance and federate with other chat servers. We use bots both to communicate and to document our exchanges. Our initial idea was to develop new forms of note-taking based on our interaction habits. We share a lot of different types of information in group chats, from news to recommendations of articles to instigations to clean the fridge. Starting from the conversational nature of our exchanges, we are experimenting with two different bot-users in the chat: one that gathers images shared on the main Varia channel and displays them online, and another one, focused specifically on the topic of digital interdependencies, that gathers images, quotes and looks for books' citations.

Working on our own digital infrastructure allows us to adapt the tools to our own needs and behaviours; meaning that these bots make sense to us, but they may not make sense to someone else.

Currently, we use:

  • Streambot: a bot that saves the images sent to the main Varia group chat and creates an html page for them.
  • Logbot: a bot that logs the quotes that are sent to it.
  • You can find a genealogy of the bots around Varia in this footnote1

Let's look into the bots examples:


Transit

name: transit.py

action mode: announces when someone enters or leaves the room

situation: finding non-verbal ways of communicating through presence and absence, making presence felt otherwise


Gather

name: gather.py

action mode: generates a shared language; it creates a collective document

situation: a collective discursive setting that generates its own vocabulary


Greet

name: greet.py

action mode: sends a message when it enters the room

situation: when there is a theme, for example: "send a reference to an existing or imaginary code of conduct, complaint, guideline, bug report, open letter, license or other social-technical protocol and explain why it is of interest to you."; how one wants to be introduced


Spark

name: spark.py

action mode: replies to a specific word; brings alternatives into the situation; tries to create new habits and terminologies

situation: potentially in moments when a situation seems difficult and there is a need for more joyful interactions


Whisper

name: whisper.py

action mode: takes what someone says to it in confidentiality and echoes it to a group chat, thus anonymising it

situation: there are remarks or complaints in the room, but the person does not feel comfortable to bring up the issue themselves


Installing and Running the Bots

During this workshop we will use:

  • python3
  • pip3
  • slixmpp
  • a code editor

Some installation guides can be found under the following links.

python3 + pip3:

For computers running Windows OS or Mac OS:

  1. check what version of Python you have on your computer with $ python --version
  2. if you have python 2.x, try also the following, to be sure that you don't have python3 already: $ python3 --version
  3. if this returns a "Could not be found" (or something like that), then proceed to install python3. If it returns a version number, then you have python3 already!
  4. to install python3, you can download python under the following links and follow the installation instructions:

pip3 comes installed with python3. You can check if it installed correctly by running: $ pip3 --version


For computers running Linux OS:

  • open the terminal
  • check which version of python you have:
    $ python --version
    $ python3 --version
  • if you have a python 2 version, you could install python 3
    $ sudo apt install python3
    $ sudo apt install python3-pip

slixmpp:

This is the Python library we use to make the bots. You can install it by running: $ pip3 install slixmpp

code editor:

  • if you dont have a code editor, we can suggest (among others) Sublime Text or Atom

Run the bots!

First download the bots from this page.

  • go to the folder where you have downloaded them
  • run the following commands in the terminal: $ pip3 install slixmpp requests
  • to run a bot, you can copy paste the commands which are already mentioned in the bot file, but a general command looks like this: $ python3 bot.py -d -j administratorbot@conversejs.org -r botsofconduct@muc.vvvvvvaria.org -n bot -p testing
  • where:
    -j stands for JID (jabber id)
    -r means room
    -n stands for bot nickname
    -o stands for for output
    . means here

Join the chatroom!

To join the chatroom, you need to use a XMPP client and an account.

Footnotes

Link to references pad — further references and materials assembled by Joana and Cristina - feel free to add your own!


  1. genealogy of bots ↩︎