From 63e3ec7222df45f6560aeaed780ec37e5c460da6 Mon Sep 17 00:00:00 2001 From: esefxdz Date: Mon, 22 Jun 2026 23:15:07 +0300 Subject: [PATCH] Remove !help and fix duplicate !strinova --- README.md | 3 +-- cogs/sysinfo.py | 9 --------- main.py | 1 + 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 83134d0..0b73b1d 100644 --- a/README.md +++ b/README.md @@ -20,5 +20,4 @@ Personal Discord bot running on my Arch Linux laptop. Named after Hayase Yuuka. - `!music` — full music command list - `!sysinfo` — full sysinfo command list -- `!gifs` — full gif list -- `!help` — everything else \ No newline at end of file +- `!gifs` — full gif list \ No newline at end of file diff --git a/cogs/sysinfo.py b/cogs/sysinfo.py index 71b85b4..8e0cc18 100644 --- a/cogs/sysinfo.py +++ b/cogs/sysinfo.py @@ -97,15 +97,6 @@ class SysInfo(commands.Cog): count = data['response']['player_count'] await ctx.reply(f'🎮 Strinova — {count:,} players online right now') - #this is unrelated, strinova player count tracker - #i just couldnt be assed with it lol - @commands.command() - async def strinova(self, ctx): - async with aiohttp.ClientSession() as session: - async with session.get('https://api.steampowered.com/ISteamUserStats/GetNumberOfCurrentPlayers/v1/?appid=1282270') as r: - data = await r.json() - count = data['response']['player_count'] - await ctx.reply(f'🎮 Strinova — {count:,} players online right now') async def setup(bot): await bot.add_cog(SysInfo(bot)) diff --git a/main.py b/main.py index 7a7683b..3569036 100644 --- a/main.py +++ b/main.py @@ -14,6 +14,7 @@ intents = discord.Intents.default() intents.message_content = True bot = commands.Bot(command_prefix='!', intents=intents) +bot.remove_command('help') forwarder = TelegramForwarder( token=os.getenv('TELEGRAM_BOT_TOKEN'),