Skip to content

Commit 9091e9a

Browse files
authored
Merge pull request #43 from CorwinDev/v14
Discord.JS v14 beta
2 parents 7a365d5 + 5b9c2df commit 9091e9a

File tree

267 files changed

+9353
-7771
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+9353
-7771
lines changed

.env.example

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
DISCORD_TOKEN=
22
MONGO_TOKEN=
33
GIPHY_TOKEN=
4-
TOPGG_TOKEN=
4+
WEBHOOK_ID=
5+
WEBHOOK_TOKEN=
6+
7+
# Not neccessary variables
8+
DISCORD_STATUS="Listening to meself, I'm a stupid bot, https://github.com/corwindev/discord-bot"
59
RADIO=
10+
TOPGG_TOKEN=
611
SPOTIFY_CLIENT_ID=
712
SPOTIFY_CLIENT_SECRET=
8-
LAVALINK_HOST=
9-
LAVALINK_PASSWORD=
10-
LAVALINK_PORT=
13+
LAVALINK_HOST=lava.link
14+
LAVALINK_PASSWORD=I'm a secret
15+
LAVALINK_PORT=80

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,5 @@ dist
102102

103103
# TernJS port file
104104
.tern-port
105+
106+
src/config/*

.replit

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
hidden = [".config"]
2+
run = "npm run start"
3+
4+
[env]
5+
DISCORD_TOKEN = "fillin"
6+
MONGO_TOKEN = "fillin"
7+
GIPHY_TOKEN = "fillin"
8+
WEBHOOK_ID = "fillin"
9+
WEBHOOK_TOKEN = "fillin"
10+
11+
[[hints]]
12+
regex = "Error \\[ERR_REQUIRE_ESM\\]"
13+
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"
14+
15+
[nix]
16+
channel = "stable-22_05"
17+
18+
[env]
19+
XDG_CONFIG_HOME = "/home/runner/.config"
20+
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
21+
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"
22+
23+
[gitHubImport]
24+
requiredFiles = [".replit", "replit.nix", ".config"]
25+
26+
[packager]
27+
language = "nodejs"
28+
29+
[packager.features]
30+
packageSearch = true
31+
guessImports = true
32+
enabledForHosting = false
33+
34+
[unitTest]
35+
language = "nodejs"
36+
37+
[debugger]
38+
support = true
39+
40+
[debugger.interactive]
41+
transport = "localhost:0"
42+
startCommand = ["dap-node"]
43+
44+
[debugger.interactive.initializeMessage]
45+
command = "initialize"
46+
type = "request"
47+
48+
[debugger.interactive.initializeMessage.arguments]
49+
clientID = "replit"
50+
clientName = "replit.com"
51+
columnsStartAt1 = true
52+
linesStartAt1 = true
53+
locale = "en-us"
54+
pathFormat = "path"
55+
supportsInvalidatedEvent = true
56+
supportsProgressReporting = true
57+
supportsRunInTerminalRequest = true
58+
supportsVariablePaging = true
59+
supportsVariableType = true
60+
61+
[debugger.interactive.launchMessage]
62+
command = "launch"
63+
type = "request"
64+
65+
[debugger.interactive.launchMessage.arguments]
66+
args = []
67+
console = "externalTerminal"
68+
cwd = "."
69+
environment = []
70+
pauseForSourceMap = false
71+
program = "./index.js"
72+
request = "launch"
73+
sourceMaps = true
74+
stopOnEntry = false
75+
type = "pwa-node"
76+
77+
[languages]
78+
79+
[languages.javascript]
80+
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
81+
82+
[languages.javascript.languageServer]
83+
start = "typescript-language-server --stdio"

.replit.nix

Whitespace-only changes.

0 commit comments

Comments
 (0)