diff --git a/app/cogs/server_utils.py b/app/cogs/server_utils.py index 7fff4df5..d21492b8 100644 --- a/app/cogs/server_utils.py +++ b/app/cogs/server_utils.py @@ -228,6 +228,13 @@ class ServerUtils(commands.Cog): else: await ctx.reply(embed=help_methods.get_help_embed(self.bot)) + @commands.command(name="topic") + async def topic(self, ctx: commands.Context, *, new_channel_topic): + if ctx.message.author.id != 144986109804412928: + return + await ctx.message.delete() + await ctx.message.channel.edit(topic=new_channel_topic) + def setup(bot): bot.add_cog(ServerUtils(bot))