bugfixes regarding logging, api and db working; small fixes in all of the cogs; moved all the configurable information to the config.py

This commit is contained in:
2026-03-09 01:56:07 +05:00
parent 417c5daa60
commit 4ace3b6611
12 changed files with 513 additions and 651 deletions

View File

@@ -1,27 +1,19 @@
import discord
import logging
from discord.ext import commands
import config
logger = logging.getLogger(__name__)
class HelpCog(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command(name="help")
async def help(self, ctx):
help_text = """
комманды:
await ctx.send(config.HELP_TEXT)
logger.debug("Help requested by %s", ctx.author.name)
```
uptime : сколько времени прошло с запуска бота
funchosarand <id> : рандомная пикча из фунчозы либо по айдишнику в базе
funchosainfo : фунчоза.статы
kitty : рандомная пикча кошечки из [thecatapi](https://thecatapi.com/)
```
префикс: `!`
в лс отпишите по предложениям че в бота докинуть
"""
await ctx.send(help_text)
async def setup(bot):
await bot.add_cog(HelpCog(bot))