Skip to content

Use slash-command mentions (#559) - #565

Merged
Taz03 merged 14 commits into
Together-Java:developfrom
Gyoo:feature/slash-command-mentions
Oct 11, 2022
Merged

Taz03 merged 14 commits into
Together-Java:developfrom
Gyoo:feature/slash-command-mentions

Conversation

@Gyoo

@Gyoo Gyoo commented Sep 8, 2022 •

Copy link
Copy Markdown
Contributor

Changes in this PR

  • Added method MessageUtils.mentionSlashCommand to convert a command name to a mentioned command using the Guild's commands list

I have found 5 text slash commands in strings, I replaced them all with mentioned commands

Closes #559 , check it for details

Result :
Discord message with mentioned command

@Gyoo
Gyoo requested review from a team as code owners September 8, 2022 06:02
@CLAassistant

CLAassistant commented Sep 8, 2022 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Zabuzard Zabuzard added enhancement New feature or request priority: normal labels Sep 8, 2022
@Gyoo
Gyoo force-pushed the feature/slash-command-mentions branch from 3eb5717 to 86ce55a Compare September 21, 2022 07:19
@Zabuzard

Copy link
Copy Markdown
Member

is it done again? or should i wait with a full CR?

@Gyoo

Gyoo commented Sep 22, 2022

Copy link
Copy Markdown
Contributor Author

I'd like a review of my work on my latest commit as I'm not entirely sure I've done things the right way. If this is good for you we can carry on. I'll have to fix a few sonar issues though.

@Zabuzard

Zabuzard commented Sep 22, 2022 •

Copy link
Copy Markdown
Member

im not really sure which aspect of it ur unsure about. it looks fine to me. all u did was making it RestAction and then using RestAction accordingly on all call-sites (if they havent used them yet). which is what i expected for this.

or am i overlooking something here?

@Gyoo
Gyoo requested a review from Zabuzard September 28, 2022 12:44
@Gyoo
Gyoo force-pushed the feature/slash-command-mentions branch from bc04e0a to 770e691 Compare October 5, 2022 11:40
Zabuzard
Zabuzard previously approved these changes Oct 5, 2022
@Gyoo
Gyoo force-pushed the feature/slash-command-mentions branch from 4b20f2f to 31c8b1d Compare October 11, 2022 06:18
@Gyoo
Gyoo requested a review from Tais993 October 11, 2022 06:21
…s/MessageUtils.java

Co-authored-by: Tanish Azad <73871477+Taz03@users.noreply.github.com>
Taz03
Taz03 previously approved these changes Oct 11, 2022

@Zabuzard Zabuzard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can u have a quick double-check whether we added new string-mentions by now? (have a quick look over the recently merged PRs maybe)

@Gyoo

Gyoo commented Oct 11, 2022

Copy link
Copy Markdown
Contributor Author

can u have a quick double-check whether we added new string-mentions by now? (have a quick look over the recently merged PRs maybe)

Went through all commits since early September, couldn't find anything new.

Zabuzard
Zabuzard previously approved these changes Oct 11, 2022
Taz03
Taz03 previously approved these changes Oct 11, 2022
…s/MessageUtils.java

Co-authored-by: Tais993 <49957334+Tais993@users.noreply.github.com>
@Gyoo
Gyoo dismissed stale reviews from Taz03 and Zabuzard via 13154db October 11, 2022 11:12
@Taz03
Taz03 merged commit 891dd5c into Together-Java:develop Oct 11, 2022
@Gyoo
Gyoo deleted the feature/slash-command-mentions branch October 11, 2022 11:55
@Zabuzard Zabuzard mentioned this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use slash-command mentions

5 participants