Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Sep 29, 2022
1 parent 62514ad commit d314038
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"version": "1.0.1",
"description": "An Advanced Package Manager for discord.js",
"main": "./src/index.js",
"files": [
"src"
],
"types": "./typings/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "node src/index.js"
Expand Down
2 changes: 1 addition & 1 deletion src/features/markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const typeFormat = {
'BOTH': '1;4;'
}
// export the class
export default class Markdown {
module.exports = class Markdown {
constructor() {
/**
* @type {string} String before format
Expand Down
4 changes: 2 additions & 2 deletions src/features/paginate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EmbedBuilder, CommandInteraction, Message, ButtonBuilder, ActionRowBuilder, ButtonStyle, ComponentType } from 'discord.js';
export default class Pagination {
const { EmbedBuilder, CommandInteraction, Message, ButtonBuilder, ActionRowBuilder, ButtonStyle, ComponentType } = require('discord.js');
module.exports = class Pagination {
constructor() {
this.paginateOptions = {
style: ButtonStyle.Primary,
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
Paginate: require('./features/paginate.js').default,
Markdown: require('./features/markdown.js').default
Paginate: require('./features/paginate.js'),
Markdown: require('./features/markdown.js'),
}
File renamed without changes.

0 comments on commit d314038

Please sign in to comment.