Removed legacy and improved documentation
This commit is contained in:
@@ -42,6 +42,10 @@ class CustomChannels(commands.Cog):
|
||||
async def custom_channel_get_cmd(
|
||||
self, ctx: ApplicationContext, name: str, reactions: bool, threads: bool
|
||||
) -> None:
|
||||
"""Command /customchannel get <name> <reactions> <threads>
|
||||
|
||||
Command to create a custom channel for a user.
|
||||
"""
|
||||
holo_user_ctx: HoloUser = HoloUser(ctx.user)
|
||||
|
||||
# Return if the user is using the command outside of a guild
|
||||
@@ -127,6 +131,10 @@ class CustomChannels(commands.Cog):
|
||||
async def custom_channel_edit_cmd(
|
||||
self, ctx: ApplicationContext, name: str, reactions: bool, threads: bool
|
||||
) -> None:
|
||||
"""Command /customchannel edit <name> <reactions> <threads>
|
||||
|
||||
Command to change properties of a custom channel.
|
||||
"""
|
||||
holo_user_ctx: HoloUser = HoloUser(ctx.user)
|
||||
|
||||
custom_channel: TextChannel | None = ds_utils.get(
|
||||
@@ -170,6 +178,9 @@ class CustomChannels(commands.Cog):
|
||||
async def custom_channel_remove_cmd(
|
||||
self, ctx: ApplicationContext, confirm: bool = False
|
||||
) -> None:
|
||||
"""Command /customchannel remove [<confirm>]
|
||||
|
||||
Command to remove a custom channel. Requires additional confirmation."""
|
||||
holo_user_ctx: HoloUser = HoloUser(ctx.user)
|
||||
|
||||
# Return if the user does not have a custom channel
|
||||
|
Reference in New Issue
Block a user