Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
219493d
feat!: re-initialize project
Mednoob Jun 30, 2022
ab6da59
feat(HelpCommand): remove images from embed
Mednoob Jul 3, 2022
2577417
chore(deps): add `mongoose` and `@typegoose/typegoose`
Mednoob Jul 4, 2022
7059991
feat(core): add code to connect to mongo
Mednoob Jul 4, 2022
8e473aa
chore(deps): add `tree-kill`
Mednoob Jul 4, 2022
8ecdbef
feat(modules): add `devs` module and its' commands
Mednoob Jul 4, 2022
6b37852
feat(devs): hide `DEVELOPER` category
Mednoob Jul 4, 2022
d3bab69
chore(deps): de-bump `mongoose` to `6.3.5`
Mednoob Jul 4, 2022
e8bf0cc
feat!: use import map for modules
Mednoob Jul 5, 2022
0c8749b
feat(modules): create `cmd-handler` module and move events used for c…
Mednoob Jul 5, 2022
13f8c47
chore(deps): bump `mongoose` and `@typegoose/typegoose` to latest ver…
Mednoob Jul 5, 2022
75e8f29
feat(cmd-handler): add schema for guild prefix
Mednoob Jul 5, 2022
2b87c1a
feat(mongo): db name based on environment
Mednoob Jul 5, 2022
f04d353
feat(GuildPrefix): add `guildId` property
Mednoob Jul 5, 2022
ee6bf20
feat(commands): add `GUILD` category
Mednoob Jul 5, 2022
3f9445d
feat(commands/guild): add set prefix command
Mednoob Jul 5, 2022
7fb85e9
feat: implement custom prefix feature
Mednoob Jul 5, 2022
95c4764
feat(utils/functions): add `escapeRegexp` util
Mednoob Jul 5, 2022
cdc7002
feat(modules): create `welcome-goodbye` module and add `placeholder` …
Mednoob Jul 5, 2022
22beb7f
feat(welcome-goodbye): add `WelcomeGoodbye` model
Mednoob Jul 5, 2022
7128042
feat(welcome-goodbye): add `UTILS` category
Mednoob Jul 5, 2022
75e1f89
feat(WelcomeGoodbye): do some modification to the model
Mednoob Jul 7, 2022
f6c2551
feat(placeholder): put the escaped ones in another array
Mednoob Jul 7, 2022
12f863d
feat(commands/utils): add goodbye command
Mednoob Jul 7, 2022
5148230
feat(commands/utils): add welcome command
Mednoob Jul 7, 2022
c12926a
feat(welcome-goodbye): add listeners for member joining and leaving t…
Mednoob Jul 7, 2022
90cce27
chore(renovate): now use clytage/renovate-config
Jul 9, 2022
d3e4a43
chore(readme): change content
Oct 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env_example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
DISCORD_TOKEN=
MONGO_URL=

NODE_ENV=
ENABLE_SLASH_COMMAND=
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Enforce UNIX newlines (LF)
* text=auto eol=lf
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>clytage/renovate-config"]
}
53 changes: 53 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Lint code and compile setup script

on:
push:
branches:
- main
pull_request:
branches:
- "**"

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [">=16.6.0 <17.x"]
steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install dependencies
run: npm ci

- name: Lint code
run: npm run lint

compile:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [">=16.6.0 <17.x"]
steps:
- name: Checkout repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3.3.0
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install dependencies
run: npm ci

- name: Compile test
run: npm run compile && rm -rf dist
100 changes: 100 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./.node-version
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"files.eol": "\n",
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading