mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 13:55:03 +00:00
Add pagination to !cases -mod
This commit is contained in:
parent
0c6ec9cef0
commit
5056b4376a
5 changed files with 87 additions and 31 deletions
|
@ -0,0 +1,6 @@
|
|||
import { GuildPluginData } from "knub";
|
||||
import { CasesPluginType } from "../types";
|
||||
|
||||
export function getTotalCasesByMod(pluginData: GuildPluginData<CasesPluginType>, modId: string): Promise<number> {
|
||||
return pluginData.state.cases.getTotalCasesByModId(modId);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue