Ajout d'un système de signalisation de bugs automatiser et manuel

This commit is contained in:
Mathis 2026-02-07 16:03:16 +01:00
parent 99ab16098f
commit 88aa73cda9
9 changed files with 1345 additions and 7 deletions

View file

@ -9660,3 +9660,49 @@ Traceback (most recent call last):
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/ext/commands/bot.py", line 979, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'commandes.ticket_whitelist' raised an error: CommandAlreadyRegistered: Command 'ticket' already registered.
[2026-02-07 15:16:55] [ERROR] [KubyBot] [error:104] ❌ Erreur lors de la synchronisation des commandes slash : 403 Forbidden (error code: 20012): You are not authorized to perform this action on this application
Traceback (most recent call last):
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/bot.py", line 124, in setup_hook
await self.tree.sync()
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/app_commands/tree.py", line 1116, in sync
data = await self._http.bulk_upsert_global_commands(self.client.application_id, payload=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/http.py", line 767, in request
raise Forbidden(response, data)
discord.errors.Forbidden: 403 Forbidden (error code: 20012): You are not authorized to perform this action on this application
[2026-02-07 15:16:55] [ERROR] [KubyBot] [create_issue:20] GitLab integration is not configured. Missing GITLAB_TOKEN or GITLAB_PROJECT_ID.
[2026-02-07 15:16:55] [ERROR] [KubyBot] [create_issue:20] GitLab integration is not configured. Missing GITLAB_TOKEN or GITLAB_PROJECT_ID.
[2026-02-07 15:18:27] [ERROR] [KubyBot] [create_issue:20] GitLab integration is not configured. Missing GITLAB_TOKEN or GITLAB_PROJECT_ID.
[2026-02-07 15:18:27] [ERROR] [KubyBot] [create_issue:20] GitLab integration is not configured. Missing GITLAB_TOKEN or GITLAB_PROJECT_ID.
[2026-02-07 15:19:42] [ERROR] [KubyBot] [error:104] ❌ Erreur lors de la synchronisation des commandes slash : 404 Not Found (error code: 10002): Unknown Application
Traceback (most recent call last):
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/bot.py", line 124, in setup_hook
await self.tree.sync()
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/app_commands/tree.py", line 1116, in sync
data = await self._http.bulk_upsert_global_commands(self.client.application_id, payload=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/http.py", line 769, in request
raise NotFound(response, data)
discord.errors.NotFound: 404 Not Found (error code: 10002): Unknown Application
[2026-02-07 15:43:10] [ERROR] [KubyBot] [error:104] ❌ Erreur lors du chargement de commandes.bug_report : Extension 'commandes.bug_report' raised an error: NameError: name 'discord' is not defined
Traceback (most recent call last):
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/ext/commands/bot.py", line 962, in _load_from_module_spec
spec.loader.exec_module(lib) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/commandes/bug_report.py", line 27, in <module>
class BugReportModal(discord.ui.Modal, title="Signaler un Bug"):
^^^^^^^
NameError: name 'discord' is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/bot.py", line 73, in setup_hook
await self.load_extension(extension)
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/ext/commands/bot.py", line 1040, in load_extension
await self._load_from_module_spec(spec, name)
File "/home/gameurpro12/Documents/Mes_projets/Discord_bot/backup_kuby/venv/lib/python3.12/site-packages/discord/ext/commands/bot.py", line 965, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'commandes.bug_report' raised an error: NameError: name 'discord' is not defined