Add verification system (can be turned on and off) #111

Closed
opened 2022-03-19 16:29:57 +00:00 by Vylpes · 0 comments
Vylpes commented 2022-03-19 16:29:57 +00:00 (Migrated from github.com)

Description

I want to be able to add a verification system, similar to the one implemented in the MankBot. This verification system should be off by default and then have an option to set it up (maybe in the setup command, v!config verification set on).

Acceptance Criteria

  • Scenario 1
    AS a moderator
    WHEN I run v!config verification set on
    THEN this should be saved

  • Scenario 2
    AS a moderator
    WHEN I run v!config verification set off
    THEN this should be saved

  • Scenario 3
    AS a moderator
    WHEN I run v!config verification.channel set <name>
    THEN this should be saved

  • Scenario 4
    AS a moderator
    WHEN I run v!config verification.role set <name>
    THEN this should be saved

  • Scenario 5
    AS a user
    WHEN I join the server
    AND the verification is set on
    AND I type in the code into the entry channel
    THEN the bot should assign me the entry role

  • Scenario 6
    AS a moderator
    WHEN I run v!config verification.code set <code>
    THEN this should be saved

  • Scenario 7
    AS a moderator
    WHEN I run v!code randomise
    THEN this should save a random code

  • Scenario 8
    AS a moderator
    WHEN I run v!code embed
    THEN the bot should respond with an embed with the current code in it

Subtasks

  • Add verification off/on setting
  • Add verification.channel setting
  • Add verification.role setting
  • Add verification.code setting
  • Randomise verification.code
  • Add verification.code to an embed
  • Assign user verification.role if verification.code is the same
# Description I want to be able to add a verification system, similar to the one implemented in the MankBot. This verification system should be off by default and then have an option to set it up (maybe in the setup command, `v!config verification set on`). # Acceptance Criteria - [x] Scenario 1 AS a moderator WHEN I run `v!config verification set on` THEN this should be saved - [x] Scenario 2 AS a moderator WHEN I run `v!config verification set off` THEN this should be saved - [x] Scenario 3 AS a moderator WHEN I run `v!config verification.channel set <name>` THEN this should be saved - [x] Scenario 4 AS a moderator WHEN I run `v!config verification.role set <name>` THEN this should be saved - [x] Scenario 5 AS a user WHEN I join the server AND the verification is set on AND I type in the code into the entry channel THEN the bot should assign me the entry role - [x] Scenario 6 AS a moderator WHEN I run `v!config verification.code set <code>` THEN this should be saved - [x] Scenario 7 AS a moderator WHEN I run `v!code randomise` THEN this should save a random code - [x] Scenario 8 AS a moderator WHEN I run `v!code embed` THEN the bot should respond with an embed with the current code in it # Subtasks - [x] Add `verification off/on` setting - [x] Add `verification.channel` setting - [x] Add `verification.role` setting - [x] Add `verification.code` setting - [x] Randomise `verification.code` - [x] Add `verification.code` to an embed - [x] Assign user `verification.role` if `verification.code` is the same
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RabbitLabs/vylbot-app#111
No description provided.