minor adjustments

and tiny steps
This commit is contained in:
Lan
2022-10-20 19:20:47 +03:00
parent 130d56b5f6
commit a3e32c077f
6 changed files with 40 additions and 14 deletions

View File

@@ -612,7 +612,7 @@ namespace Kehyeedra3.Commands
}
}
var (cardCollection, outFormatEnum, outFormat) = await Helpers.MakeFishCardAsync(fish, 0, 0, 0, "", 0, 0, 0);
var (cardCollection, outFormatEnum, outFormat) = await Helpers.MakeFishCardAsync(fish, 0, 0, 0, "", 0, 0, 0, false, false, false);
MemoryStream outputStream = new MemoryStream();

View File

@@ -703,7 +703,8 @@ namespace Kehyeedra3.Commands
if (nocard.ToLowerInvariant() != "nocard")
{
var (cardCollection, outFormatEnum, outFormat) = await Helpers.MakeFishCardAsync(fish, user.TXp, user.FXp, user.Xp, lvlUp, weight, xp, dcatch);
var (cardCollection, outFormatEnum, outFormat) = await Helpers.MakeFishCardAsync(fish, user.TXp, user.FXp, user.Xp, lvlUp, weight, xp, dcatch, bRar, bBig, bLet);
MemoryStream outputStream = new MemoryStream();
@@ -1194,7 +1195,7 @@ namespace Kehyeedra3.Commands
await ReplyAsync($"{Context.User.Mention}\n{message}");
}
}
[RequireRolePrecondition(AccessLevel.ServerAdmin)]
[RequireRolePrecondition(AccessLevel.BotOwner)]
[Command("tradebuy", RunMode = RunMode.Async), Summary("Unfinished command")]
public async Task TradingBuy(int amount, string itemtype, int price, [Remainder] string item)
{
@@ -1275,7 +1276,7 @@ namespace Kehyeedra3.Commands
}
}
}
[RequireRolePrecondition(AccessLevel.ServerAdmin)]
[RequireRolePrecondition(AccessLevel.BotOwner)]
[Command("tradesell"), Summary("Unfinished command")]
public async Task TradingSell(int amount, string itemtype, int price, [Remainder] string item)
{
@@ -1322,7 +1323,7 @@ namespace Kehyeedra3.Commands
await Context.Channel.SendMessageAsync($"{Context.User.Mention}\nInvalid trade type. Come back when the error command is fixed lmaoy").ConfigureAwait(false);
}
}
[RequireRolePrecondition(AccessLevel.ServerAdmin)]
[RequireRolePrecondition(AccessLevel.BotOwner)]
[Command("tradeoffers"), Summary("Unfinished command")]
public async Task ShowOffers(bool localOffers = true)
{

View File

@@ -28,7 +28,7 @@ namespace Kehyeedra3.Commands
"",
""
};
[RequireRolePrecondition(AccessLevel.BotOwner)]
[Command("battlefish", RunMode = RunMode.Async),Alias("bf"),Summary("Type **bf help** or **bf h** for help with this command.")]
public async Task BattleFish(string option = null, [Remainder]string sec = null)
{