from cogbot.cogs.robo_mod.robo_mod_action import RoboModAction
from cogbot.cogs.robo_mod.robo_mod_trigger import RoboModTrigger


class KickAuthorAction(RoboModAction):
    async def apply(self, trigger: RoboModTrigger):
        await trigger.bot.kick(trigger.author)
        await trigger.bot.send_message(
            trigger.channel, content=f"{trigger.author.mention} got the 👢!"
        )

@@ -1,28 +1,57 @@
+from typing import Optional%0A%0A
 from cogbot.cogs.robo_mod.ro
@@ -85,16 +85,97 @@
 dAction%0A
+from cogbot.cogs.robo_mod.robo_mod_action_log_entry import RoboModActionLogEntry%0A
 from cog
@@ -290,13 +290,11 @@
 def 
-apply
+log
 (sel
@@ -324,106 +324,191 @@
 ger)
-:%0A        await trigger.bot.kick(trigger.author)%0A        await trigger.bot.send_message(%0A 
+ -%3E Optional%5BRoboModActionLogEntry%5D:%0A        return RoboModActionLogEntry(content=f%22%7Btrigger.author.mention%7D got the %F0%9F%91%A2!%22)%0A%0A    async def apply(self, trigger: RoboModTrigger):%0A
         
    t
@@ -503,18 +503,21 @@
         
-  
+await
  trigger
@@ -521,70 +521,29 @@
 ger.
-channel, content=f%22%7Btrigger.author.mention%7D got the %F0%9F%91%A2!%22%0A        
+bot.kick(trigger.author
 )%0A

use logging for kick action