Skip to content

Commit

Permalink
Split queue per channel
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Nov 26, 2020
1 parent 4f9c8f2 commit a46b49f
Show file tree
Hide file tree
Showing 6 changed files with 209 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ HUBS_HOSTS=localhost,hubs.local
# bridge chat from Hubs through to Discord.
HUBS_HOOK=Hubs

# The shard ID for this client. (0 if you aren't using multiple shards.)
# The shard ID for this client. (1 if you aren't using multiple shards.)
SHARD_ID=0

# The shard count for this client. (0 if you aren't using multiple shards.)
# The shard count for this client. (1 if you aren't using multiple shards.)
SHARD_COUNT=0

# The BCP 47 locale for bot output.
Expand Down
34 changes: 34 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Local via NPM",
"request": "launch",
"runtimeArgs": [
"run-script",
"local"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
},
{
"name": "Launch via NPM",
"request": "launch",
"runtimeArgs": [
"run-script",
"start"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "pwa-node"
}
]
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
// Format on save for Prettier
"editor.formatOnSave": true,
// Disable html formatting for now
"html.format.enable": false,
// Disable the default javascript formatter
"javascript.format.enable": false,
// Use 'prettier-eslint' instead of 'prettier'. Other settings will only be fallbacks in case they could not be inferred from eslint rules.
"prettier.eslintIntegration": true
}
121 changes: 95 additions & 26 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@sentry/node": "^5.23.0",
"bufferutil": "^4.0.1",
"discord.js": "^11.5.1",
"discord.js": "^12.4.1",
"dotenv": "^8.2.0",
"erlpack": "github:hammerandchisel/erlpack",
"escape-string-regexp": "^2.0.0",
Expand Down
Loading

0 comments on commit a46b49f

Please sign in to comment.