Skip to content

Commit

Permalink
cleaned up server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackante committed Dec 29, 2022
1 parent 1b95feb commit 9510d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ client.botAdmin = (id) => {

client.buttonPaginator = async (authorID, msg, embeds, page, options = { addButtons: true, deleteOnEnd: false }) => {
if (embeds.length <= 1) return
let addButtons = [undefined, null].includes(options.addButtons) ? true : options.addButtons
let addButtons = options.addButtons ?? true

// buttons
let buttonBegin = { type: 2, style: 3, emoji: { name: "⏪" }, custom_id: "begin" }
Expand Down

0 comments on commit 9510d2d

Please sign in to comment.