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

Halibot / halibot / 359
93%
master: 93%

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

pending completion
359

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%)

1.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 359.1 01 Oct 2018 09:45PM UTC 0
94.48
Travis Job 359.1
2 359.2 01 Oct 2018 09:45PM UTC 0
94.48
Travis Job 359.2
Source Files on build 359
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #359
  • fe3cfc2d on github
  • Next Build on perm-fixes (#363)
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