Skip to content

Commit 21f7015

Browse files
I forgot it to call sudo
1 parent a810124 commit 21f7015

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

YukkiMusic/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import config
1616
from config import BANNED_USERS
1717
from YukkiMusic import HELPABLE, LOGGER, app, userbot
18+
from YukkiMusic.misc import sudo
1819
from YukkiMusic.core.call import Yukki
1920
from YukkiMusic.utils.database import get_banned_users, get_gbanned
2021

@@ -39,6 +40,7 @@ async def init():
3940
BANNED_USERS.add(user_id)
4041
except Exception:
4142
pass
43+
await sudo()
4244
await app.start()
4345
for mod in app.load_plugins_from("YukkiMusic/plugins"):
4446
if mod and hasattr(mod, "__MODULE__") and mod.__MODULE__:

0 commit comments

Comments
 (0)