import discord
from discord.ext import commands
import os, sqlite3
bot = commands.Bot( command_prefix = ".", intents = discord.Intents.all())
@bot.event
async def on_ready():
print('We have logged in as {0.user}'.format(bot))
global base, cur
base = sqlite3.connect('firstpr.db')
cur = base.cursor()
if base:
print('DataBase connected - OK')
@bot.command()
async def test(ctx):
await ctx.send('Да, я тут')
@bot.command()
async def (ctx):
await ctx.send('Я был создан ...')
bot.run(
discord.ext.commands.errors.CommandNotFound: Command "inf
o" is not found --- это из консоли