From 2b50bf3c55939add23e1e97e692c2c949bde34ab Mon Sep 17 00:00:00 2001 From: Aarav Arora Date: Sun, 6 Mar 2022 05:15:39 +0530 Subject: [PATCH] Update setup --- setup | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup b/setup index 9eedc550c..e71cbd88c 100644 --- a/setup +++ b/setup @@ -2,13 +2,14 @@ cgreen='\033[0;32m' cyellow='\033[0;33m' +cpurple='\033[0;35m' update() { sudo apt-get update && sudo apt-get upgrade -y } pprint (){ - printf """$cyellow $1""" + printf """$cpurple $1""" } @@ -71,6 +72,8 @@ read string_session sleep 1 pprint "\n\x4D\x55\x53\x49\x43\x20\x42\x4F\x54\x20\x4E\x41\x4D\x45\x3A " read mbt +pprint "\n\x4F\x77\x6E\x65\x72\x20\x49\x64\x20\x3A" +read ownid pprint "$cgreen \n\n\x50\x72\x6F\x63\x65\x73\x73\x69\x6E\x67\x20\x79\x6F\x75\x72\x20\x76\x61\x72\x73\x2C\x20\x57\x61\x69\x74\x20\x61\x20\x77\x68\x69\x6C\x65\x21" sleep 5 if [-f .env]; then @@ -82,7 +85,8 @@ BOT_TOKEN = $bot_token MONGO_DB_URI = $mongo_db LOG_GROUP_ID = $logger MUSIC_BOT_NAME = $mbt -STRING_SESSION = $string_session""" > .env +STRING_SESSION = $string_session +OWNER_ID = $ownid""" > .env clear pprint "\n\n\n\x59\x6F\x75\x72\x20\x56\x61\x72\x73\x20\x68\x61\x76\x65\x20\x62\x65\x65\x6E\x20\x73\x61\x76\x65\x64\x20\x53\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79\x21\x2C\x20\x54\x68\x61\x6E\x6B\x73\x20\x66\x6F\x72\x20\x75\x73\x69\x6E\x67\x20\x59\x75\x6B\x6B\x69\x20\x49\x6E\x73\x74\x61\x6C\x6C\x65\x72\x2C\x20\x6E\x6F\x77\x20\x79\x6F\x75\x20\x63\x61\x6E\x20\x70\x72\x6F\x63\x65\x65\x64\x20\x62\x79\x20\x73\x74\x61\x72\x74\x69\x6E\x67\x20\x74\x68\x65\x20\x62\x6F\x74\x20\x77\x69\x74\x68\x20\x62\x61\x73\x68\x20\x73\x74\x61\x72\x74\x21" pprint "\n\n\n\x57\x61\x6E\x74\x20\x6D\x6F\x72\x65\x20\x76\x61\x72\x73\x3F"