Skip to content

Conversation

@Smieszkokoleszko
Copy link
Contributor

Added command. Function active after choosing mission to edit. Then it basically creates new signups and deletes the old one without mentioning everyone.

@3Mydlo3
Copy link
Member

3Mydlo3 commented Jan 6, 2021

Wouldn't it be better to just change channel name and edit main mission description embed? Main mission embed edition should be fairly easy as it's already done when changing description or mission date.

@Smieszkokoleszko
Copy link
Contributor Author

Check new commit.

@3Mydlo3 3Mydlo3 added the enhancement Enhancement to existing feature label Jan 6, 2021
Copy link
Member

@3Mydlo3 3Mydlo3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice small feature which being unavailable was very irritating.

[ContextDMOrChannel]
public async Task MissionName([Remainder] string newTitle)
{
var signups = _map.GetService<SignupsData>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the SignupsData property instead of getting the service from provider.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Removed unnecessary variable and getting the service from provider.
@3Mydlo3 3Mydlo3 merged commit 8ef5650 into ArmaForces:master Jan 6, 2021
@3Mydlo3 3Mydlo3 added feature New feature or feature request and removed enhancement Enhancement to existing feature labels Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants