TheHamkerCat 5 năm trước cách đây
mục cha
commit
46f47c3d8d
1 tập tin đã thay đổi với 6 bổ sung và 0 xóa
  1. 6 0
      wbb/modules/karma.py

+ 6 - 0
wbb/modules/karma.py

@@ -5,6 +5,12 @@ from wbb.utils.dbfunctions import (update_karma, get_karma, get_karmas,
     int_to_alpha, alpha_to_int)
 from pyrogram import filters
 
+__MODULE__ = "Karma"
+__HELP__ = """[UPVOTE] - Use upvote keywords like "+", "+1", "thanks" etc to upvote a message.
+[DOWNVOTE] - Use downvote keywords like "-", "-1", etc to downvote a message.
+Reply to a message with /karma to check a user's karma
+Send /karma without replying to any message to chek karma list of top 10 users"""
+
 
 regex_upvote = r"^((?i)\+|\+\+|\+1|thx|tnx|ty|thank you|thanx|thanks|pro|cool|good|👍)$"
 regex_downvote = r"^(\-|\-\-|\-1|👎)$"