You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
// This would be in queries.jsdb.one(`SELECT created_at FROM accounts WHERE id=`)...// This would be inside commands.js after doing the checkmsg.member.addRole(363153390881996820)
You can get the role id by sending \@rolename in the discord server. I did it for @Campers
The text was updated successfully, but these errors were encountered:
Detailed Description
When sending
!camping
, the bot will check how long the user has been part of the discord and gives them aCampers
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:
You can get the role id by sending
\@rolename
in the discord server. I did it for@Campers
The text was updated successfully, but these errors were encountered: