Git Product home page Git Product logo

tsukibot's Introduction

TsukiBot - A hand made C++ IRC bot!

License: MPL 2.0

TsukiBot is my second attempt at making a C++ IRC bot. Currently this bot joins a channel on Freenode and accepts commands to join additional channels,ping others plus give coffee,and ofc moo!!!

I plan to make a plugin system for this bot to do things like show weather,make jokes or serve tea,do some AI shit,remind people of things,google,show youtube links,give the appropriate description of links,sing songs at the appropriate moments,etc. As they say,one at a time ๐Ÿ˜‰

For compiling, see Compile.md

Notes

  1. The main code of the bot is ready, I just have to implement the plugins now. The windows side of the plugin syustem is not fixed for now.
  2. The compile.sh script uses cmake to compile. Use that to compile.
  3. This bot was only meant to be used on the Freenode network. Additional servers,if required,will be added in later versions. 4)Windows build is not fixed yet, Compile.md might be wrong.
  4. More will be added on notice. ๐Ÿ˜œ

License

Distributed under the Mozilla Public License, Version 3.0.(See accompanying file LICENSE or copy at https://www.mozilla.org/en-US/MPL/2.0/)

tsukibot's People

Contributors

otakusenpai avatar

Stargazers

Thomas Trapp avatar

Watchers

James Cloos avatar  avatar

tsukibot's Issues

A stray exception in coffee plugin

THe coffee plugin as of e5c5f4d has a exception thrown at the bot,after repeated use of ",coffee foobar" or something and a ",coffee botname".
Find the reason and fix it!

Handle ping time outs more sanely

Server Data: ERROR :Closing Link: 117.1XX.XXX.XXX (Ping timeout: 248 seconds)
Handle this message by reconnecting to the server in a proper way.

Clean exit when thrown exceptions

When this exception(or others) is thrown:

Caught exception :
ircconnector.cpp : In Tsuki::IRCConnector::Connect(). Empty IRCConnector::ipaddress. Error is
Couldn't bind to local port.
The program results in a segfault.

Sending nick...
Nick: NICK G33kb0i

Segmentation fault

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.