-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
commandWhen the issue relates to a bot commandWhen the issue relates to a bot commandenhancementNew feature or requestNew feature or request
Description
Detailed Description
When sending !camping
, the bot will check how long the user has been part of the discord and gives them a Campers
role if they have been part of the discord for over a month.
Other criteria may apply, such as having been active in the month or this could be a manual command every month, etc.
Context
I think it will help people feel a sense of community and give incentive to remain active.
Possible Implementation
API: https://discord.js.org/#/docs/main/stable/class/GuildMember?scrollTo=addRole
Pseudo code:
// This would be in queries.js
db.one(`SELECT created_at FROM accounts WHERE id=`)...
// This would be inside commands.js after doing the check
msg.member.addRole(363153390881996820)
You can get the role id by sending \@rolename
in the discord server. I did it for @Campers
Metadata
Metadata
Assignees
Labels
commandWhen the issue relates to a bot commandWhen the issue relates to a bot commandenhancementNew feature or requestNew feature or request