Skip to content

Commit 98a42fc

Browse files
authored
Update channels.py
1 parent 2d45be7 commit 98a42fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot/cogs/channels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def _category(self, ctx, category: nextcord.CategoryChannel, *, reason=Non
122122
async def _channel(self, ctx, channel: nextcord.TextChannel = None, *, reason=None):
123123
channel = channel or ctx.channel
124124
await channel.delete(reason=reason)
125-
await ctx.send(f"hey! I deleted {category.name} for you")
125+
await ctx.send(f"hey! I deleted {channel.name} for you")
126126

127127
@commands.command(
128128
name="lockdown",
@@ -157,4 +157,4 @@ async def lockdown(self, ctx, channel: nextcord.TextChannel = None):
157157

158158

159159
def setup(bot):
160-
bot.add_cog(Channels(bot))
160+
bot.add_cog(Channels(bot))

0 commit comments

Comments
 (0)