Skip to main content
1 of 7
michaelpri
  • 401
  • 2
  • 8

WelcomeBot - a bot to welcome you

#WelcomeBot

A Stack Exchange chatbot written in Python that uses ChatExchange. Many parts of this were modeled after SmokeDetector, another Stack Exchange chatbot.


##Features

  • Welcomes new users entering chatrooms on chat.stackexchange, chat.meta.stackexchange, and chat.stackoverflow with a custom welcome command made by you
  • Many different chatroom commands:
  • //image (image search term) - searches for and posts images of or relating to the image search term
  • //choose (choice) or (choice) [or choice...] - makes decisions for you so you don't have to. Can accept more than two choices as long as they are separated by ' or '
  • //weather (city)[, country/state] - gets the weather for whatever location you would like
  • //youtube (youtube search term) - search Youtube for and returns a video of or relating to your search term
  • Commands for privileged users:
  • //die - kills the bot if it is acting up
  • //reset - resets the bot just in case
  • //pull - updates the bot with the latest commit on Github
  • //priv [user id] - gives a user the ability to use this command and the three commands listed above

To setup run:

git clone https://github.com/michaelpri10/WelcomeBot.git
cd WelcomeBot
git submodule init
git subodule update
sudo pip install beautifulsoup4
sudo pip install requests --upgrade
sudo pip install websocket-client --upgrade

Or you can just run the setup.sh file.


To run WelcomeBot, run nocrash.sh and log in with your Stack Exchange OpenID credentials.


#Why use WelcomeBot?

  • Make new users feel welcome in your chatroom
  • Have fun in your chatroom
  • Annoy Unihedron

#Source Code

  • WelcomeBot is an open source project and all of its code is available on Github.

  • WelcomeBot is constantly being updated; luckily the //pull commands makes it easy to keep up

  • If you want to see WelcomeBot in action check out the Teenage Programmers Chatroom, the current home for WelcomeBot

michaelpri
  • 401
  • 2
  • 8