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
Added slash command support & custom messages to other stuff #64
Conversation
Typings aren't updated I suppose? |
nope, idk how to ts |
Will have to wait for me then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At src/classes/v12/dropdownroles.js#3 you seem to have required client from src/classes/v13/dropdownroles.js and similar in that same file, but you are not exporting the client.
fixed |
At src/classes/v12/giveaways.js#57 you are using PS: Same is followed at src/classes/v12/giveaways.js#62 PS 2: The above is also the same for v13 and a new inclusion of drop function
|
ESLint throws an error in src/classes/v12/dropdownroles.js#48 which is PS: Kind of same error in src/classes/v13/dropdownroles.js#47 PS 2: I have fixed all the ESLint errors except for those above. |
can you import discord.js in src/typings/index.ts ? other than that I dont see a problem, @LegItMate merge if everything alryte 👍 |
didnt meant to close oop |
It isn't required/used though |
eslint gives 69420 errrors |
stale or are typings being worked at? |
CHANGES:
Giveaways-
- Nuggies.giveaways.create({ message, prize, hostID, winners, endAfter, requirements = { enabled: false }, channelID })
+ Nuggies.giveaways.create(client, { prize, hostID, winners, endAfter, requirements = { enabled: false }, channel })
- Nuggies.giveaways.drop({ message, prize, channelID, hostID })
+ Nuggies.giveaways.drop(client, { prize, channel, hostID })
Button Roles-
- Nuggies.buttonroles.create({ message, role, content, channelID })
+ Nuggies.buttonroles.create(client, { content, role, channelID })
DropDown Role-
- Nuggies.dropdownroles.create({ message, role, content, channelID })
+ Nuggies.dropdownroles.create(client, { content, role, channelID })
Custom Messages Function-
- Nuggies.giveaways.Messages(client, {});
+
https://sourceb.in/w2BsAi6EZM it bigthere can be some stuff that I forgor to mention