Giter VIP home page Giter VIP logo

karkat's People

Contributors

mego avatar ryanmavilia avatar svkampen avatar tetrapus avatar zeroecks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

karkat's Issues

Init script

Karkat requires a lot of files to initialise with features.

Configuration directory should be defined in configuration file

Current, configuration directories are assumed knowledge of plugins. This can be a property of the bot object (as configuration data is often a server-dependant property), and perhaps a data abstraction layer can be built to handle storage of plugin data.

Shorten URLs in Google Search

But perhaps add domain info. Possible format may be:
⎟ �Tim Rice: why do we all adore a musical? - Telegraph �· telegraph.co.uk ↗ http://bit.ly/sdfwfsdf

Or perhaps we can detect that "telegraph" is a fuzzy substring of "telegraph.co.uk" and only show one:
⎟ �Tim Rice: why do we all adore a musical? �· telegraph.co.uk ↗ http://bit.ly/sdfwfsdf
or
⎟ �Tim Rice: why do we all adore a musical? �- Telegraph ↗ http://bit.ly/sdfwfsdf

Daemon threads.

ALERT ALERT ALERT - LARGE HADRON COLLIDER MELTDOWN - ALERT ALERT ALERT

TRACEBACK (MOST RECENT CALL LAST):
File "lhc.py", line 981238, in start_detector_threads_
for thread in threads:
thread.setDaemon(True)
thread.start()
File "lhc_detector_thread.py", line 897, in detect_particle_
return Particle(data[0], data[1], data[2:4])
File "lhc_particle.py", line 332, in init
raise ParticleException("God does not exist. %s" % (self))

CAH Timeout removal

Bug where timeout causes the wrong people to be removed, and does not check resulting game state.

Last.FM Login

To allow loving/banning tracks. This is mostly for personal use, but should be able to support arbitrary users.

Command not triggering/printing

This code fails to trigger or print:
features.py

# -*- coding: utf-8 -*-
from text import *
from irc import *

groups = {
    'australians': ['Toggle2', 'KnightHawk3', 'Connsole', 'Lion']
}


@command(groups)
def group(message):
    return message.text


flist.update({
    "privmsg": [group],
})

CAH Interface issues

Clear separation between rounds, reduce verbosity, condensed card output mode.

Docopt!

Docopt is sexy and karkat needs to use it.

Alter plugin interface

  1. The (name, bot, printer) signature is clunky. Get rid of name and make bot inherit from printer.
  2. The initialise closure is essentially mandatory for plugins. We can make it optional by inspecting the argspec on load and passing in the bot object. More messily (but more implicitly), we can directly modify the namespace of defined callbacks when hooked.

Restructure Karkat's folder structure

Needs more folders. Util, text and irc should be part of a util package. Threads, mixins, etc should be part of a bot package. Youtube & url can either go in util, services, or util.services. xchat should go in the codebin.

Weather

Primitive weather implementation is already existent in the codebin.

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.