Эх сурвалжийг харах

Fix typo and unneeded arg

Kirk Trombley 4 жил өмнө
parent
commit
d391c67a76
1 өөрчлөгдсөн 2 нэмэгдсэн , 3 устгасан
  1. 2 3
      src/plugins/curse.py

+ 2 - 3
src/plugins/curse.py

@@ -136,8 +136,7 @@ def curse_command(db: Database,
                   msg: Message,
                   bot: Bot, 
                   ban_list: Config("curse.banlist"), 
-                  no_list: Config("curse.nolist"),
-                  inject: Injector):
+                  no_list: Config("curse.nolist")):
     if not msg.from_admin and msg.command.startswith("un"):
         return RollbotFailure.PERMISSIONS.with_reason("For now, only admins can unbless or uncurse people!")
 
@@ -149,7 +148,7 @@ def curse_command(db: Database,
         if msg.sender_id in no_list:
             return "No!!!!!!!!!!"
         if random.randint(0, 1) == 0:
-            bot.manually_post_message("Hey! You aren't allowed to affect that person's score! And cheaters never propser!", msg.group_id)
+            bot.manually_post_message("Hey! You aren't allowed to affect that person's score! And cheaters never prosper!", msg.group_id)
             return f"!curse {ban_list[msg.sender_id][0]}"
         return "Hey! You aren't allowed to affect that person's score!"