Skip to content

Commit

Permalink
Merge pull request #261 from ItsViolet/master
Browse files Browse the repository at this point in the history
Updated the Codeblocks rule message to use a `/` instead of the old prefix.
  • Loading branch information
theboxmage authored Sep 2, 2022
2 parents 305b227 + fe5ec72 commit 5f89163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
{
"name": "Use Codeblocks",
"triggers": ["8", "codeblocks"],
"description": "When posting code, please use code blocks (see `?codeblock` for help)."
"description": "When posting code, please use code blocks (see the command `/codeblock` for help)."
},
{
"name": "Keep it Clean",
Expand Down
2 changes: 1 addition & 1 deletion test/commands/RuleCommandTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ describe("RuleCommand", () => {

expect(replyStub.calledOnce).to.be.true;
expect(embed.title).to.equal("Rule: Use Codeblocks");
expect(embed.description).to.equal("When posting code, please use code blocks (see `?codeblock` for help).");
expect(embed.description).to.equal("When posting code, please use code blocks (see the command `/codeblock` for help).");
expect(embed.hexColor).to.equal(EMBED_COLOURS.SUCCESS.toLowerCase());
expect(embed.fields[0].name).to.equal("To familiarise yourself with all of the server's rules please see");
expect(embed.fields[0].value).to.equal("<#240884566519185408>");
Expand Down

0 comments on commit 5f89163

Please sign in to comment.