Updated index.js

This commit is contained in:
ShadowVR 2024-05-29 16:38:06 -04:00
parent a09a393001
commit 32d210ad09

View file

@ -1,5 +1,4 @@
const Discord = require('discord.js');
const chalk = require('chalk');
const fs = require('node:fs');
@ -82,7 +81,7 @@ async function updateBotFromGitHub() {
console.log('Checking for updates from GitHub...');
if (!await git.checkIsRepo()) {
await git.init().addRemote('origin', 'https://git.shadowhosting.xyz/shadow/AI_botter.git').fetch();
await git.init().addRemote('origin', 'https://git.shadowhosting.xyz/ShadowVR/AI_botter.git').fetch();
}
await git.pull('origin', 'main');