changed url
This commit is contained in:
parent
09c555ec78
commit
20970bc0a6
4
bot.js
4
bot.js
|
@ -15,7 +15,7 @@ async function get_guildID()
|
|||
async function remove_notlogged(){
|
||||
let guild = CLIENT.guilds.resolve(await get_guildID());
|
||||
let token = O_TOKEN;
|
||||
let url = `https://preprod.42ctf.org/api/bot/discord?token=${token}`;
|
||||
let url = `https://www.42ctf.org/api/bot/discord?token=${token}`;
|
||||
|
||||
await (guild.members.fetch()).then(() => {
|
||||
console.log("Cache reloaded !");
|
||||
|
@ -65,7 +65,7 @@ async function remove_notlogged(){
|
|||
}
|
||||
|
||||
async function rank(token = O_TOKEN){
|
||||
let url = `https://preprod.42ctf.org/api/bot/discord?token=${token}`;
|
||||
let url = `https://www.42ctf.org/api/bot/discord?token=${token}`;
|
||||
let guild = CLIENT.guilds.resolve(await get_guildID());
|
||||
|
||||
const rolesCollection = new Map([
|
||||
|
|
Loading…
Reference in New Issue