From c8c5f782d7c89e619a8c21949ad718a3e3f4f350 Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Sat, 3 Aug 2024 20:12:19 +0200 Subject: [PATCH] Move checkversion command to admin commands --- core/irc.py | 4 ++-- version.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/irc.py b/core/irc.py index edcc0ea..32c926d 100644 --- a/core/irc.py +++ b/core/irc.py @@ -28,8 +28,8 @@ class Irc: # Liste des commandes internes du bot self.commands_level = { - 0: ['help', 'auth', 'copyright','checkversion'], - 1: ['load','reload','unload', 'deauth', 'uptime'], + 0: ['help', 'auth', 'copyright'], + 1: ['load','reload','unload', 'deauth', 'uptime', 'checkversion'], 2: ['show_modules', 'show_timers', 'show_threads', 'sentinel'], 3: ['quit', 'restart','addaccess','editaccess', 'delaccess'] } diff --git a/version.json b/version.json index e36f13c..a4c8ee9 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "4.0.0" + "version": "4.0.1" } \ No newline at end of file