Skip to content

Conversation

@plun1331
Copy link
Member

@plun1331 plun1331 commented Jun 8, 2023

Summary

Fixes a bug that caused an AttributeError to be raised from Select.values if the select had not been interacted with yet, specifically non-string selects.

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@plun1331 plun1331 added bug Something isn't working status: awaiting review Awaiting review from a maintainer labels Jun 8, 2023
@plun1331 plun1331 requested a review from a team as a code owner June 8, 2023 16:21
@pullapprove4 pullapprove4 bot requested a review from ChickenDevs June 8, 2023 16:21
@pullapprove4 pullapprove4 bot requested a review from FrostByte266 June 8, 2023 16:22
@plun1331
Copy link
Member Author

plun1331 commented Jun 8, 2023

what is pullapprove smoking

@codecov
Copy link

codecov bot commented Jun 8, 2023

Codecov Report

Merging #2104 (6aac42a) into master (36fea34) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2104      +/-   ##
==========================================
- Coverage   33.13%   33.13%   -0.01%     
==========================================
  Files          97       97              
  Lines       19139    19141       +2     
==========================================
  Hits         6342     6342              
- Misses      12797    12799       +2     
Flag Coverage Δ
macos-latest-3.10 33.11% <0.00%> (-0.01%) ⬇️
macos-latest-3.11 33.11% <0.00%> (-0.01%) ⬇️
macos-latest-3.8 33.12% <0.00%> (-0.01%) ⬇️
macos-latest-3.9 33.12% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.10 33.11% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.11 33.11% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.8 33.12% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.9 33.12% <0.00%> (-0.01%) ⬇️
windows-latest-3.10 33.11% <0.00%> (-0.01%) ⬇️
windows-latest-3.11 33.11% <0.00%> (-0.01%) ⬇️
windows-latest-3.8 33.12% <0.00%> (-0.01%) ⬇️
windows-latest-3.9 33.12% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
discord/ui/select.py 34.59% <0.00%> (-0.34%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 36fea34...6aac42a. Read the comment docs.

@plun1331 plun1331 added this to the v2.5 milestone Jun 8, 2023
@plun1331 plun1331 enabled auto-merge (squash) June 8, 2023 19:20
@Lulalaby Lulalaby disabled auto-merge June 8, 2023 22:42
@Lulalaby Lulalaby closed this Jun 8, 2023
@Lulalaby Lulalaby deleted the fix-values-access branch June 8, 2023 23:57
@Lulalaby Lulalaby restored the fix-values-access branch June 8, 2023 23:57
@Lulalaby Lulalaby deleted the fix-values-access branch June 8, 2023 23:57
@Lulalaby Lulalaby restored the fix-values-access branch June 8, 2023 23:57
Signed-off-by: plun1331 <49261529+plun1331@users.noreply.github.com>
@Lulalaby Lulalaby merged commit 7c71c9f into master Jun 9, 2023
@Lulalaby Lulalaby deleted the fix-values-access branch June 9, 2023 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working status: awaiting review Awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants