diff --git a/bot.py b/bot.py index dd4002e..1d8bb4a 100644 --- a/bot.py +++ b/bot.py @@ -1,6 +1,7 @@ import ssl import discord from discord import app_commands +from discord.ext import commands import os, sys import aiohttp from datetime import datetime @@ -11,7 +12,7 @@ from exceptions import * import asyncio, sys, argparse #Скрыть сообщение если надо ephemeral=True -class DiscordClient(discord.Client): +class DiscordClient(commands.Bot): main_server_id = 0 ANY_INPUT = "ссылка на стим | имя игрока | стимид | ид бана через #" discord2steam_cache = {}