Skip to content

Commit

Permalink
Fix #111,#112
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksgata committed Sep 19, 2022
1 parent ea5ce84 commit 5c99654
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public String drawAdd(MessageData<?> data) {
}
CardsTypeList cardsTypeList = cardsTypeListMapper.selectByName(data.getMessage());
if (cardsTypeList == null) {
return "cards.draw.not.found";
return CustomText.getText("cards.draw.not.found");
}
String[] addDataArr = cardsTypeList.getContent().split(",");
final Long[] groupId = new Long[1];
Expand Down Expand Up @@ -187,7 +187,7 @@ public void groupTemp(GroupTempMessageEvent event) {
return CustomText.getText("cards.draw.hide.success");
}

@InstructReflex(value = {".draw"}, priority = 5)
@InstructReflex(value = {".draw"}, priority = 2)
public String drawOut(MessageData<?> data) {
final long[] groupId = new long[1];
EventUtils.eventCallback(data.getEvent(), new EventAdapter() {
Expand Down

0 comments on commit 5c99654

Please sign in to comment.