Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomato6966 authored Jun 30, 2021
1 parent 13a994b commit d3594ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
//importing the files
const meme = require("./lib/Meme");
//function for generating a new meme
/**
* @param {string} token | Memer-api Token {string}
* returns {Memer-Api Class}
*/
function Meme(token) {
return new meme(token);
}
//add Options to it
Meme.Memer = meme;
Meme.version = require("./package.json").version;

Meme.author = "YASH & Tomato#6966",
//exporting this meme
module.exports = Meme;

0 comments on commit d3594ee

Please sign in to comment.