GithubHelp home page GithubHelp logo

ircart / scroll Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 4.0 181 KB

irc bot to play ascii art

License: ISC License

Python 100.00%
irc bot ansi ascii art internet-relay-chat ascii-art ansi-art pp4l irc-bot

scroll's Introduction

scroll

Scroll is full-featured IRC bot that carries a PENIS PUMP & will brighten up all the mundane chats in your lame IRC channels with some colorful IRC artwork! Designed to be extremely stable, this bot is sure to stay rock hard & handle itself quite well!

All of the IRC art is loaded directly from the ircart central repository using the Github API, which means that anytime the repository is updated with new art, you can simply .ascii sync & then be able to pump the latest art packs!

Designed to be portable, there is no API key needed, no local art files needed, & no reason to not setup scroll in your channel(s) today!

Dependencies

Commands

Command Description
@scroll information about scroll
.ascii <name> play the <name> art file
.ascii dirs list of art directories
.ascii img <ur> convert image <ur> to art (experimental, beta status)
.ascii list list of art filenames
.ascii play <url> play the contents of <url> (must be a raw pastebin url)
`.ascii random [dir query]`
.ascii search <query> search art files that match <query>
.ascii settings [<setting> <option>] view or change settings
.ascii stop stop playing art
.ascii sync sync the ascii database to pump the newest art

NOTE: You can do .ascii help to play the help.txt file in your channel.

NOTE: The sync & settings commands are admin only! admin is a nick!user@host mask defined in scroll.py

Settings

Setting Type Description
flood int or float delay between each command
ignore str directories to ignore in .ascii random (comma seperated list, no spaces)
lines int max lines outside of #scroll
msg int or float delay between each message sent
paste boolean enable or disable .ascii play
png_quantize_colors int quantize color option for .ascii img output
png_palette str palette option for .ascii img output (RGB99 or RGB88)
png_width int maximum width for .ascii img output
results int max results to return in .ascii search

Preview

Come pump with us in #scroll on irc.supernets.org


Mirrors

acid.vegasGitHubGitLabSuperNETs

scroll's People

Contributors

acidvegas avatar

Stargazers

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

Watchers

 avatar

scroll's Issues

.ascii auto crashes

Very nice bot! I'm experiencing an issue with .ascii auto. When I try to run an automated loop, I get the following Traceback:

sqlite3.ProgrammingError: Recursive use of cursors not allowed.

This causes the bot to go into a state which breaks it, only returning:

[ERROR] Please wait for the current ASCII to finish playing!

Seems like it's something to do with Threads and cursors.

.ascii list broken

It seems as though .ascii list is not working as documented. I receive the following when running a list command:

[ERROR] Invalid file name. (Use ".ascii list" for a list of valid file names.)

Seems to be true whether or not I generate the list file with the list creation script.

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.