Giter VIP home page Giter VIP logo

ethbot's Introduction

EthBot

A chat bot/logger for Wikia Chats built on Python 2.7

This project is heavily influenced by chatbot-rb from sactage and uses a modified version of hairr's chatbot module as the client.

Installation

  • Install Python 2.7.
  • Install the requests module (pip install requests).
  • Create a config.json file (use config.sample.json as a reference).
  • Run EthBot.py (python EthBot.py).

Notes

For the YouTube video information module to work properly, you must have a Public API access key from a Google project. You can create one in https://developers.google.com. After getting the key, add it to your config.json file under the key "youtube-key".

Commands

Command Function
!hon Turns the !hello command on.
!hoff Turns the !hello command off.
!yton Turns YouTube video information on.
!ytoff Turns YouTube video information off.
!lon Turns logging on.
!loff Turns logging off. Updates logs before shutting off.
!seenon Turns the !seen command on.
!seenoff Turns the !seen command off.
!twon Turns Twitter tweet information on.
!twoff Turns Twitter tweet information off.
!tellon Turns the !tell command on.
!telloff Turns the !tell command off.
!hello [message] Says "Hello". If followed by message, will say "Hello, message".
!bye Says "Goodbye!".
!quit Makes the bot exit the chat.
!updated Gives information about how long ago were the logs updated and how many lines are in disk.
!logs Links the logs page.
!dumpbuffer Clears the logfile.
!seen user Gives the last time the bot "saw" the user.
!kick user Kicks user from chat.
!updatelogs Updates the logs.
!gauss x, y, z Gives the sum of all the numbers from x to y with a common difference of z.
!ignore user Makes the bot ignore any commands used by user.
!unignore user Makes the bot accept any command used by user.
!tell user message Sends a message to user the next time the bot sees them.
`!rps [rock paper

ethbot's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.