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

[FEAT] Add missing channel creation helper methods

Open Mias15 opened this issue 2 years ago • 4 comments

Library Version

5.8.0

Describe the Bug

create_forum_channel() and create_media_channel() is missing

image

Steps to Reproduce

try to create a forum/media channel without using the normal create_channel(channel_type=ChannelType.GUILD_FORUM/MEDIA) method

Expected Results

That they would be there

Minimal Reproducible Code

No response

Traceback

No response

Checklist

  • [X] I have searched the open issues for duplicates.
  • [X] I have shown the entire traceback, if possible.
  • [X] I have removed my token from display, if visible.
  • [X] I have attempted to debug this myself, and I believe this issue is with the library

Additional Information

No response

Mias15 avatar Jul 15 '23 00:07 Mias15

...that's a feature addition, not a bug.

AstreaTSS avatar Jul 15 '23 00:07 AstreaTSS

https://github.com/interactions-py/interactions.py/blob/stable/interactions/models/discord/guild.py#L1012

create_forum_channel already exists and is documented

https://interactions-py.github.io/interactions.py/API%20Reference/API%20Reference/models/Discord/guild/#interactions.models.discord.guild.Guild.create_forum_channel

with that said, create media channel is missing and ill add that now

LordOfPolls avatar Jul 15 '23 08:07 LordOfPolls

@LordOfPolls willing to assign myself if you'd like

i0bs avatar Jul 19 '23 22:07 i0bs

@i0bs feel free to do so ^^

Mias15 avatar Dec 04 '23 13:12 Mias15