Fix fuzzy /view to be consistent with its pages (#345)
- Fix the `/view` command to have a set amount of cards in its page rotation - This is done now by updating it so instead of requerying each page turn it instead queries once at the start and passes the top 5 results to the button event #154 Reviewed-on: #345 Reviewed-by: VylpesTester <tester@vylpes.com> Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
This commit is contained in:
parent
79a4d18df3
commit
66243e6742
5 changed files with 153 additions and 14 deletions
|
@ -9,6 +9,7 @@ import Daily from "./commands/daily";
|
|||
import Drop from "./commands/drop";
|
||||
import Gdrivesync from "./commands/gdrivesync";
|
||||
import Give from "./commands/give";
|
||||
import Id from "./commands/id";
|
||||
import Inventory from "./commands/inventory";
|
||||
import Resync from "./commands/resync";
|
||||
import Sacrifice from "./commands/sacrifice";
|
||||
|
@ -39,6 +40,7 @@ export default class Registry {
|
|||
CoreClient.RegisterCommand("drop", new Drop());
|
||||
CoreClient.RegisterCommand("gdrivesync", new Gdrivesync());
|
||||
CoreClient.RegisterCommand("give", new Give());
|
||||
CoreClient.RegisterCommand("id", new Id());
|
||||
CoreClient.RegisterCommand("inventory", new Inventory());
|
||||
CoreClient.RegisterCommand("resync", new Resync());
|
||||
CoreClient.RegisterCommand("sacrifice", new Sacrifice());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue