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

Geoffery10 / Discord-Role-Manager / 29950793573 / 1
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 07:24PM UTC
Files 26
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

22 Jul 2026 07:21PM UTC coverage: 81.095% (+0.2%) from 80.911%
29950793573.1

push

github

Geoffery10
Skip guilds the bot is no longer in (was crashing the daily task loop)

update() iterated the hardcoded guilds list in main.py and called
client.get_guild(id).name on each entry. If the bot had been removed
from a server since the list was last updated, get_guild returned
None and the .name access raised AttributeError, killing the loop
mid-iteration. Every guild after the stale one silently got skipped
— which is why The Canvas birthday message never posted after the
bot was (re-)added to a stale-id list, and why subsequent guilds
like Terrarium also never got processed.

Wrap the lookup in a None-check: log a WARNING naming the stale id
and continue, so the rest of the guilds still get their daily pass.
Same treatment for the database-sync phase below.

Adds a regression test that pins the new behavior: with a None
guild in the middle of the list, the other two guilds still get
check_birthday called, and a warning is logged for the stale id.

2192 of 2703 relevant lines covered (81.1%)

0.81 hits per line

Source Files on job 29950793573.1
  • Tree
  • List 26
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29950793573
  • 402402de on github
  • Prev Job for on main (#29950204037.1)
  • Next Job for on main (#29956984604.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc