Skip to content

Commit

Permalink
feat(command): add fun category
Browse files Browse the repository at this point in the history
* Add fun category which includes...
- /deepfry - which is funny
- /magik - which perform some rituals (Not an algorithm, but
  algoritual actually)
- /meme - which gives random memes
- /xkcd - which gives random xkcd comics

* Additional changes to the command
- /help - Add `command` subcommand
  • Loading branch information
tinarskii committed Nov 6, 2022
1 parent 65919c0 commit ffaa6fe
Show file tree
Hide file tree
Showing 12 changed files with 468 additions and 17 deletions.
13 changes: 11 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,14 @@ MOORE_CLIENT_ID=
# This is the test guild id
MOORE_GUILD_ID=

# Set to production if you want to deploy command globally
NODE_ENV=
# Set to production if you are running in production
NODE_ENV=

# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema

# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
34 changes: 34 additions & 0 deletions .idea/codeStyles/Project.xml

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

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

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

6 changes: 6 additions & 0 deletions .idea/prettier.xml

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

7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"type": "module",
"scripts": {
"start": "cd dist && node index",
"start:watch": "cd dist && nodemon --delay 1000ms index",
"format": "prettier -w .",
"lint": "eslint . --no-error-on-unmatched-pattern",
"build": "pnpm run build:files && pnpm run copy:dotfiles",
"dev": "conc --kill-others \"pnpm run build:watch\" \"pnpm run start:watch\"",
"build:files": "tsc -p .",
"build:watch": "tsc -p . --watch",
"copy:dotfiles": "cp .env dist"
Expand All @@ -24,11 +26,16 @@
"@types/node": "^18.11.3",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"axios": "^1.1.3",
"discord-api-types": "^0.37.14",
"discord.js": "~14.6.0",
"discordx": "^11.4.0",
"dotenv": "^16.0.3",
"eslint": "8.22",
"prisma": "^4.5.0",
"typescript": "^4.8.4"
},
"devDependencies": {
"concurrently": "^7.5.0"
}
}
Loading

0 comments on commit ffaa6fe

Please sign in to comment.