Code2Gether-Discord / Code2Gether-Discord-Bot

A Discord bot for the Code2Gether server
3 stars 1 forks source link

As a user, I want a command to create new a project channel and role #5

Closed nickmartin1ee7 closed 3 years ago

nickmartin1ee7 commented 3 years ago

Given Project name does not already exist When a message containing "c!create {projectName}" is sent on a guild's text channel Then create a inactive project in the database with the command's author as the only member initially in the project.

Given a project exists When a message containing "c!join {projectName}" is sent on a guild's text channel Then add the command's author to the project's members.

Given a project exists When the total count of the project's members > 2 Then make the project active.

Given a project exists When when a project becomes active Then generate a project text channel and project role on Discord for all the Project's members.

Given a project has just become active When the project text channel and project role is being created Then generate a project text channel and project role with these specific permissions:

nickmartin1ee7 commented 3 years ago

@chrisK00 can you give feedback on this story?

nickmartin1ee7 commented 3 years ago

Implementation started. c!makechannel command added. Core functionality missing still.