/CapsaicinBot

A discord bot written in java

Primary LanguageJavaMIT LicenseMIT

CapsaicinBot

An expandable Discord bot

Creating Chilies

Chilies are modules that expand the functionality of CapsaicinBot. By default, CapsaicinCore does not have any functionality.

Chilies are required to implement the com.cornchip.capsaicin.Chili class, and are require to include a file called com.cornchip.capsaicin.Chili in META-INF/services. Within com.cornchip.capsaicin.Chili, you need to include the name of the class that implements the Chili class.

Once compiled, the resulting jar file needs to be placed in ./chilies/. Installing new chilies requires restarting the bot

In the future, Chilies will be able to take advantage of the optional Economy and Xp chilies to utilize the universal economy and xp interfaces.

Regular Chilies vs Priority Chilies

Priority chilies are chilies that are guaranteed to be loaded before normal chilies, and guaranteed to be unloaded after normal chilies. Chilies that only provide commands will almost certainly be regular chilies as other chilies do not depend on them for functionality. Chilies that are intended to be loaded by other chilies are priority chilies. These chilies will be loaded first, but they cannot rely on other chilies being loaded while they are loaded. For example, if chilies A, B, and C rely on the Economy chili, Economy is a priority chili and A, B, and C are normal chilies. Priority Chilies have not been thoroughly tested