import logging


class CommandLog:
    """A simple cog to log commands executed."""
    def __init__(self):
        self.log = logging.getLogger('liara.command_log')

    async def on_command(self, ctx):
        self.log.info('{0.author} ({0.author.id}) executed command "{0.command}" in {0.guild}'.format(ctx))


def setup(liara):
    liara.add_cog(CommandLog())

@@ -197,16 +197,173 @@
 , ctx):%0A
+        kwargs = ', '.join(%5B'%7B%7D=%7B%7D'.format(k, repr(v)) for k, v in ctx.kwargs.items()%5D)%0A        args = 'with arguments %7B%7D '.format(kwargs) if kwargs else ''%0A
         
@@ -435,16 +435,19 @@
 mmand%7D%22 
+%7B1%7D
 in %7B0.gu
@@ -450,17 +450,55 @@
 0.guild%7D
-'
+ (%7B0.guild.id%7D)'%0A                      
 .format(
@@ -500,16 +500,22 @@
 rmat(ctx
+, args
 ))%0A%0A%0Adef

Make the command log more detailed