]> git.aero2k.de Git - urlbot-v3.git/commitdiff
syntax, python version
authorThorsten <mail@aero2k.de>
Sat, 29 Feb 2020 11:01:18 +0000 (12:01 +0100)
committerThorsten <mail@aero2k.de>
Sat, 29 Feb 2020 11:01:18 +0000 (12:01 +0100)
distbot/plugins/fun.py

index 9d8a7951a00e07ff8cb834c3fd128743bafef6ae..34e9d5d53c72889003c58fece93b1ff26eb43156 100644 (file)
@@ -65,7 +65,7 @@ class Slap(Worker):
             subject = " ".join(w[1:])
         else:
             subject = sender
-        return Action(msg=f'/me {verb} {subject}')
+        return Action(msg='/me {} {}'.format(verb, subject))
 
 
 class Consumables(Worker):