This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name DTM-16-V5 | |
* @author 11pixels#2004 | |
* @version 5 | |
* @invite vUN9sNW | |
* @description A remake of DTM-16 | |
* @source https://github.com/XYZenix/XYZenixThemes/blob/master/DTM-16.theme.css | |
*/ | |
:root { | |
--showRtcConnectionStatusIcon: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
os.system("pip install termcolor") | |
import termcolor, subprocess | |
while True: | |
val = input("> ") | |
if os.system(val) == 0: | |
termcolor.cprint(text="OK!", color="green", attrs=["bold"]) | |
else: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#N.B. this is a cog that requires a main bot | |
import discord | |
from discord.ext import commands | |
import time | |
import psutil | |
import platform | |
class info(commands.Cog): | |
def __init__(self, bot): | |
self.bot = bot |