#Creating tag in forum channel

1 messages · Page 1 of 1 (latest)

upbeat sandal
#

Is there any method in which we can create forum channel from code and also add tags to the channel,
I have a database and i want to use discord forum as a frontend for it

meager token
#

-d disnake.Guild.create_forum_channel

coarse terraceBOT
#
await create_forum_channel(name, *, topic=None, category=None, position=..., slowmode_delay=..., default_thread_slowmode_delay=..., default_auto_archive_duration=None, nsfw=..., ...)```
This function is a [*coroutine*](https://docs.python.org/3/library/asyncio-task.html#coroutine).

This is similar to [`create_text_channel()`](https://docs.disnake.dev/en/latest/api.html#disnake.Guild.create_text_channel "disnake.Guild.create_text_channel") except makes a [`ForumChannel`](https://docs.disnake.dev/en/latest/api.html#disnake.ForumChannel "disnake.ForumChannel") instead.

New in version 2.5.

Changed in version 2.6: Raises [`TypeError`](https://docs.python.org/3/library/exceptions.html#TypeError "(in Python v3.11)") instead of `InvalidArgument`.
meager token
#

available_tags is the parameter to create tags for the forum channel

upbeat sandal
#

thank you mate