Merge branch 'dev'
commit
949d2469a2
|
@ -104,6 +104,10 @@ export default class Queue {
|
|||
} else {
|
||||
embed.setColor('#eeeeee');
|
||||
}
|
||||
const chan = await this.client.getDMChannel(job.data.userID);
|
||||
if (chan && application.token) {
|
||||
chan.createMessage(`__**Application Decision Document**__\n*This document provides detailed information about the decision given to you by EDS.*\n\nhttps://eds.libraryofcode.org/dec/${application.token}`);
|
||||
}
|
||||
embed.setDescription(`This application was processed by __${application.processedBy}__ on behalf of the vendor, department, or service who operates this application. Please contact the vendor for further information about your application if needed.`);
|
||||
embed.addField('Status', application.decision, true);
|
||||
embed.addField('User ID', job.data.userID, true);
|
||||
|
|
|
@ -147,6 +147,7 @@ export default class Apply extends Command {
|
|||
decision: data.decision,
|
||||
id: data.id,
|
||||
processedBy: data.processedBy,
|
||||
token: data.token,
|
||||
};
|
||||
} catch (err) {
|
||||
const error = <AxiosError>err;
|
||||
|
|
Loading…
Reference in New Issue