-
Notifications
You must be signed in to change notification settings - Fork 168
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
[Suggestion] Role Requirement, Guild Requirement #42
Comments
how do I make this command? |
You can just copy it in you index/bot.js file after the manager part or you can create an extra file for it |
oh nvm it works now, but any idea how to implement that into roles? |
Better use client.guilds.cache.get(giveaway.guildID) instead of giveaway.message.guild because .message can be null as your error confirms |
cannot read property "roles" of undefined, I use client.guilds.cache.get(giveaway.guildID).roles.cache.get( |
We have added an example for role requirement in the |
This feature is really cool, especially cuz a lot of people want to have a bot something like Santa Wumpus, or Prism, which both has these feature and much more. Hope you can make this true, its alright if not, its just a suggestion ❤
The text was updated successfully, but these errors were encountered: