added base tests
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import os
|
||||
|
||||
import disnake
|
||||
import psutil
|
||||
|
||||
from disnake import ApplicationCommandInteraction
|
||||
from disnake.ext import commands
|
||||
|
||||
from __init__ import version_info as ver
|
||||
from lib.Comands import determine_prefix
|
||||
from lib.Logger import logger
|
||||
@@ -18,7 +20,7 @@ class BotInfo(commands.Cog, name='Bot Info'):
|
||||
|
||||
@commands.slash_command(name="info_bot",
|
||||
description='Shows general info about bot') # this is for making a command
|
||||
async def info_bot(self, inter: disnake.ApplicationCommandInteraction):
|
||||
async def info_bot(self, inter: ApplicationCommandInteraction):
|
||||
_pid = os.getpid()
|
||||
_process = psutil.Process(_pid)
|
||||
emb = disnake.Embed(
|
||||
|
||||
Reference in New Issue
Block a user