1
0
Fork 0

Update guild2.py

This commit is contained in:
Swee 2024-10-09 14:57:22 -07:00
parent bf0b89e80e
commit 3c66fe13f7

View file

@ -144,7 +144,7 @@ async def on_message(message):
emoticon = ":debian:" emoticon = ":debian:"
else: else:
emoticon = ":tux-linux:" emoticon = ":tux-linux:"
mess = await message.reply(embed=guilded.Embed(title=":sweebot: for :guilded: " + version +" running on:",description=":desktop_computer: " + platform.node() + "\n" + emoticon + " " + distro.name() + " " + distro.version() + " " + distro.codename() + "\n:guilded: Guilded.py version " + guilded.__version__ + "\n:gear: Python " + sys.version.split(" ")[0])) mess = await message.reply(embed=guilded.Embed(title=":sweebot: for :guilded: " + version +" running on:",description=":desktop_computer: " + platform.node() + "\n" + emoticon + " " + distro.name(pretty=True) + "\n:guilded: Guilded.py version " + guilded.__version__ + "\n:gear: Python " + sys.version.split(" ")[0]))
print("[" + GREEN + "OK" + RESET + "] '$version' executed successfully.") print("[" + GREEN + "OK" + RESET + "] '$version' executed successfully.")
elif command[0] == "restart": elif command[0] == "restart":
if "restart" in getperms(message.author.id) or "full" in getperms(message.author.id): if "restart" in getperms(message.author.id) or "full" in getperms(message.author.id):