Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

[Birthdays] Bug | Role is Not Removed After 24 Hours #47

Open
Menteroth opened this issue May 8, 2021 · 1 comment
Open

[Birthdays] Bug | Role is Not Removed After 24 Hours #47

Menteroth opened this issue May 8, 2021 · 1 comment

Comments

@Menteroth
Copy link

It still added on the user going on 13 hours the day after at the moment.

@Menteroth
Copy link
Author

I found this now when I was randomly checking the logs.

+----------------------------------------------------------------------- Traceback (most recent call last) -----------------------------------------------------------------------+
¦ C:\__\coding\Soundwave\cogs\CogManager\cogs\birthdays\birthdays.py:172 in clean_bday                                                                                            ¦
¦ > 172                 await member.remove_roles(role)                                                                                                                           ¦
¦ c:\__\coding\redenv\lib\site-packages\discord\member.py:809 in remove_roles                                                                                                     ¦
¦ > 809                 await req(guild_id, user_id, role.id, reason=reason)                                                                                                      ¦
¦ c:\__\coding\redenv\lib\site-packages\discord\http.py:265 in request                                                                                                            ¦
¦ >  265                 raise DiscordServerError(r, data)                                                                                                                        ¦
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant