GithubHelp home page GithubHelp logo

jeremyredhead / run_botling Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

Easily run a BotBot botling standalone, i.e. on one's own computer without BotBot being online

License: Other

Python 100.00%

run_botling's Introduction

run_botling.py

(i don't have a better name yet)

Easily run a BotBot botling standalone, i.e. without BotBot itself.

Once the dependencies are installed, just plop run_botling.py down in any folder,
and pass it the name of a file containing your bot's code. (e.g. py run_botling.py spambot.txt)

The !createbot &room @BotName prefix is technically optional, but highly encouraged,
as currently the only other way to change the name or room is editing the python file.
(to set the creator variable precede !createbot with your name in square brackets,
e.g. [Builder Bob] !createbot @WeCanFixItBot CODE -- but not [Ana Ni Muss] CODE)

Dependencies (and how to install them)

Python (naturally)

As this program & botbot itself are written in Python,
you will need Python installed to run this, specifically Python 3

To see if it's installed already, just open up Terminal (mac/unix), or Command Prompt (win)
then type python --version, or py --version on Ms Windows.
If it says Python 3.x.x, then YAY! It's already installed!
Otherwise head over to https://python.org/downloads/ and install a recent 3.x version

BotBot library

Now that Python is installed, we'll want to install the BotBot library.
But first, run python -m pip show setuptools for me, will you? (On Windows:tm:, use py)
If the version listed is 58 or above, you'll need to use my fork of BotBot
(Actually, let's just use my fork either way)

But wait, how to download & install botbot? ๐Ÿค”

Download BotBot

If you have git installed, then just run git clone https://github.com/jeremyredhead/BotBot
(But actually, first, make sure to cd into your Documents folder or something)
If you don't have git, then just click the big ol' Code button and...
Actually, let's download & install git anyway (for now),
because I'm not actually sure if BotBot's dependencies can be installed without it.

Install BotBot

First, cd into the BotBot folder, where ever you put it.
Then, run python setup.py install (or py on windows).
A bunch of text will scroll onto your screen for a lil while until its finishes.
If the end of the text says something like:
Finished processing dependencies for botbot==x.y.z
Then congrats! BotBot is now installed!
If not... uhhh... tell me and I'll see if I can figure it out.

run_botling's People

Watchers

 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.