-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
2,747 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DISCORD_APP_ID= | ||
DISCORD_PUBLIC_KEY= | ||
DISCORD_BOT_TOKEN= | ||
DATABASE_URL= | ||
COMMANDS_DEBUG=false | ||
DEVELOPMENT_GUILD_ID= | ||
PORT=8020 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
module.exports = { | ||
env: { | ||
commonjs: true, | ||
es6: true, | ||
node: true | ||
}, | ||
extends: ['eslint:recommended', 'prettier/@typescript-eslint', 'plugin:prettier/recommended'], | ||
globals: { | ||
NodeJS: true, | ||
BigInt: true | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'module' | ||
}, | ||
plugins: ['@typescript-eslint'], | ||
rules: { | ||
'prettier/prettier': 'warn', | ||
'no-cond-assign': [2, 'except-parens'], | ||
'no-unused-vars': 0, | ||
'@typescript-eslint/no-unused-vars': 1, | ||
'no-empty': [ | ||
'error', | ||
{ | ||
allowEmptyCatch: true | ||
} | ||
], | ||
'prefer-const': [ | ||
'warn', | ||
{ | ||
destructuring: 'all' | ||
} | ||
], | ||
'spaced-comment': 'warn' | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['slash-up.config.js'], | ||
env: { | ||
node: true | ||
} | ||
} | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Packages | ||
node_modules/ | ||
yarn.lock | ||
package_lock.json | ||
|
||
# Log files | ||
logs/ | ||
*.log | ||
|
||
# Miscellaneous | ||
.tmp/ | ||
.vscode/**/* | ||
!.vscode/extensions.json | ||
.env | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"trailingComma": "none", | ||
"printWidth": 120 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div align="center"> | ||
<img width="256" src="https://raw.githubusercontent.com/buape/.github/main/buape_circle.png" alt="Buape Logo"></a> | ||
|
||
# Buape Tags | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "Buape Tags", | ||
"description": "🏷️ Tags allows for servers to answer the most frequent questions easier.", | ||
"repository": "https://github.com/Buape/Tags", | ||
"logo": "https://cdn.discordapp.com/attachments/1132776820345929758/1188984983067566150/BuapeTags.png", | ||
"scripts": { | ||
"postdeploy": "npx slash-up sync" | ||
}, | ||
"env": { | ||
"DISCORD_APP_ID": { | ||
"description": "The application ID of the Discord app" | ||
}, | ||
"DISCORD_PUBLIC_KEY": { | ||
"description": "The public key of the Discord app" | ||
}, | ||
"DISCORD_BOT_TOKEN": { | ||
"description": "The bot token of the Discord app" | ||
} | ||
}, | ||
"keywords": ["buape", "slash-create", "discord.js", "tags", "slash-commands"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "buape-tags", | ||
"version": "1.0.0", | ||
"description": "🏷️ Tags allows for servers to answer the most frequent questions easier", | ||
"author": "Codeize", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"sync": "slash-up sync", | ||
"sync:dev": "slash-up sync -e development", | ||
"start": "cd dist && node index.js", | ||
"build": "npx tsc", | ||
"dev": "npx tsc && slash-up sync && node dist/index.js", | ||
"lint": "npx eslint --ext .ts ./src", | ||
"lint:fix": "npx eslint --ext .ts ./src --fix" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "5.7.1", | ||
"cat-loggr": "^1.2.2", | ||
"discord.js": "^14.14.1", | ||
"dotenv": "^8.6.0", | ||
"fastify": "^3.29.5", | ||
"slash-create": "^5.14.0" | ||
}, | ||
"devDependencies": { | ||
"@types/express": "^4.17.21", | ||
"@types/node": "^14.18.63", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-prettier": "^3.4.1", | ||
"prettier": "^2.8.8", | ||
"prisma": "5.7.1", | ||
"slash-up": "^1.4.2", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^5.3.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"apps": [ | ||
{ | ||
"name": "buape-tags", | ||
"script": "node", | ||
"args": "dist/index.js" | ||
} | ||
] | ||
} |
Oops, something went wrong.