Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const fetch = require("node-fetch");
- const { tenorAPI } = require("../../config.json");
- const { Command } = require("discord.js-commando");
- module.exports = class CatCommand extends Command {
- constructor(client) {
- super(client, {
- name: "login",
- aliases: ["accountc", "accounts"],
- group: "other",
- memberName: "account",
- description: "account",
- throttling: {
- usages: 2,
- duration: 10
- }
- });
- }
- async run(message) {
- fs.writeFile('mynewfile3.txt', 'This is my text', function (err) {
- if (err) throw err;
- console.log('Replaced!');
- });
- }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement