fix: Fixed pagination, for real this time, closes #435,

dev: removed some old creds migration code, incremented creds version
This commit is contained in:
Kwoth
2024-06-27 19:48:39 +00:00
parent ef471c32bb
commit 9da8e4f1c1
9 changed files with 47 additions and 113 deletions

View File

@@ -6,14 +6,16 @@ public interface INadekoInteractionService
ulong userId,
ButtonBuilder button,
Func<SocketMessageComponent, Task> onTrigger,
bool singleUse = true);
bool singleUse = true,
bool clearAfter = true);
public NadekoInteractionBase Create<T>(
ulong userId,
ButtonBuilder button,
Func<SocketMessageComponent, T, Task> onTrigger,
in T state,
bool singleUse = true);
bool singleUse = true,
bool clearAfter = true);
NadekoInteractionBase Create(
ulong userId,