删除积分赠送上限
This commit is contained in:
@@ -91,9 +91,6 @@ class GiftGame(BaseGame):
|
|||||||
if points <= 0:
|
if points <= 0:
|
||||||
return "❌ 赠送积分数量必须大于0!"
|
return "❌ 赠送积分数量必须大于0!"
|
||||||
|
|
||||||
if points > 1000:
|
|
||||||
return "❌ 单次赠送积分不能超过1000!"
|
|
||||||
|
|
||||||
if sender_id == receiver_id:
|
if sender_id == receiver_id:
|
||||||
return "❌ 不能赠送积分给自己!"
|
return "❌ 不能赠送积分给自己!"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user