@commands.command()
async def search(self, ctx):
self.base.search()
emb = discord.Embed(title = "Варны")
emb.add_field(name = 'id guild:', value = base.search1)
emb.add_field(name = 'id user:', value = base.search2)
emb.add_field(name = 'warns:', value = base.search3)
await ctx.send(Embed = emb)
File "C:\Users\User\Desktop\bot\cogs\base.py", line 26, in search
self.base.search()
AttributeError: 'base' object has no attribute 'base'