mirror of https://github.com/coddrago/Heroku
Add message processor
parent
b282bee88d
commit
15075282d6
|
@ -249,7 +249,8 @@ class UpdaterMod(loader.Module):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if "LAVHOST" in os.environ:
|
if "LAVHOST" in os.environ:
|
||||||
await utils.answer(msg_obj, self.strings("lavhost_update"))
|
msg_obj = await utils.answer(msg_obj, self.strings("lavhost_update"))
|
||||||
|
await self.process_restart_message(msg_obj)
|
||||||
os.system("lavhost update")
|
os.system("lavhost update")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue