-
-
Notifications
You must be signed in to change notification settings - Fork 0
Charm

This set of modules add quirky and generally not directly useful functions to Kosaka, aimed to be cosmetic additions to make Kosaka more "alive".
Kosaka will automatically change her status message every 10 seconds, providing the following information:
- How many servers Kosaka is in (if not only 1).
- How many users have installed Kosaka as a Discord Application (if not null).
- Statistics such as the CPU and RAM Usage of the Server running Kosaka.
- The latency that Kosaka has with the Discord API.
- How many servers Kosaka is playing music in (if not null).
- How many users in total Kosaka can interact with (excluding bots).
Kosaka will automatically send embeds welcoming members and if they leave with how long the member has been in the server to all channels flagged with Welcome Channel and Departure Channel respectively (see Channel Mods).
The Arrival / Departure Embeds are customizable by modifying your Server's Kosaka Configuration (see Guild Settings).
By default, the Welcomer Module is configured with the following JSON:
"Welcomer": {
"Welcome_Title": "\ud83d\udc4b Welcome, ${User_Display}!",
"Welcome_Description": "We hope you enjoy your stay in ${Guild_Name}!",
"Departure_Title": "\ud83e\udd40 ${User_Display} left the server.",
"Departure_Description": "They stayed in the server for a grand total of ${Time_Present}."
}Titles can be 256 characters* long while descriptions can be 4096 characters long.
The "Welcome/Departure_Title/Description" keys can contain placeholders in the format of ${Placeholder Name} to display additional information, the following placeholders are available:
-
${User_Display}- Displays the User's Display Username. -
${User_ID}- Displays the User's ID (we recommend use this placeholder the following way:<@${User_ID}>, this is equivalent of writing@Username.). -
${Guild_Name}- Displays your server's name. -
${Time_Present}- Displays how long the User was in your server before leaving (in the formatX[Unit], Y[Unit], ...). -
${Time_RawJoin}- Displays the Unix Timestamp of when the User joined (we recommend use this placeholder the following way:<t:${Time_RawJoin}:R>). -
${Time_RawLeave}- Displays the Unix Timestamp of when the User left (we recommend use this placeholder the following way:<t:${Time_RawLeave}:R>).
The Welcomer Module also contains one command to preview your Welcome/Departure Embeds: