|
|
|
@ -8,7 +8,7 @@ import typing |
|
|
|
|
from discord.ext import commands |
|
|
|
|
import discord.utils |
|
|
|
|
import time |
|
|
|
|
from sys import platform |
|
|
|
|
import sys |
|
|
|
|
|
|
|
|
|
BOOT_TIME = time.time() |
|
|
|
|
|
|
|
|
@ -190,10 +190,10 @@ async def report_message(interaction: discord.Interaction, message: discord.Mess |
|
|
|
|
async def status(interaction: discord.Interaction): |
|
|
|
|
embed = discord.Embed(title='System Stats') |
|
|
|
|
embed.description = f"""Uptime: {seconds_elapsed()} |
|
|
|
|
System: {platform}""" |
|
|
|
|
System: {sys.platform}""" |
|
|
|
|
url_view = discord.ui.View() |
|
|
|
|
await interaction.response.send_message(embed=embed, view=url_view) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
client.tree.sync() |
|
|
|
|
client.run('TOKEN') |
|
|
|
|
client.run(sys.argv[1]) |
|
|
|
|