Case study

Thronebot (Discord)

Thronebot is a feature-rich Discord bot designed to improve player experience and moderation in the "Throne of Lies: Medieval Politics" online PvP game by providing realtime in-game interactions, management tools, and game tracking.
Back
Back to Projects
Overview:

Thronebot (from the official Throne of Lies Discord community) is a Discord bot created to enhance player engagement and moderation for "Throne of Lies: Medieval Politics", an online PvP game. By offering a variety of in-game commands, realtime interaction, and game tracking, Thronebot provides a comprehensive tool for both players and moderators. The bot allows players to directly launch games from Discord and tracks game results using webhooks. Additionally, moderators can use Thronebot to manage player behavior with commands such as granting gold, querying player stats and moderation history, and issuing warns or bans. The seamless integration of Thronebot with the game's backend is achieved through a combination of APIs, cloud scripting, and authentication, making it an invaluable asset to the "Throne of Lies: Medieval Politics" community.

Role:

As the developer of Thronebot, I was responsible for designing, implementing, and integrating the bot into the "Throne of Lies: Medieval Politics" ecosystem. My tasks included researching and utilizing various tools and APIs, creating the bot's feature set, and ensuring seamless communication between the game and Discord platform. I also handled the implementation of moderation commands and player engagement features to provide a comprehensive tool for both players and moderators.

Stack:
  • discord.js
  • JavaScript
  • JetBrains Webstorm IDE
  • OAuth2
  • Steam API
  • GameSparks API
  • PlayFab API
  • brainCloud API
  • Authoritative cloud scripting
  • Unity C#

Problem

The challenge we faced was to seamlessly integrate Thronebot into the game's ecosystem to provide a unified experience for players and moderators. This required efficient use of APIs, authentication, and robust communication between the game and Discord platform.

Solution

By leveraging powerful tools and APIs such as discord.js, OAuth2, and various game backend APIs, we successfully developed a feature-rich bot that greatly improves the player experience. Thronebot is now an invaluable asset to the "Throne of Lies: Medieval Politics" community, connecting players, facilitating game moderation, and reporting game results to Discord in real-time.

Next