File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,13 @@ def uptime(self) -> str:
89
89
90
90
def startup (self ):
91
91
logger .line ()
92
- logger .info ("┌┬┐┌─┐┌┬┐┌┬┐┌─┐┬┬" )
93
- logger .info ("││││ │ │││││├─┤││" )
94
- logger .info ("┴ ┴└─┘─┴┘┴ ┴┴ ┴┴┴─┘" )
92
+ if os .name != 'nt' :
93
+ logger .info ("┌┬┐┌─┐┌┬┐┌┬┐┌─┐┬┬" )
94
+ logger .info ("││││ │ │││││├─┤││" )
95
+ logger .info ("┴ ┴└─┘─┴┘┴ ┴┴ ┴┴┴─┘" )
96
+ else :
97
+ logger .info ("MODMAIL" )
98
+ logger .info ("MODMAIL" )
95
99
logger .info ("v%s" , __version__ )
96
100
logger .info ("Authors: kyb3r, fourjr, Taaku18" )
97
101
logger .line ()
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ async def load_plugin(self, plugin):
199
199
venv = hasattr (sys , "real_prefix" ) or hasattr (sys , "base_prefix" ) # in a virtual env
200
200
user_install = " --user" if not venv else ""
201
201
proc = await asyncio .create_subprocess_shell (
202
- f"{ sys .executable } -m pip install --upgrade{ user_install } -r { req_txt } -q -q" ,
202
+ f"\" { sys .executable } \" -m pip install --upgrade{ user_install } -r { req_txt } -q -q --user " ,
203
203
stderr = PIPE ,
204
204
stdout = PIPE ,
205
205
)
@@ -497,7 +497,7 @@ async def plugins_reset(self, ctx):
497
497
logger .warning ("Removing %s." , entry .name )
498
498
499
499
embed = discord .Embed (
500
- description = f "Successfully purged all plugins from the bot." , color = self .bot .main_color
500
+ description = "Successfully purged all plugins from the bot." , color = self .bot .main_color
501
501
)
502
502
return await ctx .send (embed = embed )
503
503
You can’t perform that action at this time.
0 commit comments