-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
240 lines (240 loc) · 5.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
{
"name": "discord-tools",
"displayName": "Discord Tools",
"description": "Discord chat, bot template, snippets, theme and more!",
"icon": "images/logo.png",
"version": "1.5.0",
"publisher": "Darkempire78",
"license": "GPL-3.0 License",
"repository": {
"type": "git",
"url": "https://github.com/Darkempire78/Discord-Tools"
},
"bugs": {
"url": "https://github.com/Darkempire78/Discord-Tools/issues"
},
"engines": {
"vscode": "^1.52.0"
},
"keywords": [
"discord",
"discord bot",
"discord.py",
"pycord",
"discord.js",
"jda",
"eris",
"harmony",
"deno",
"discord theme",
"dark theme"
],
"categories": [
"Other",
"Snippets",
"Themes"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "discord-tools.pyBotTemplate",
"title": "Generate a python template bot (Discord.py)",
"category": "Discord Template"
},
{
"command": "discord-tools.jsBotTemplate",
"title": "Generate a javascript template bot (Discord.js)",
"category": "Discord Template"
},
{
"command": "discord-tools.jdaBotTemplate",
"title": "Generate a Java template bot (JDA)",
"category": "Discord Template"
},
{
"command": "discord-tools.openDiscordDoc",
"title": "Open the Discord bot Documention",
"category": "Discord Doc"
},
{
"command": "discord-tools.setUpDiscordToken",
"title": "Set up your personal Discord token",
"category": "Discord Chat"
},
{
"command": "discord-tools.reloadBot",
"title": "Reload the Discord Bot",
"category": "Discord Chat"
},
{
"command": "discord-tools.openDiscordChat",
"title": "Open the Discord Chat (must be started before)",
"category": "Discord Chat"
},
{
"command": "discord-tools.grabDiscordToken",
"title": "Grab your personal Discord Token",
"category": "Discord Chat"
},
{
"command": "discord-tools.setUpIfDiscordChaStartWhenVSCodeOpened",
"title": "Set up if the Discord chat should start when VSCode is opened",
"category": "Discord Chat"
},
{
"command": "discord-tools.startDiscordChat",
"title": "Start the Discord chat",
"category": "Discord Chat"
}
],
"keybindings": [
{
"command": "discord-tools.openDiscordDoc",
"key": "ctrl+alt+d",
"mac": "shift+cmd+d"
}
],
"menus": {
"commandPalette": [
{
"command": "discord-tools.pyBotTemplate",
"when": "workspaceFolderCount > 0"
},
{
"command": "discord-tools.jsBotTemplate",
"when": "workspaceFolderCount > 0"
},
{
"command": "discord-tools.openDiscordDoc",
"when": "workspaceFolderCount > 0"
}
]
},
"snippets": [
{
"language": "python",
"path": "./snippets/discordpySnippets.code-snippets"
},
{
"language": "python",
"path": "./snippets/pycordSnippets.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/discordjsSnippets.code-snippets"
},
{
"language": "javascript",
"path": "./snippets/erisSnippets.code-snippets"
},
{
"language": "typescript",
"path": "./snippets/harmonySnippets.code-snippets"
},
{
"language": "java",
"path": "./snippets/jdaSnippets.code-snippets"
}
],
"themes": [
{
"label": "Discord Theme (Dark)",
"uiTheme": "vs-dark",
"path": "./themes/discordTheme-color-theme.json"
}
],
"views": {
"explorer": [
{
"id": "discordTreeView",
"name": "Discord"
}
]
},
"configuration": {
"type": "object",
"title": "Discord Tools",
"properties": {
"discord-documentation.pythonWrapper": {
"type": "string",
"markdownDescription": "Open the Discord bot Documentation with/without a research.\nSelect your python wrapper",
"enum": [
"Discord.py",
"Pycord"
],
"uniqueItems": true,
"default": "Discord.py"
},
"discord-documentation.javaWrapper": {
"type": "string",
"markdownDescription": "Open the Discord bot Documentation with/without a research.\nSelect your java wrapper",
"enum": [
"JDA"
],
"uniqueItems": true,
"default": "JDA"
},
"discord-documentation.javascriptWrapper": {
"type": "string",
"markdownDescription": "Open the Discord bot Documentation with/without a research.\nSelect your javascript wrapper",
"enum": [
"Discord.js",
"Eris"
],
"uniqueItems": true,
"default": "Discord.js"
},
"discord-documentation.typescriptWrapper": {
"type": "string",
"markdownDescription": "Open the Discord bot Documentation with/without a research.\nSelect your typescript wrapper",
"enum": [
"Harmony"
],
"uniqueItems": true,
"default": "Harmony"
},
"discord-chat.token": {
"type": "string",
"markdownDescription": "Your personal Discord token (Use this command to find it: `Discord Chat: Grab your personal Discord Token` or [see this YouTube tutorial](https://www.youtube.com/watch?v=YEgFvgg7ZPI))",
"default": ""
},
"discord-chat.setUpIfDiscordChaStartWhenVSCodeOpened": {
"type": "boolean",
"markdownDescription": "Start the Discord chat when VSCode is opened",
"default": true
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.52.0",
"esbuild": "^0.12.1",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^10.1.0",
"typescript": "^4.1.2",
"vscode-test": "^1.4.1"
},
"galleryBanner": {
"color": "#6477C1",
"theme": "dark"
},
"dependencies": {
"discord.js-selfbot": "^12.0.2",
"fs-extra": "^9.0.1",
"markdown-it": "^12.3.2",
"npx": "^10.2.2"
}
}