summaryrefslogtreecommitdiff
path: root/include/modules/bs_bot.h
blob: c6d670f3503c1e43e885b3d79c17f733040ce9df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * (C) 2014 Anope Team
 * Contact us at team@anope.org
 *
 * Please read COPYING and README for further details.
 *
 */

namespace Event
{
	struct CoreExport BotCreate : Events
	{
		/** Called when a new bot is made
		 * @param bi The bot
		 */
		virtual void OnBotCreate(BotInfo *bi) anope_abstract;
	};

	struct CoreExport BotChange : Events
	{
		/** Called when a bot is changed
		 * @param bi The bot
		 */
		virtual void OnBotChange(BotInfo *bi) anope_abstract;
	};

	struct CoreExport BotDelete : Events
	{
		/** Called when a bot is deleted
		 * @param bi The bot
		 */
		virtual void OnBotDelete(BotInfo *bi) anope_abstract;
	};
}