mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Refactors. Cleanup. Refactored responses source gen a little. Parametrized localized strings are now generic. Refactored .cash bank interaction. Updated changelog. Reverted clubapps/ban/unban to use .ToString method and configured it to not have right to left unicode. Added extension methods to SocketMessageComponent akin to ones on the IMessageChannel (RespondConfirm, etc...)
This commit is contained in:
@@ -240,7 +240,7 @@ public partial class Xp
|
||||
[Cmd]
|
||||
[Priority(1)]
|
||||
public partial Task ClubAccept(IUser user)
|
||||
=> ClubAccept($"{user.Username}#{user.Discriminator}");
|
||||
=> ClubAccept(user.ToString());
|
||||
|
||||
[Cmd]
|
||||
[Priority(0)]
|
||||
@@ -282,7 +282,7 @@ public partial class Xp
|
||||
[Cmd]
|
||||
[Priority(1)]
|
||||
public partial Task ClubBan([Leftover] IUser user)
|
||||
=> ClubBan($"{user.Username}#{user.Discriminator}");
|
||||
=> ClubBan(user.ToString());
|
||||
|
||||
[Cmd]
|
||||
[Priority(0)]
|
||||
@@ -300,7 +300,7 @@ public partial class Xp
|
||||
[Cmd]
|
||||
[Priority(1)]
|
||||
public partial Task ClubUnBan([Leftover] IUser user)
|
||||
=> ClubUnBan($"{user.Username}#{user.Discriminator}");
|
||||
=> ClubUnBan(user.ToString());
|
||||
|
||||
[Cmd]
|
||||
[Priority(0)]
|
||||
|
Reference in New Issue
Block a user