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

Halibot / halibot / 359 / 1
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: config-writer
DEFAULT BRANCH: master
Ran 01 Oct 2018 09:45PM UTC
Files 17
Run time 1s
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

01 Oct 2018 09:36PM UTC coverage: 94.479%. First build
359.1

push

travis-ci

richteer
halauth: simplify dependencies for the hasPermission decorator

The `@hasPermission` decorator was intended to be simple to use for module
developers. As it turns out however, it is completely incompatible with modules
that subclass CommandModule. Considering this is also a class intended to make
life easier, something had to be fixed.

Thus, a compromise was reached: have the decorator search for the `Message`
object *somewhere* in the target function's parameters. Rather than require it
to be the first positional argument, it will instead use the identity/ri
information from the *first* `Message` object in the parameter list.

924 of 978 relevant lines covered (94.48%)

0.94 hits per line

Source Files on job 359.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 352
  • Travis Job 359.1
  • fe3cfc2d on github
  • Next Job for on perm-fixes (#363.1)
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