File size: 581 Bytes
120180f
 
 
 
7956eb0
 
 
120180f
 
 
 
 
d6ab0e1
120180f
 
 
 
 
e804917
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
from platform import system

from Powers import LOGGER
from Powers.bot_class import Gojo

if __name__ == "__main__":
    if system() == "Windows":
        LOGGER.info("Windows system detected thus not installing uvloop")
    else:
        LOGGER.info("Attempting to install uvloop")
        try:
            os.system("pip3 install uvloop")
            import uvloop
            uvloop.install()
            LOGGER.info("Installed uvloop continuing the process")
        except:
            LOGGER.info("Failed to install uvloop continuing the process")
    Gojo().run()