fix: fixed .iam

fix: fixed .sclr not being respected on many different commands
change: .rps now also has the amount bet
This commit is contained in:
Kwoth
2024-11-27 02:35:58 +00:00
parent 231451f978
commit 62a16f3faf
9 changed files with 39 additions and 24 deletions

View File

@@ -21,7 +21,7 @@ public partial class Administration
{
var guildUser = (IGuildUser)ctx.User;
var group = await _service.GetRoleGroup(ctx.User.Id, role.Id);
var group = await _service.GetRoleGroup(ctx.Guild.Id, role.Id);
IUserMessage msg = null;
try
@@ -90,7 +90,7 @@ public partial class Administration
return;
}
var group = await _service.GetRoleGroup(role.Guild.Id, role.Id);
var group = await _service.GetRoleGroup(ctx.Guild.Id, role.Id);
if (group is null || group.Roles.All(x => x.RoleId != role.Id))
{