Remove !help and fix duplicate !strinova

This commit is contained in:
esef committed 2026-06-22 23:15:07 +03:00
1 parent 3a40e8be75
commit 63e3ec7222
3 files changed
+1 -10

No files matched your search

-1
View File
@@ -21,4 +21,3 @@ 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
-9
View File
@@ -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))
+1
View File
@@ -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'),