Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Masterpanel #446

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Masterpanel #446

wants to merge 9 commits into from

Conversation

Hackante
Copy link
Member

@Hackante Hackante commented Nov 9, 2022

events/button.js Outdated Show resolved Hide resolved
events/masterPanels.js Outdated Show resolved Hide resolved
client.buttonPaginator(interaction.user.id, r, embeds, 1)
client.buttonPaginator(interaction.user.id, r, embeds, 1, { deleteOnEnd: true })
}
if (interaction.customId == "dev-maintenance") {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a fan of that if... extract the inner thingy in the if to func at least and best case imo? save the method reference inside the interaction for easy creation and such and like do interaction.activate() or something instead of creating a new IF per interaction

events/masterPanels.js Outdated Show resolved Hide resolved
server.js Outdated Show resolved Hide resolved
server.js Outdated Show resolved Hide resolved
server.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SUGGESTION: Emergency Stop SUGGESTION: Nab: "PINGY IN +GWHOST Suggestion display language
2 participants