|
@@ -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!"
|
|
|
|