- Documented field `bot`
- Documented constructor
This commit is contained in:
Tristan B. Velloza Kildaire 2023-06-17 22:55:04 +02:00
parent 355518d84d
commit a2967245a0
1 changed files with 12 additions and 0 deletions

View File

@ -13,7 +13,19 @@ import birchwood.protocol.messages : Message;
*/
public abstract class Mod
{
/**
* The `Bot` associated with this module instance
*/
private Bot bot;
/**
* Creates a new `Mod`-ule with the associated bot
* such that one can get access to facilities for
* sending messages
*
* Params:
* bot = the `Bot` to associate with this instance
*/
this(Bot bot)
{
this.bot = bot;