Aronshire / ValoCord

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
a year agoa year old
Documentation comment not found for method definition eventHandler
116        }, 2000);
117    }
118
119    async eventHandler() {120        ValorantClient.on('gameReady', () => {
121            this.clientLogin();
122        });
Documentation comment not found for method definition clientLogin
 19        this.eventHandler();
 20    }
 21
 22    async clientLogin() { 23        this.client.login({ clientId: this.clientId }).then(this.isReady = true).catch((error) => {
 24            this.isReady = false;
 25            new Notification({
Documentation comment not found for class Presence
  5const Valorant = require('./client/valorant');
  6const ValorantClient = new Valorant();
  7
  8class Presence {  9    constructor() {
 10        this.clientId = '1025869206253748295';
 11        RPC.register(this.clientId);
Documentation comment not found for method definition clientDestroy
 29        });
 30    }
 31
 32    async clientDestroy() { 33        this.client.destroy().then(this.isReady = false).catch(console.log);
 34    }
 35
Documentation comment not found for method definition _init
 33        this.client.destroy().then(this.isReady = false).catch(console.log);
 34    }
 35
 36    async _init() { 37        this.maps = await axios.get('https://valorant-api.com/v1/maps').then(res => res.data.data);
 38
 39        let interval = setInterval(async () => {