forked from botwayorg/templates
/
deno-contents.go
53 lines (40 loc) · 1.38 KB
/
deno-contents.go
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
package templates
func DenoMainTsContent(platform string) string {
return Content("src/main.ts", platform+"-deno", "", "")
}
func CommandsModTsContent() string {
return Content("src/commands/mod.ts", "discord-deno", "", "")
}
func CommandsPingTsContent() string {
return Content("src/commands/ping.ts", "discord-deno", "", "")
}
func EventsGuildCreateTsContent() string {
return Content("src/events/guildCreate.ts", "discord-deno", "", "")
}
func EventsInteractionCreateTsContent() string {
return Content("src/events/interactionCreate.ts", "discord-deno", "", "")
}
func EventsModTsContent() string {
return Content("src/events/mod.ts", "discord-deno", "", "")
}
func EventsReadyTsContent() string {
return Content("src/events/ready.ts", "discord-deno", "", "")
}
func UtilsHelpersTsContent() string {
return Content("src/utils/helpers.ts", "discord-deno", "", "")
}
func UtilsLoggerTsContent() string {
return Content("src/utils/logger.ts", "discord-deno", "", "")
}
func DenoJsonContent() string {
return Content("deno.json", "twitch-deno", "", "")
}
func ImportMapJsonContent(platform string) string {
return Content("import_map.json", platform+"-deno", "", "")
}
func VscodeExtensionsJsonContent() string {
return Content(".vscode/extensions.json", "twitch-deno", "", "")
}
func VscodeSettingsJsonContent() string {
return Content(".vscode/settings.json", "twitch-deno", "", "")
}