Skip to content

Commit

Permalink
doc 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Sep 4, 2024
1 parent d6d5f24 commit 045dec4
Show file tree
Hide file tree
Showing 5 changed files with 346 additions and 363 deletions.
16 changes: 8 additions & 8 deletions ASFEnhance/ASFEnhance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1060,17 +1060,17 @@ public Task OnLoaded()
Inventory.Command.ResponseGetPendingGifts(Utilities.GetArgsAsText(args, 1, ",")),

"ACCEPTGIFT" or
"AG" when argLength > 2 && access >= EAccess.Operator =>
"AG" when argLength > 2 && access >= EAccess.Master =>
Inventory.Command.ResponseAcceptGift(args[1], Utilities.GetArgsAsText(args, 2, ",")),
"ACCEPTGIFT" or
"AG" when argLength == 2 && access >= EAccess.Operator =>
"AG" when argLength == 2 && access >= EAccess.Master =>
Inventory.Command.ResponseAcceptGift(bot, args[1]),

"DECLINEGIFT" or
"DG" when argLength > 2 && access >= EAccess.Operator =>
"DG" when argLength > 2 && access >= EAccess.Master =>
Inventory.Command.ResponseDeclinetGift(args[1], Utilities.GetArgsAsText(args, 2, ","), null),
"DECLINEGIFT" or
"DG" when argLength == 2 && access >= EAccess.Operator =>
"DG" when argLength == 2 && access >= EAccess.Master =>
Inventory.Command.ResponseDeclinetGift(bot, args[1], null),

"TRADEOFFERS" or
Expand All @@ -1079,17 +1079,17 @@ public Task OnLoaded()
Inventory.Command.ResponseGetTradeOffers(Utilities.GetArgsAsText(args, 1, ",")),

"ACCEPTOFFER" or
"AO" when argLength > 2 && access >= EAccess.Operator =>
"AO" when argLength > 2 && access >= EAccess.Master =>
Inventory.Command.ResponseDoTradeOffers(args[1], Utilities.GetArgsAsText(args, 2, ","), true),
"ACCEPTOFFER" or
"AO" when argLength == 2 && access >= EAccess.Operator =>
"AO" when argLength == 2 && access >= EAccess.Master =>
Inventory.Command.ResponseDoTradeOffers(bot, args[1], true),

"CANCELOFFER" or
"CO" when argLength > 2 && access >= EAccess.Operator =>
"CO" when argLength > 2 && access >= EAccess.Master =>
Inventory.Command.ResponseDoTradeOffers(args[1], Utilities.GetArgsAsText(args, 2, ","), false),
"CANCELOFFER" or
"CO" when argLength == 2 && access >= EAccess.Operator =>
"CO" when argLength == 2 && access >= EAccess.Master =>
Inventory.Command.ResponseDoTradeOffers(bot, args[1], false),


Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.2.3.2</Version>
<Version>2.2.3.3</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Loading

0 comments on commit 045dec4

Please sign in to comment.