Hi so this is my gen bot and I need help!

This is my “gen add” command.

const Discord = require(‘discord.js’);

const cooldown = new Set();
exports.run = (client, message) => {

if (message.author.id !== ‘395658201934200832’) return message.channel.send(“Only Not#0001 Can Use This Command!”).then(x=>x.delete(3000))

let args = message.content.split(' ').slice(1).join(' ');

let guild = message.guild;
const cnl = client.channels.get('561196726153641984');
message.reply('Gen restocked.');

cnl.send(`${args}`)

// In your command
};

module.exports.help = {
name: ‘add’
};

When I want to do .add origin (account) i want it to automatically go to the origin.txt, is that possible?

if u need the origin.js command here it is

const Discord = require(“discord.js”)
const fs = require(“fs”)
const config = require("…/config.json")
const talkedRecently = new Set();

exports.run = (client, message, args) => {

message.delete(message)

if (message.channel.name !== ‘#:lock:staff-chat ‘) return message.channel.send(‘Command is still in making!’);
if (talkedRecently.has(message.author.id)) {
message.reply(You need to wait ${config.cooldown} minutes to use this command again!).then(m => {
setTimeout(() => {
m.delete(m)
}, 5000); //5 seconds
})
} else {
fs.readFile(’./origin.txt’, function(err, data){
if(err) throw err;
data = data + ‘’;
var lines = data.split(’\n’);
let random = lines[Math.floor(Math.random()*lines.length)];

        let hex = '#'+(Math.random()*0xFFFFFF<<0).toString(16);
        let embed = new Discord.RichEmbed()
        .addField("Origin acc", `**Your account**: \n${random}`)
        .setThumbnail("https://www.stickpng.com/assets/images/5b447f12e99939b4572e32c0.png")
        .setColor(hex)
        message.author.send(embed)

        message.reply("origin sent!").then(m => {
            setTimeout(() => {
                m.delete(m)
            }, 5000); //5 seconds
        })

        talkedRecently.add(message.author.id);
        setTimeout(() => {
            talkedRecently.delete(message.author.id);
        }, config.cooldown * 60 *1000);

    })
}

}