generator-discord 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -1
- package/src/index.ts +4 -4
package/README.md
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
<div id="badges" align="center">
|
|
11
11
|
|
|
12
12
|
[](https://github.com/emilkrebs/generator-discord/actions/workflows/build.yml)
|
|
13
|
-
[](https://www.npmjs.com/package/generator-discord)
|
|
14
|
+
[](https://www.npmjs.com/package/generator-discord)
|
|
15
|
+
|
|
14
16
|
|
|
15
17
|
</div>
|
|
16
18
|
|
|
@@ -35,7 +37,7 @@ npm install -g generator-discord
|
|
|
35
37
|
yo discord
|
|
36
38
|
```
|
|
37
39
|
|
|
38
|
-
](https://github.com/emilkrebs/Sound-Bot)
|
|
39
41
|
|
|
40
42
|
## Known Issue
|
|
41
43
|
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -114,6 +114,8 @@ export default class DiscordGenerator extends Generator {
|
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
116
|
async install(): Promise<void> {
|
|
117
|
+
this.log('');
|
|
118
|
+
this.log('Your Discord Bot ' + this.answers.botName + ' has been created!');
|
|
117
119
|
const answer = await this.prompt({
|
|
118
120
|
type: 'list',
|
|
119
121
|
name: 'openWithCode',
|
|
@@ -129,9 +131,7 @@ export default class DiscordGenerator extends Generator {
|
|
|
129
131
|
}
|
|
130
132
|
]
|
|
131
133
|
});
|
|
132
|
-
this.log('
|
|
133
|
-
|
|
134
|
-
this.log(this.destinationRoot());
|
|
134
|
+
this.log('');
|
|
135
135
|
if (answer && answer.openWithCode) {
|
|
136
136
|
this.spawnCommand('code', [this.destinationPath(
|
|
137
137
|
USER_DIR,
|
|
@@ -139,4 +139,4 @@ export default class DiscordGenerator extends Generator {
|
|
|
139
139
|
)]);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
}
|
|
142
|
+
}
|