Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. const fetch = require("node-fetch");
  2. const { tenorAPI } = require("../../config.json");
  3. const { Command } = require("discord.js-commando");
  4.  
  5. module.exports = class CatCommand extends Command {
  6. constructor(client) {
  7. super(client, {
  8. name: "login",
  9. aliases: ["accountc", "accounts"],
  10. group: "other",
  11. memberName: "account",
  12. description: "account",
  13. throttling: {
  14. usages: 2,
  15. duration: 10
  16. }
  17. });
  18. }
  19.  
  20. async run(message) {
  21. fs.writeFile('mynewfile3.txt', 'This is my text', function (err) {
  22. if (err) throw err;
  23. console.log('Replaced!');
  24. });
  25. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement