mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-21 03:58:05 +01:00
Merge remote-tracking branch 'origin/outreach' into outreach
This commit is contained in:
@@ -44,6 +44,7 @@ export class OutreachCommand extends Subcommand {
|
|||||||
entries: [
|
entries: [
|
||||||
{ name: 'create', chatInputRun: 'groupCreate' },
|
{ name: 'create', chatInputRun: 'groupCreate' },
|
||||||
{ name: 'add', chatInputRun: 'groupAdd' },
|
{ name: 'add', chatInputRun: 'groupAdd' },
|
||||||
|
{ name: 'update', chatInputRun: 'groupUpdate' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -81,7 +82,19 @@ export class OutreachCommand extends Subcommand {
|
|||||||
.setRequired(true))
|
.setRequired(true))
|
||||||
.addStringOption((option) => option.setName('user')
|
.addStringOption((option) => option.setName('user')
|
||||||
.setDescription('User to add to the group')
|
.setDescription('User to add to the group')
|
||||||
.setRequired(true)))),
|
.setRequired(true)))
|
||||||
|
.addSubcommand((command) => command.setName('update')
|
||||||
|
.setDescription('Update the statistics for the group')
|
||||||
|
.addIntegerOption((option) => option.setName('vegan')
|
||||||
|
.setDescription('How many said would go vegan?'))
|
||||||
|
.addIntegerOption((option) => option.setName('considered')
|
||||||
|
.setDescription('How many seriously considered being vegan?'))
|
||||||
|
.addIntegerOption((option) => option.setName('thanked')
|
||||||
|
.setDescription('How many thanked you for the conversation?'))
|
||||||
|
.addIntegerOption((option) => option.setName('documentary')
|
||||||
|
.setDescription('How many said they would watch a vegan documentary?'))
|
||||||
|
.addIntegerOption((option) => option.setName('educated')
|
||||||
|
.setDescription('How many got educated on veganism or the animal industry?')))),
|
||||||
{
|
{
|
||||||
behaviorWhenNotIdentical: RegisterBehavior.Overwrite,
|
behaviorWhenNotIdentical: RegisterBehavior.Overwrite,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user