drink command

This commit is contained in:
Yunfan Li
2023-05-29 23:41:35 +08:00
parent d45a7dc5b8
commit 67f083f126
2 changed files with 3 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ class ChatTriggerContext : public NamedObjectContext<Trigger>
creators["guild remove"] = &ChatTriggerContext::guild_remove;
creators["guild leave"] = &ChatTriggerContext::guild_leave;
creators["rtsc"] = &ChatTriggerContext::rtsc;
creators["drink"] = &ChatTriggerContext::drink;
}
private:
@@ -202,6 +203,7 @@ class ChatTriggerContext : public NamedObjectContext<Trigger>
static Trigger* guild_remove(PlayerbotAI* botAI) { return new ChatCommandTrigger(botAI, "guild remove"); }
static Trigger* guild_leave(PlayerbotAI* botAI) { return new ChatCommandTrigger(botAI, "guild leave"); }
static Trigger* rtsc(PlayerbotAI* botAI) { return new ChatCommandTrigger(botAI, "rtsc"); }
static Trigger* drink(PlayerbotAI* ai) { return new ChatCommandTrigger(ai, "drink"); }
};
#endif