mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 17:19:09 +00:00
added chat commands documentation
This commit is contained in:
@@ -129,7 +129,8 @@ public:
|
||||
static Acore::ChatCommands::ChatCommandTable AHBotCommandTable = {
|
||||
{"update", HandleAHBotUpdateCommand, SEC_GAMEMASTER, Acore::ChatCommands::Console::Yes},
|
||||
{"reload", HandleAHBotReloadCommand, SEC_GAMEMASTER, Acore::ChatCommands::Console::Yes},
|
||||
{"empty", HandleAHBotEmptyCommand, SEC_GAMEMASTER, Acore::ChatCommands::Console::Yes}
|
||||
{"empty", HandleAHBotEmptyCommand, SEC_GAMEMASTER, Acore::ChatCommands::Console::Yes},
|
||||
{"help", HandleAHBotHelpCommand, SEC_GAMEMASTER, Acore::ChatCommands::Console::Yes}
|
||||
};
|
||||
|
||||
static Acore::ChatCommands::ChatCommandTable commandTable = {
|
||||
@@ -166,6 +167,15 @@ public:
|
||||
AuctionHouseBot::instance()->EmptyAuctionHouses();
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool HandleAHBotHelpCommand(ChatHandler* handler, char const* /*args*/)
|
||||
{
|
||||
handler->PSendSysMessage("AuctionHouseBot commands:");
|
||||
handler->PSendSysMessage(" .ahbot reload - Reloads configuration");
|
||||
handler->PSendSysMessage(" .ahbot empty - Removes all auctions");
|
||||
handler->PSendSysMessage(" .ahbot update - Runs an update cycle");
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
void AddAHBotScripts()
|
||||
|
||||
Reference in New Issue
Block a user