Giter Club home page Giter Club logo

botymcbotface's Introduction

BotyMcBotface

An example IRC bot skeleton written in Python 3.

Introduction

BotyMcBotface (because what else can you name a bot, really?) is a simple IRC bot skeleton inspired by the tutorial at https://pythonspot.com/en/building-an-irc-bot. This skeleton doesn't really do anything; it was designed as an example of how to write a bot that others can build upon.

Files

There are basically two files - the actual IRC code in the file botymcbotface/irc.py, and an example bot, example_bot.py. The latter has plenty of comments, and should probably be the first one you look at. The other one, botymcbotface/irc.py should be usable as-is, but it's pretty bare-bones as of now. However, to make your own bot, changing example_bot.py should be enough.

Setup

To make this work, you first need to register your own version of the bot's nickname on Freenode: http://www.wikihow.com/Register-a-Nickname-on-Freenode

Then, you put two files in a directory called private inside the same directory as the code, one called nickname which contains the nickname you registered, and one called password which unsurprisingly should contain the password. Having done that, you should be able to just start example_bot.py to get it running. Read its code and comments for more in-depth information of how it works.

-Enfors-

botymcbotface's People

Contributors

enfors 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.