diff --git a/src/Util.ts b/src/Util.ts index 5bec43b..5fbe018 100644 --- a/src/Util.ts +++ b/src/Util.ts @@ -8,8 +8,14 @@ import { Command, RichEmbed } from './class'; export default class Util { public client: Client; + public transport: nodemailer.Transporter; + constructor(client: Client) { this.client = client; + this.transport = nodemailer.createTransport({ + host: 'staff.libraryofcode.us', + auth: { user: 'support', pass: this.client.config.emailPass }, + }); } public async exec(command: string): Promise {