diff --git a/README.md b/README.md index 49a3000..e6e98a9 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ Simple, easy to set up, yet reliable. A specially designed bot for creating private voice channels on your Discord servers. Installation instructions are listed below. Please, make sure you have installed dependencies before opening issue here. -> Since version 1.5 only slash commands are supported. If you'd like to use old-fashioned commands and commands prefix feature – consider installing [1.4 version](https://github.com/profitrollgame/YusarinBot/releases/tag/v1.4) which is the last one compatible with those. +> Since version 1.5 only slash commands are supported. If you'd like to use old-fashioned commands and commands prefix feature – consider installing [1.4 version](https://git.end-play.xyz/profitroll/YusarinBot/releases/tag/v1.4) which is the last one compatible with those. ## Installation (Short) -1. `git clone https://github.com/profitrollgame/YusarinBot` +1. `git clone https://git.end-play.xyz/profitroll/YusarinBot` 2. `cd YusarinBot` 3. `pip install -r requirements.txt` 4. `nano config.json` @@ -15,7 +15,7 @@ Installation instructions are listed below. Please, make sure you have installed ## Installation (Detailed) 1. Download and install Python 3 (3.6+ should be fine) -2. Download bot's release: https://github.com/profitrollgame/YusarinBot/releases/latest +2. Download bot's release: https://git.end-play.xyz/profitroll/YusarinBot/releases/latest 3. Unpack your archive to folder. Name it YusarinBot for example 4. Change working directory using `cd YusarinBot` or `cd FolderYouHaveCreated` 5. Run `pip install -r requirements.txt` to install dependencies @@ -28,7 +28,7 @@ Installation instructions are listed below. Please, make sure you have installed 12. Bot is ready! Run it using `python yusarin.py` ## Config explanation -Default configuration file is [available here](https://github.com/profitrollgame/YusarinBot/blob/main/config.json) +Default configuration file is [available here](https://git.end-play.xyz/profitroll/YusarinBot/blob/main/config.json) - "debug" - Option that enables more detailed log messages [Boolean] - "owner" - Discord ID of user who will be able to execute admin commands (`$shutdown` for example) [Integer] - "bot_name" - Name of your bot. Is not used anywhere yet [String] diff --git a/yusarin.py b/yusarin.py index 3893d8d..e071c07 100644 --- a/yusarin.py +++ b/yusarin.py @@ -14,17 +14,17 @@ except Exception as exp: from functions import * pid = os.getpid() -version = 1.5 +version = 1.6 if loadJson("config.json")["owner"] == "SET-OWNER-ID" or loadJson("config.json")["bot_token"] == "SET-BOT-TOKEN": - print(f"Bot is not correctly configured.\nMake sure you've set up owner id and bot token in {path}/config.json\nLearn more here: https://github.com/profitrollgame/YusarinBot") + print(f"Bot is not correctly configured.\nMake sure you've set up owner id and bot token in {path}/config.json\nLearn more here: https://git.end-play.xyz/profitroll/YusarinBot") sys.exit() if loadJson("config.json")["check_for_updates"]: try: serv_ver = json.loads(requests.get("https://api.end-play.xyz/version&apikey=publickey&app=yusarinbot").text)["version"] if float(serv_ver) > version: - appendLog(f"YusarinBot version {serv_ver} is available. Download new version here: https://github.com/profitrollgame/YusarinBot/releases/latest") + appendLog(f"YusarinBot version {serv_ver} is available. Download new version here: https://git.end-play.xyz/profitroll/YusarinBot/releases/latest") appendLog(f"Currently using YusarinBot v{str(version)}") except Exception as exp: appendLog(f"Could not get YusarinBot cloud version due to {exp}. Currently using {str(version)}")