File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ assignees: ''
9
9
10
10
## Description
11
11
12
- A clear and concise description of what the bug is.
12
+ Description of what the bug is.
13
13
14
14
## Steps to reproduce
15
15
@@ -20,7 +20,7 @@ A clear and concise description of what the bug is.
20
20
21
21
## Expected behavior
22
22
23
- A clear and concise description of what you expected to happen.
23
+ Description of what you expected to happen.
24
24
25
25
## Screenshots
26
26
Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ Short description of what this thing is supposed to do.
14
14
How is this feature supposed to be triggered?
15
15
16
16
```
17
- !command something something-else
17
+ !command @username something
18
18
```
19
19
20
20
## Arguments
21
21
22
22
List any arguments the command is supposed to take in and what they're supposed to do.
23
23
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 |
28
28
29
29
## Output
30
30
Original file line number Diff line number Diff line change 12
12
"embed" : {
13
13
"description" : " If you'd like to create a proposal for a new feature, you can submit a new issue on GitHub." ,
14
14
"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/"
16
16
},
17
17
"reply" : " I'm not sure what **{{command}}** is supposed to do, but maybe someday in the future I will!"
18
18
}
Original file line number Diff line number Diff line change 12
12
"embed" : {
13
13
"description" : " Jos haluat tehdä ehdotuksen tulevasta featuresta, voit luoda sille issuen GitHubissa." ,
14
14
"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/"
16
16
},
17
17
"reply" : " En ole varma mitä **{{command}}** on tarkoitus tehdä, mutta ehkä joskus tulevaisuudessa tiedän!"
18
18
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { logSuccess } from '../utils/logger';
4
4
5
5
async function commandUnknown ( command : string , message : Discord . Message ) : Promise < void > {
6
6
const replyMessage = i18n . t ( 'responses:unknownCommand.reply' , { command } ) ;
7
+ /** {@link https://discordjs.guide/popular-topics/embeds.html } */
7
8
const embed = new MessageEmbed ( )
8
9
. setDescription ( i18n . t ( 'responses:unknownCommand.embed.description' ) )
9
10
. setTitle ( i18n . t ( 'responses:unknownCommand.embed.title' , { command } ) )
You can’t perform that action at this time.
0 commit comments