📦Stockpile

This module generates an embeded message where stockpile codes are displayed with their region and sub-region.


View the stockpiles interface

/stockpile-view

This command generates an empty embed on the channel where the command was called.

Interfaces examples

Empty generated embed
Embed with multiple stockpiles saved

Everything is sorted in this order:

  • Region name

  • Sub-region name

  • Stockpile name


Add a stockpile

/stockpile-create <code> <localisation> <name>

The code must be a 6-digits code, otherwise the bot will not like it and will display an error message.

The localisation supports autocompletion, meaning you just have to start writting the region or the subregion and the bot will suggest places you can click on.

The name can be what you want really.

Example of autocompletion when the user enters viper as localisation
Updated embed with the new stock added

This command can be called from anywhere on the server, as the embeded message is saved on the bot side.


Delete a stockpile

/stockpile-delete <code>

This command will delete the indicated stockpile using its code as finder.


Clear the whole interface

/stockpile_clear

This command will clear the whole embed at once, useful at the end of a war.

Last updated