Fixed formatting
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
from discord import SlashCommandGroup, option, CategoryChannel, ApplicationContext, TextChannel
|
||||
from discord import (
|
||||
ApplicationContext,
|
||||
CategoryChannel,
|
||||
SlashCommandGroup,
|
||||
TextChannel,
|
||||
option,
|
||||
)
|
||||
from discord.ext.commands import Cog
|
||||
|
||||
from classes import PycordGuild
|
||||
@@ -22,7 +28,7 @@ class Config(Cog):
|
||||
@option("category", description="Category where channels for each user will be created", required=True)
|
||||
@option("channel", description="Text channel for admin notifications", required=True)
|
||||
async def command_config_set(
|
||||
self, ctx: ApplicationContext, category: CategoryChannel, channel: TextChannel
|
||||
self, ctx: ApplicationContext, category: CategoryChannel, channel: TextChannel
|
||||
) -> None:
|
||||
guild: PycordGuild = await self.bot.find_guild(ctx.guild.id)
|
||||
|
||||
|
Reference in New Issue
Block a user