CC-117

Discord bot for Wynncraft guild management & activity analysis

CC-117 is a Discord bot originally created for my Wynncraft guild and later made publicly available. It reads data from the public Wynncraft API, storing both raw and processed data for use in commands, activity tracking, and automated role updates.

The system is split into two separate programs:

The first feature implemented was automated role assignment based on guild ranks on Wynncraft.

Update roles command response

One of the first additional features allowed users to track guilds and monitor average activity. Commands exist to add/remove tracked guilds and list activity results.

Tracked guilds activity screenshot

To provide more precise insight, a feature was added to graph average online players per hour with sorting and timezone support.

Active hours chart screenshot

To help identify inactive members, a command was added to check last login times for players in a guild.

Last login timestamps screenshot

A command was added to list online players within a guild and show which server they are active on.

Online members screenshot

Additional commands allow users to view stats for guilds and players, including image-generated banners.

Guild stats screenshot Player stats screenshot Player banner screenshot

A novelty feature was added to estimate how likely a player is an alt account (sus level).

Sus level screenshot

If multiple guilds or players match a given identifier, the bot will present selection options via buttons.

Guild selection prompt screenshot

Additional commands assist guild moderation, configuration, and promotion workflows.

Bot configuration screen screenshot

The bot was originally written in Python, but migrated to Java due to hosting limitations for slash commands. Afterward, it was rewritten in JavaScript and migrated to SQLite for improved structure, performance, and extensibility.

Eventually, long-standing issues led to a major overhaul, including redesigned responses using embeds rather than plain text blocks.

GitHub repositories:
Current JavaScript bot
Original Java version