Port slash commands to pc

This commit is contained in:
Stijn De Clercq 2022-02-03 01:43:54 +01:00
parent e3a788f6c9
commit 3444414638
9 changed files with 62 additions and 111 deletions

View file

@ -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, SLASH_TEST_GUILDS
from settings import HOST_IPC
from startup.init_files import check_all
from typing import Dict
@ -32,9 +32,6 @@ class Didier(commands.Bot):
# Remove default help command
self.remove_command("help")
# Create interactions client
self.interactions = InteractionClient(self, test_guilds=SLASH_TEST_GUILDS)
# Load all extensions
self.init_extensions()