mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Enable commands globally if not sandboxing, add support for test guilds in env, monitor slash command & context menu usage, create error handler for slash commands, log slash commands in terminal
This commit is contained in:
parent
ef547a7090
commit
a28bd116f0
12 changed files with 117 additions and 62 deletions
|
|
@ -2,7 +2,7 @@ from data.snipe import Snipe
|
|||
from discord.ext import commands, ipc
|
||||
from dislash import InteractionClient
|
||||
import os
|
||||
from settings import HOST_IPC
|
||||
from settings import HOST_IPC, SLASH_TEST_GUILDS
|
||||
from startup.init_files import check_all
|
||||
from typing import Dict
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ class Didier(commands.Bot):
|
|||
self.remove_command("help")
|
||||
|
||||
# Create interactions client
|
||||
self.interactions = InteractionClient(self, test_guilds=[728361030404538488, 880175869841277008])
|
||||
self.interactions = InteractionClient(self, test_guilds=SLASH_TEST_GUILDS)
|
||||
|
||||
# Load all extensions
|
||||
self.init_extensions()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue