Methods
# async static distributeStamp(activity, timeopt, botGuild)
Will let hackers get a stamp for attending the activity.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
activity |
Activity | activity to use | ||
time |
Number |
<optional> |
60 | time to wait till collector closes, in seconds |
botGuild |
BotGuildModel |
# static parseRole(member, activityName, botGuild)
Upgrade the stamp role of a member.
Parameters:
Name | Type | Description |
---|---|---|
member |
GuildMember | the member to add the new role to |
activityName |
String | the name of the activity |
botGuild |
BotGuildModel |
Error if the botGuild has stamps disabled