Giter VIP home page Giter VIP logo

krzbot's Introduction

krzbot

Requirements:

you need bash, bc, and httpie ( https://httpie.org/ ). you may need to modify the query in query(). You will need to setup webhooks in discord and then set those up at ther bottom of the script. If you want a map you need to make an API key and fill it in at the top of the script. Remember to remove the x from xhttps. Install the database schema before you use it. You can decide how and when to run it, i like to use crontab:

          • /home/pi/krzbot/runbot.sh after you edit runbot.sh and change the directory in the crontab line and runbot.sh script. This would make it run every minute if it is not already running. ############################################################################ ##############Happy hunting###############krzthehunter########################## ############################################################################

I take no responsibility for any harm caused by this script including but not limited to injured cats or nuclear hollocaust. Use it at your own risk. In fact you really should only use this if you understand it because you need to know a little bash to configure conditions for when to send to webhooks. This is released under a custom license im calling the NOSUPPORT license. Basically, do whatever you want with it, just dont ask me to support it! Sorry, I didn't figure out an easy way to abstract the config so normal non unix admin users could configure it. I just wrote it as a quick solution for myself, but I figured why not share with you guys too. Oh and FYI the bot will leak your mapquest key... the only way around that would be to download the image and then attach it to every post.

krzbot's People

Contributors

krzee avatar

Watchers

James Cloos 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.