• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Halibot / halibot
81%
master: 93%

Build:
Build:
LAST BUILD BRANCH: config-writer
DEFAULT BRANCH: master
Repo Added 27 Oct 2016 03:21AM UTC
Files 66
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH add-command-module
branch: add-command-module
CHANGE BRANCH
x
Reset
  • add-command-module
  • 0.1.0
  • 0.2.0
  • add-malformed-message-exception
  • allow-supplied-config
  • another-test
  • cli-config-command
  • config-load-in-Config
  • config-writer
  • configurer
  • contrib
  • core-perm-module
  • doc-types
  • erichte/log-with-instance-name
  • erichte/message-format-ri
  • filter-ri-injection
  • fix-eventloop-cleanup
  • future
  • help-dict
  • help-doc
  • help-text
  • help-text2
  • importable-packages
  • install-ed-fix
  • irc-completion
  • local-system-configs
  • log-traceback
  • master
  • more-tests
  • origin-fix
  • package-version
  • perm-fixes
  • perm-fixes-old
  • repo-client
  • repo-search
  • sjrct-routes
  • sjrct/fix-python-3.5
  • sjrct/info-cmd
  • split-instant
  • split-sendto
  • sync-send
  • sync-send-deadlock-check
  • test-cli

pending completion
248

push

travis-ci

richteer
halibot: introduce CommandModule subclass of HalModule

Initial implementation of the CommandModule class of HalModule.

To implement a CommandModule:
 - Inherit from the halibot.CommandModule class
 - Define a class variable that is a
    dict: "command" -> func(self, string, msg=msg)

Example:

class Foo(CommandModule):
	def init(self):
		self.commands = {"hello", self.hello_}

	def hello_(self, string, msg=None):
		return self.reply(msg, body="Hello World!")

Note: it is recommended practice to trail command methods with an underscore
so as not to accidentally override internal halobject methods.

some fixes

488 of 600 relevant lines covered (81.33%)

1.63 hits per line

Relevant lines Covered
Build:
Build:
600 RELEVANT LINES 488 COVERED LINES
1.63 HITS PER LINE
Source Files on add-command-module
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
248 add-command-module halibot: introduce CommandModule subclass of HalModule Initial implementation of the CommandModule class of HalModule. To implement a CommandModule: - Inherit from the halibot.CommandModule class - Define a class variable that is a dict: "... push 19 Sep 2017 11:41PM UTC richteer travis-ci pending completion  
246 add-command-module Merge branch 'master' into add-command-module push 19 Sep 2017 11:40PM UTC richteer travis-ci pending completion  
244 add-command-module Merge branch 'master' into add-command-module push 19 Sep 2017 11:35PM UTC web-flow travis-ci pending completion  
227 add-command-module halibot: introduce CommandModule subclass of HalModule Initial implementation of the CommandModule class of HalModule. To implement a CommandModule: - Inherit from the halibot.CommandModule class - Define a class variable that is a dict: "... push 15 Sep 2017 09:02PM UTC richteer travis-ci pending completion  
See All Builds (281)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc