From 89bdff6b35c5ed77d11cd6f89cbb24b7e49543e8 Mon Sep 17 00:00:00 2001 From: arthur Date: Fri, 21 Jun 2024 16:15:11 +0200 Subject: [PATCH 1/3] creation de tout le systeme de permission du bot ! --- commands/gestion/perms.js | 29 +++++++++++++ commands/gestion/setRolePerm.js | 77 +++++++++++++++++++++++++++++++++ events/messageCreate.js | 4 +- fonctions/database.js | 7 +++ fonctions/getPermissionLevel.js | 15 +++++++ 5 files changed, 130 insertions(+), 2 deletions(-) create mode 100644 commands/gestion/perms.js create mode 100644 commands/gestion/setRolePerm.js create mode 100644 fonctions/getPermissionLevel.js diff --git a/commands/gestion/perms.js b/commands/gestion/perms.js new file mode 100644 index 0000000..c4b08fc --- /dev/null +++ b/commands/gestion/perms.js @@ -0,0 +1,29 @@ +const { EmbedBuilder } = require('discord.js'); +const db = require('../../fonctions/database.js'); +const embedColor = require('../../fonctions/embedColor.js'); + +module.exports = { + aliases: ['perm', 'permission', 'permissions'], + description: 'Affiche les permission des rôles pour utiliser les commandes du bot.', + emote: '⏱️', + utilisation: '', + permission: 10, + + async execute(message, args, client) { + const perms = await new Promise((resolve, reject) => { + db.all(`SELECT * FROM rolePermission WHERE guildId = ?`, [message.guild.id], (err, rows) => { + if (err) reject(err); + resolve(rows); + }); + }); + + const embed = new EmbedBuilder() + .setTitle('⏱️ Permissions') + .setDescription(perms.map(perm => `**<@&${perm.roleId}>** : ${perm.permission}`).join('\n')) + .setColor(await embedColor(message.author.id, message.guild.id)) + .setTimestamp() + .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() }); + + return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); + }, +}; diff --git a/commands/gestion/setRolePerm.js b/commands/gestion/setRolePerm.js new file mode 100644 index 0000000..44cb4e9 --- /dev/null +++ b/commands/gestion/setRolePerm.js @@ -0,0 +1,77 @@ +const { EmbedBuilder } = require('discord.js'); +const db = require('../../fonctions/database.js'); +const embedColor = require('../../fonctions/embedColor.js'); + +module.exports = { + aliases: ['setperm'], + description: 'Ajoute les permissions d\'un rôle pour utiliser les commandes du bot.', + emote: '⏱️', + utilisation: '<@role|None> <1|2|3|4|5>', + permission: 10, + + async execute(message, args, client) { + if (!args[0] || !args[1]) { + const embed = new EmbedBuilder() + .setTitle('⏱️ Ajout de permissions') + .setDescription(`Vous devez spécifier un rôle et un niveau de permission.\n\n**Utilisation:** \`&setRolePerm <@role|None> <1|2|3|4|5>\``) + .setColor(await embedColor(message.author.id, message.guild.id)) + .setTimestamp() + .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() }); + + return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); + } + + let role; + if (args[0] === 'None') { + role = 'None'; + } else { + role = message.mentions.roles.first().id; + } + + if (isNaN(parseInt(args[1]))) { + const embed = new EmbedBuilder() + .setTitle('⏱️ Ajout de permissions') + .setDescription('Le deuxième argument doit être un nombre.') + .setColor(await embedColor(message.author.id, message.guild.id)) + .setTimestamp() + .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() }); + + return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); + } + + if (args[1] < 1 || args[1] > 5) { + const embed = new EmbedBuilder() + .setTitle('⏱️ Ajout de permissions') + .setDescription('Le niveau de permission doit être compris entre 1 et 5.') + .setColor(await embedColor(message.author.id, message.guild.id)) + .setTimestamp() + .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() }); + + return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); + } + + if (role === 'None') { + db.run(`DELETE FROM rolePermission WHERE guildId = ? AND permission = ?`, [message.guild.id, args[1]]); + + const embed = new EmbedBuilder() + .setTitle('⏱️ Ajout de permissions') + .setDescription(`Les permissions de niveau ${args[1]} ont été retirées.`) + .setColor(await embedColor(message.author.id, message.guild.id)) + .setTimestamp() + .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() }); + + return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); + } + + db.run(`INSERT OR REPLACE INTO rolePermission (guildId, roleId, permission) VALUES (?, ?, ?)`, [message.guild.id, role, args[1]]); + + const embed = new EmbedBuilder() + .setTitle('⏱️ Ajout de permissions') + .setDescription(`Le rôle <@&${role}> a maintenant la permission de niveau ${args[1]}.`) + .setColor(await embedColor(message.author.id, message.guild.id)) + .setTimestamp() + .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() }); + + return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } }); + }, +}; diff --git a/events/messageCreate.js b/events/messageCreate.js index 8dc6104..dc0d8bf 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -1,6 +1,6 @@ const { Message, Events } = require("discord.js"); const db = require('../fonctions/database.js'); -//const getPermissionLevel = require("../fonctions/getPermissionLevel"); +const getPermissionLevel = require("../fonctions/getPermissionLevel.js"); module.exports = { name: Events.MessageCreate, @@ -15,7 +15,7 @@ module.exports = { const command = client.commands.get(commandName); if (!command) return; - const permissionLevel = 1 //await getPermissionLevel(message.member, message.guild); + const permissionLevel = await getPermissionLevel(message.guild.id, message.member); if ((permissionLevel < command.permission) && (!client.config.owners.includes(message.author.id))) { return message.reply("Vous n'avez pas la permission d'utiliser cette commande."); } diff --git a/fonctions/database.js b/fonctions/database.js index 93e90e0..76f9010 100644 --- a/fonctions/database.js +++ b/fonctions/database.js @@ -55,4 +55,11 @@ db.run(`CREATE TABLE IF NOT EXISTS teams ( PRIMARY KEY (guildId, id) )`); +db.run(`CREATE TABLE IF NOT EXISTS rolePermission ( + guildId TEXT, + roleId TEXT, + permission INTEGER, + PRIMARY KEY (guildId, permission) +)`); + module.exports = db; \ No newline at end of file diff --git a/fonctions/getPermissionLevel.js b/fonctions/getPermissionLevel.js new file mode 100644 index 0000000..62665df --- /dev/null +++ b/fonctions/getPermissionLevel.js @@ -0,0 +1,15 @@ +const db = require('./database.js'); + +module.exports = async function getPermissionLevel(serverId, user) { + const roles = user.roles.cache.map(role => role.id); + + const perms = await new Promise((resolve, reject) => { + db.all(`SELECT * FROM rolePermission WHERE guildId = ? AND roleId IN (${roles.map(() => '?').join(',')})`, [serverId, ...roles], (err, rows) => { + if (err) reject(err); + resolve(rows); + }); + }); + + const highestPermission = Math.max(...perms.map(perm => perm.permission)); + return highestPermission; +} \ No newline at end of file From ef85ce275d9d6746e203b427f706fd098562bc24 Mon Sep 17 00:00:00 2001 From: arthur Date: Fri, 21 Jun 2024 16:18:17 +0200 Subject: [PATCH 2/3] retrais d'un commentaire inutil --- events/messageCreate.js | 1 - 1 file changed, 1 deletion(-) diff --git a/events/messageCreate.js b/events/messageCreate.js index 6aaded3..648f75b 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -1,6 +1,5 @@ const { Message, Events } = require("discord.js"); const db = require('../fonctions/database.js'); -//const getPermissionLevel = require("../fonctions/getPermissionLevel"); var loggT = require('../loggerT.js'); var loggE = require('../loggerE.js'); const getPermissionLevel = require("../fonctions/getPermissionLevel.js"); From 9f2910b598d856fd43de012b7613c7c6ad663874 Mon Sep 17 00:00:00 2001 From: arthur Date: Fri, 21 Jun 2024 16:28:23 +0200 Subject: [PATCH 3/3] chore: Ignore logs in .gitignore --- .gitignore | 1 + logs/ERROR.txt | 126 ++++++++++++++++++++++++++++++++++++++++++++++++- logs/TEXT.txt | 6 +++ 3 files changed, 132 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2bf6f5c..8310849 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ db.sqlite # Logs +logs/* logs *.log npm-debug.log* diff --git a/logs/ERROR.txt b/logs/ERROR.txt index b09261a..fe431ee 100644 --- a/logs/ERROR.txt +++ b/logs/ERROR.txt @@ -2,4 +2,128 @@ [ERROR] || 20/051/2024 =>> 18h 37m 19s 514ms || TypeError: team.forEach is not a function [ERROR] || 20/051/2024 =>> 18h 37m 19s 551ms || TypeError: team.forEach is not a function [ERROR] || 20/051/2024 =>> 18h 37m 19s 628ms || TypeError: team.forEach is not a function -[ERROR] || 20/051/2024 =>> 18h 37m 19s 661ms || TypeError: team.forEach is not a function \ No newline at end of file +[ERROR] || 20/051/2024 =>> 18h 37m 19s 661ms || TypeError: team.forEach is not a function +[ERROR] || 21/051/2024 =>> 16h 19m 08s 453ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 08s 515ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 08s 640ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 08s 915ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 109ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 160ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 223ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 292ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 432ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 544ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 655ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 867ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 09s 928ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 007ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 064ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 159ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 187ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 312ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 413ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 502ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 546ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 637ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 753ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 853ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 911ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 10s 990ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 045ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 067ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 097ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 168ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 202ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 307ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 335ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 368ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 443ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 483ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 542ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 605ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 698ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 808ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 891ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 967ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 11s 986ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 012ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 077ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 143ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 218ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 308ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 356ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 436ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 508ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 638ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 771ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 822ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 941ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 12s 990ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 058ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 243ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 492ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 549ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 605ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 662ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 689ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 763ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 801ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 872ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 13s 942ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 14s 063ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 14s 426ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 14s 656ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 14s 807ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 14s 859ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 14s 984ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 136ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 225ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 358ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 421ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 472ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 557ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 581ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 664ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 726ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 765ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 823ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 886ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 936ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 15s 990ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 19m 16s 070ms || Error: SQLITE_ERROR: table users has no column named guildName +[ERROR] || 21/051/2024 =>> 16h 20m 08s 190ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 20m 08s 193ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 20m 08s 454ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 20m 08s 459ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 21m 08s 190ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 21m 08s 195ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 21m 08s 502ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 21m 08s 534ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 22m 08s 202ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 22m 08s 204ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 22m 08s 466ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 22m 08s 470ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 23m 08s 204ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 23m 08s 211ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 23m 08s 489ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 23m 08s 744ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 24m 08s 218ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 24m 08s 222ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 24m 08s 484ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 24m 08s 487ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 25m 08s 232ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 25m 08s 234ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 25m 08s 496ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 25m 08s 500ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 26m 08s 236ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 26m 08s 239ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 26m 08s 504ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 26m 08s 507ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 27m 08s 239ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 27m 08s 241ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 27m 08s 507ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 27m 08s 509ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 28m 08s 244ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 28m 08s 265ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 28m 08s 513ms || ReferenceError: message is not defined +[ERROR] || 21/051/2024 =>> 16h 28m 08s 516ms || ReferenceError: message is not defined \ No newline at end of file diff --git a/logs/TEXT.txt b/logs/TEXT.txt index 13f7fa3..5309fea 100644 --- a/logs/TEXT.txt +++ b/logs/TEXT.txt @@ -24,3 +24,9 @@ [TEXT] || 21/05/2024 =>> 07h 17m 26s 194ms || [READY] Coins#9235 est prêt ||| 4 serveurs | 479 utilisateurs [TEXT] || 21/05/2024 =>> 07h 17m 26s 280ms || [READY] Coins#9235 est prêt ||| 4 serveurs | 479 utilisateurs + +[TEXT] || 21/05/2024 =>> 16h 19m 06s 369ms || 5 events loaded +[TEXT] || 21/05/2024 =>> 16h 19m 06s 630ms || 65 commands loaded +[TEXT] || 21/05/2024 =>> 16h 19m 08s 140ms || [READY] Azelie Coins#3640 est prêt ||| 1 serveurs | 11 utilisateurs + +[TEXT] || 21/05/2024 =>> 16h 19m 08s 179ms || [READY] Azelie Coins#3640 est prêt ||| 1 serveurs | 11 utilisateurs