Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🫧 Bubulle-bot

Codacy Badge

A Nostale community-based Discord bot.

Refactored for Node.js 20+ and Discord.js v14, this bot provides custom character sheets, random chance utility, and administration embedded messages for the Bubulle family!

✨ Features

  • Character Sheets (!fiche): Initialize and view detailed user profiles with Stats (Agility, Strength, Mental, Charisma, HP) directly through Rich Embedded interface.
  • Stat Modifications (!add): Allows admins (whitelist-locked) to manipulate character stats.
  • Utility: Provides ping tests and random number generation (!random).

⚙️ Setup & Installation

Requirements

Step 1: Discord Developer Portal Intents

CRITICAL: Because this bot parses legacy message content strings (e.g. !fiche), you must turn on the Message Content Intent in the Discord Developer portal under your Bot settings.

Step 2: Configure the Bot

Clone the repository, then copy the configuration stub:

cp assets/config.example.json assets/config.json

Then, edit assets/config.json passing your raw token:

{
  "token": "YOUR_DISCORD_BOT_TOKEN_HERE",
  "prefix": "!"
}

Step 3: Start Node

Start the bot using the auto-restart nodemon script:

npm install
npm run dev
# OR simply
node app.js

📜 Commands

Command Usage Description
!setfiche !setfiche [@user] Initializes a fresh empty character sheet.
!fiche !fiche [@user] Displays a robust Discord Embed of all profile info and stats.
!add !add [stat] [target_id] [value] Modifies stats! Used internally for game mechanics.
!random !random [max_number] Triggers a 1 to N dice roll with animation format.
!help !help [command] Lists all available tools.

About

A Nostale community Discord bot built with Discord.js v14

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages