local changes

This commit is contained in:
esef committed 2026-06-22 22:01:20 +03:00
1 parent a317b0a7e8
commit 8ee7447ae9
21 files changed
+227 -175

No files matched your search

+11 -2
View File
@@ -1,5 +1,4 @@
import subprocess
import discord
from discord.ext import commands
import re
import psutil
@@ -98,5 +97,15 @@ 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))
await bot.add_cog(SysInfo(bot))