hide view_code

This commit is contained in:
Dustin Pianalto 2018-06-11 01:51:02 -08:00
parent dc51b4e6b6
commit f11f53ac81

View File

@ -194,7 +194,7 @@ class Admin:
else: else:
await ctx.send('This command must be run from inside a guild.') await ctx.send('This command must be run from inside a guild.')
@commands.command() @commands.command(hidden=True)
@commands.is_owner() @commands.is_owner()
async def view_code(self, ctx, code_name): async def view_code(self, ctx, code_name):
pag = utils.Paginator(self.bot, prefix='```py', suffix='```') pag = utils.Paginator(self.bot, prefix='```py', suffix='```')