Skip to content

Commit 5384403

Browse files
committed
Update issue templates and links
1 parent 269146f commit 5384403

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ assignees: ''
99

1010
## Description
1111

12-
A clear and concise description of what the bug is.
12+
Description of what the bug is.
1313

1414
## Steps to reproduce
1515

@@ -20,7 +20,7 @@ A clear and concise description of what the bug is.
2020

2121
## Expected behavior
2222

23-
A clear and concise description of what you expected to happen.
23+
Description of what you expected to happen.
2424

2525
## Screenshots
2626

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ Short description of what this thing is supposed to do.
1414
How is this feature supposed to be triggered?
1515

1616
```
17-
!command something something-else
17+
!command @username something
1818
```
1919

2020
## Arguments
2121

2222
List any arguments the command is supposed to take in and what they're supposed to do.
2323

24-
| Argument | Explanation |
25-
|:---------------|:-----------------------|
26-
| something | X to fetch from Y |
27-
| something-else | Determines what Z does |
24+
| Argument | Explanation |
25+
|:----------|:---------------------------|
26+
| @username | Username |
27+
| something | Does something to the user |
2828

2929
## Output
3030

locales/en/responses.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"embed": {
1313
"description": "If you'd like to create a proposal for a new feature, you can submit a new issue on GitHub.",
1414
"title": "Create a new feature request for \"{{command}}\"",
15-
"url": "https://github.com/Phoenix2k/discbot/issues/new?labels=feature+request&template=feature_request.md&title=New%20command:%20{{command}}"
15+
"url": "https://github.com/Phoenix2k/discbot/issues/"
1616
},
1717
"reply": "I'm not sure what **{{command}}** is supposed to do, but maybe someday in the future I will!"
1818
}

locales/fi/responses.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"embed": {
1313
"description": "Jos haluat tehdä ehdotuksen tulevasta featuresta, voit luoda sille issuen GitHubissa.",
1414
"title": "Luo uusi ehdotus komennolle \"{{command}}\"",
15-
"url": "https://github.com/Phoenix2k/discbot/issues/new?labels=feature+request&template=feature_request.md&title=New%20command:%20{{command}}"
15+
"url": "https://github.com/Phoenix2k/discbot/issues/"
1616
},
1717
"reply": "En ole varma mitä **{{command}}** on tarkoitus tehdä, mutta ehkä joskus tulevaisuudessa tiedän!"
1818
}

src/commands/unknown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { logSuccess } from '../utils/logger';
44

55
async function commandUnknown(command: string, message: Discord.Message): Promise<void> {
66
const replyMessage = i18n.t('responses:unknownCommand.reply', { command });
7+
/** {@link https://discordjs.guide/popular-topics/embeds.html} */
78
const embed = new MessageEmbed()
89
.setDescription(i18n.t('responses:unknownCommand.embed.description'))
910
.setTitle(i18n.t('responses:unknownCommand.embed.title', { command }))

0 commit comments

Comments
 (0)