Uh oh!
There was an error while loading. Please reload this page.
Feature/poll rewrite - #204
Conversation
Deploying with |
| Latest commit: | 8f9609c |
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f54b2f53.pydrocsid-cogs.pages.dev |
| Branch Preview URL: | https://feature-poll-rewrite.pydrocsid-cogs.pages.dev |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| parsed_options: list[tuple[str, str]] = [(obj.emoji, t.select.label(ix)) for ix, obj in enumerate(options, start=1)] | ||
| try: |
There was a problem hiding this comment.
use an if condition instead of this try-excpet-thing here (check for permissions first)
There was a problem hiding this comment.
problem with that is, that its not about the permission, its about the maximum pins per channel https://docs.pycord.dev/en/master/api.html?highlight=HTTPException%20pin#discord.Message.pin
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Ari24-cb24
left a comment
There was a problem hiding this comment.
Simplify code
Here's my comment so where is my money now?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
LoCrealloc
left a comment
There was a problem hiding this comment.
there you got at least some minor things to fix; have fun
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| if _weight and weight < (_weight := float(_weight)): | ||
| weight = _weight | ||
| return weight |
There was a problem hiding this comment.
please dont calll it weight and _weight, thats very unreadable
Code Climate has analyzed commit 8f9609c and detected 0 issues on this pull request. View more on Code Climate. |
Description
Poll rewrite
Issue
Closes#140#162