Skip to content

Releases

@0.0.9

Choose a tag to compare

@Cut0x Cut0x released this 18 Nov 02:52

New structure !
From now on the whole structure is based on my module simple-djs-handler!
Here is the index :

const { BotClient } = require('simple-djs-handler');
const { GatewayIntentBits } = require('discord.js');

const config = require("./data/config");

const client = new BotClient({
    token: config.bot.token,
    slashCommandsEnabled: true,
    slashCommandsClientId: config.bot.client_id,
    intents: [
        GatewayIntentBits.Guilds,
        GatewayIntentBits.GuildMembers,
        GatewayIntentBits.GuildMessages
    ],
});

client.start();

@0.0.8

Choose a tag to compare

@Cut0x Cut0x released this 16 Oct 21:58

Suppression de la partie manage des modals, un bug a été constaté, je remet à jour plus tard !

@0.0.7

Choose a tag to compare

@Cut0x Cut0x released this 16 Oct 21:42
fv2

up

@0.0.6

Choose a tag to compare

@Cut0x Cut0x released this 08 May 16:56
92c3ae1

Ajout des modals

const modals = fs.readdirSync(`./modals/`).filter(file => file.endsWith('.js'));

for (let file of modals) {

    let pull = require(`./modals/${file}`);
    if (pull.id) {
        client.modals.set(pull.id, pull);
        console.log(colors.green('[SUCCES]') + " " + `Loaded a ${file} file !`)
    } else {
        console.log(colors.yellow('[WARNING]') + " " + `Couldn't load a ${file} file !`)
        continue;
    }
}

[......]

@0.0.5

Choose a tag to compare

@Cut0x Cut0x released this 06 May 16:59

Suppression du module quick.db et better-sqlite3

⚠️ Trop de problème lors de l'installation du module better-sqlite3 !

Solution :

Ajout du module db-json !

- const { QuickDB } = require("quick.db");
- const db = new QuickDB();

+ const db = require("./db-json");

Full Changelog: New-Version...Final-Version

@0.0.4

Choose a tag to compare

@Cut0x Cut0x released this 26 Apr 19:33
1c6261d

Correction de l'erreur de package.json

 {
   "dependencies": {
       "better-sqlite3": "^8.3.0",
       "colors": "^1.4.0",
       "discord.js": "^14.9.0",
       "fs": "^0.0.1-security",
       "path": "^0.12.7",
-      "quick.db": "^9.1.6", < Virgule en trop
    }
  }

ce qui donne

{
  "dependencies": {
    "better-sqlite3": "^8.3.0",
    "colors": "^1.4.0",
    "discord.js": "^14.9.0",
    "fs": "^0.0.1-security",
    "path": "^0.12.7",
    "quick.db": "^9.1.6"
  }
}

@0.0.3

Choose a tag to compare

@Cut0x Cut0x released this 26 Apr 06:12
6acb505

Update code

Patch all bugs and error

@0.0.2

Choose a tag to compare

@Cut0x Cut0x released this 24 Apr 22:27
8f1dd9e

Patch bugs and add settings possibility !

@0.0.1

Choose a tag to compare

@Cut0x Cut0x released this 11 Apr 16:16
694451b

This repository allows you to start your Discord bot without having to do the infrastructure.