interactions.py icon indicating copy to clipboard operation
interactions.py copied to clipboard

feat: add forum/media channel create methods

Open eightween opened this issue 1 year ago • 1 comments

Pull Request Type

  • [x] Feature addition
  • [ ] Bugfix
  • [x] Documentation update
  • [ ] Code refactor
  • [ ] Tests improvement
  • [ ] CI/CD pipeline enhancement
  • [ ] Other: [Replace with a description]

Description

Adds helper methods for Discord's resource datatypes regarding to creating forum and media channels.

Changes

See contents

Related Issues

  • #1487

Test Scenarios

Python Compatibility

  • [ ] I've ensured my code works on Python 3.10.x
  • [ ] I've ensured my code works on Python 3.11.x

Checklist

  • [ ] I've run the pre-commit code linter over all edited files
  • [ ] I've tested my changes on supported Python versions
  • [ ] I've added tests for my code, if applicable
  • [ ] I've updated / added documentation, where applicable

eightween avatar Mar 13 '24 21:03 eightween

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 46.15%. Comparing base (b41c47e) to head (03106fa).

Files Patch % Lines
interactions/models/discord/channel.py 50.00% 2 Missing :warning:
interactions/models/discord/guild.py 50.00% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #1629   +/-   ##
=========================================
  Coverage     46.15%   46.15%           
=========================================
  Files           147      147           
  Lines         15618    15626    +8     
=========================================
+ Hits           7208     7212    +4     
- Misses         8410     8414    +4     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Mar 13 '24 22:03 codecov-commenter