fetchReply(messageID) {
        return __awaiter(this, void 0, void 0, function* () {
            if (messageID) {
                const msg = yield this.channel.messages.fetch(messageID);
                return msg;
            }
            const res = yield axios_1.default.get(`https://discord.com/api/v8/webhooks/${this.application_id}/${this.token}/messages/@original`, {
                headers: {
                    Authorization: "Bot " + this.client.token,
                    "Content-Type": "application/json",
                },
            });
            const msg = (yield this.channel.messages.fetch(res.data.id));
            return msg;
        });
    }
/**
     * Fetching the interaction reply, bring the message object.
     * @example interaction.reply('HMMM!!') const msg = await interaction.fetchReply();
     */
Fetching the interaction reply, bring the message object.
Fetching the interaction reply bring the message object .
fetchReply(messageID) {
        return __awaiter(this, void 0, void 0, function* () {
            if (messageID) {
                const msg = yield this.channel.messages.fetch(messageID);
                return msg;
            }
            const res = yield axios_1.default.get(`https://discord.com/api/v8/webhooks/${this.application_id}/${this.token}/messages/@original`, {
                headers: {
                    Authorization: "Bot " + this.client.token,
                    "Content-Type": "application/json",
                },
            });
            const msg = (yield this.channel.messages.fetch(res.data.id));
            return msg;
        });
    }
fetchReply ( messageID ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { if ( messageID ) { const msg = yield this . channel . messages . fetch ( messageID ) ; return msg ; } const res = yield axios_1 . default . get ( ` ${ this . application_id } ${ this . token } ` , { headers : { Authorization : "Bot " + this . client . token , "Content-Type" : "application/json" , } , } ) ; const msg = ( yield this . channel . messages . fetch ( res . data . id ) ) ; return msg ; } ) ; }
Fetching the interaction reply, bring the message object.
Fetching the interaction reply bring the message object .