Skip to main content

the objecter

Project description

email: bthate@dds.nl | irc: botfather on irc.freenode.net | pypi: https://pypi.org/project/objr | source: http://bitbucket.org/bthate/objr

OBJR is a objecter objecting to objects.

if you need the objecter to have access to your local directory use this:

export PYTHONPATH="."

this will add your current directory to the pythonpath so the packages in it can be found by the objecter.

the objecter includes one program in the repository, the objr program:

Usage: objr [options]

Options:
  --version      show program's version number and exit
  -h, --help     show this help message and exit
  -d WORKDIR     set working directory.
  -l LEVEL       loglevel.
  -m MODULES     modules to load.
  -o OPTIONS     parseable options to use.
  --owner=OWNER  userhost of the bot's owner

the basic OBJR shell has the following commands:

ed                            - edit objects.
find                          - find objects.
load                          - load module.
log                           - log some text.
meet                          - add a new user.
rm                            - set _deleted flag.
show                          - show internals.
unload                        - unload module.

the show command can be used to check status:

cfg                           - show main config
cmds                          - show available commands
license                       - show license
mods                          - show loaded modules
tasks                         - show running tasks
uptime                        - show uptime
version                       - show version

programming your own commands is easy, your can load modules with the -m option. a command is a function with one argument, the event that was generated on the bot

def mycommand(event):

    <<< your code here >>>

You can use event.reply() to send response back to the user.

OBJR has a “no-clause MIT license”.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for objr, version 2
Nombre de archivo, tamaño File type Versión de Python Fecha de carga Hashes
Nombre de archivo, tamaño objr-2.tar.gz (4.4 kB) File type Source Versión de Python Ninguno Fecha de carga Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page