Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
f496b63
Created tsconfig.json, converted index.js, testing in purpose.
Ayfri Sep 25, 2020
afba18a
Bumped version to '1.3-alpha'.
Ayfri Sep 25, 2020
f965575
Fixed version.
Ayfri Sep 25, 2020
683793c
Fixed version again.
Ayfri Sep 25, 2020
4a718ad
Fixed engines, main and added compile script in package.json.
Ayfri Dec 14, 2020
5105ba7
Updated dependencies.
Ayfri Dec 14, 2020
6030851
Finished converting Logger into ts.
Ayfri Dec 14, 2020
87bc664
Added some options to tsconfig.json.
Ayfri Dec 14, 2020
2dcab4a
Updated discord.js-better-embed dependency to 1.0.4.
Ayfri Dec 14, 2020
e6da55a
Converted to ts argError, now using BetterEmbed.
Ayfri Dec 14, 2020
d4b7725
Converted getThing to ts.
Ayfri Dec 14, 2020
54eee61
Converted command to ts.
Ayfri Dec 14, 2020
a517508
Converted CommandHandlerError to ts.
Ayfri Dec 14, 2020
eeb2287
Converted AdvancedClient to TS, fixed exports for other files.
Ayfri Dec 14, 2020
d31f66f
Converted CommandHandler to ts.
Ayfri Dec 14, 2020
d409e23
Fixed some exports.
Ayfri Dec 14, 2020
d4ea58b
Moved all files to dir src, fixed things in function getThing.
Ayfri Dec 14, 2020
cbf6d3e
Removed exporting BetterEmbed from index.ts.
Ayfri Dec 14, 2020
6e199eb
Moved index.ts to src.
Ayfri Dec 14, 2020
15eba80
Removed unused properties in tsconfig.json.
Ayfri Dec 14, 2020
1a52c67
Reorganized package.json, changed some values.
Ayfri Dec 14, 2020
b241c88
Removed some unused configuration properties for prettier.
Ayfri Dec 14, 2020
fd83add
Added types in package.json.
Ayfri Dec 14, 2020
62392a7
Prettified code.
Ayfri Dec 14, 2020
da15374
Removed some useless TSDoc and code.
Ayfri Dec 14, 2020
2131559
Added skipLibCheck property in tsconfig as it is crashing without.
Ayfri Dec 14, 2020
43df3b8
Bump version to 1.3.0-beta.1.
Ayfri Dec 14, 2020
7fff8c5
Added .npmignore.
Ayfri Dec 15, 2020
93f6315
Fixed exports.
Ayfri Dec 15, 2020
0a96d0c
Replaced PathLike by string.
Ayfri Dec 15, 2020
b469094
Fixed exception launched when not finding event.
Ayfri Dec 15, 2020
77d4352
EventsDir & CommandsDir don't throw error when dir doesn't exist anym…
Ayfri Dec 15, 2020
fc2d5bc
Owners & prefixes are now optionnal when creating CommandHandler.
Ayfri Dec 15, 2020
b27cf89
ClientOptions is now optionnal when launching CommandHandler.
Ayfri Dec 15, 2020
4e6755c
Updated discord.js-better-embed to @1.1.0.
Ayfri Dec 15, 2020
5ba4a9a
Fixed presentation.txt path.
Ayfri Dec 15, 2020
3fb2279
Removed unused type.
Ayfri Dec 15, 2020
306095e
Made handler readonly in AdvancedClient.
Ayfri Dec 15, 2020
778e2a4
Renamed Client.ts to AdvancedClient.ts.
Ayfri Dec 15, 2020
301228e
Made argError return the message, fixed sending embed.
Ayfri Dec 15, 2020
380112b
Added all visibility modifiers.
Ayfri Dec 15, 2020
e789da0
Removed weird invisible char in readme.
Ayfri Dec 17, 2020
06a771d
Updated typescript to @4.1.3.
Ayfri Dec 17, 2020
a9e00ef
Bump version to 1.3.0-beta.2.
Ayfri Dec 17, 2020
739761e
Bumped to beta 2.1.
Ayfri Dec 17, 2020
0e5d087
Fixed again presentation.txt filepath.
Ayfri Dec 17, 2020
beca84e
Removed duplicate text when errors occurs.
Ayfri Dec 17, 2020
88c8456
Now using fs.promises so dirs may not exist without sending an Error.
Ayfri Dec 17, 2020
6ed1e59
Now using fs.promises in CommandHandler.create.
Ayfri Dec 17, 2020
deafe31
Now using async in CommandHandler.create to avoid callback.
Ayfri Dec 17, 2020
5a6bedd
Replaced callback with async in launch method.
Ayfri Dec 17, 2020
493c0cf
Removed useless variable declaration.
Ayfri Dec 17, 2020
e9acdd9
Some refactorings.
Ayfri Dec 17, 2020
9208a1d
Now using interface to deleteMessage method.
Ayfri Dec 17, 2020
68167b3
Prettified code.
Ayfri Dec 17, 2020
a117883
Bump version to 1.3.0-beta.3.
Ayfri Dec 17, 2020
29a498c
Removed presentation.
Ayfri Dec 17, 2020
a0f5ee5
Added try catch when loading commands/events.
Ayfri Dec 17, 2020
db54490
Changed prettier script to not change dist.
Ayfri Dec 17, 2020
209e26e
Some refactorings.
Ayfri Dec 17, 2020
f468c49
Fixed getThing import in index.ts.
Ayfri Dec 17, 2020
c3e2485
Now using a real singleton for CommandHandler, fixing some weirds iss…
Ayfri Dec 17, 2020
cb1c4b8
Readded signature.
Ayfri Dec 17, 2020
754206d
Bump version to 1.3.0-beta.4.
Ayfri Dec 18, 2020
f3f26f3
Added default text showed in Logger.log.
Ayfri Dec 18, 2020
7385c18
Added DataType keys as string in getThing.
Ayfri Dec 18, 2020
875e80a
Added missing exports.
Ayfri Dec 18, 2020
854fd9f
Added exports from discord.js-better-embed.
Ayfri Dec 18, 2020
46c0968
Improved exports.
Ayfri Dec 18, 2020
1f76684
CommandsOptions have now optionnal properties.
Ayfri Dec 18, 2020
ef97529
Now using nullish coalescing operator instead of ternary conditions.
Ayfri Dec 18, 2020
3435d93
Removed unused default values to Command properties.
Ayfri Dec 18, 2020
9643362
RunFunction for Command is now custom.
Ayfri Dec 18, 2020
bafe9a6
Added error when loading commands/events.
Ayfri Dec 18, 2020
d8c1b16
Fixed using ESModules (default), fixed events.
Ayfri Dec 18, 2020
72a985c
Prettified code.
Ayfri Dec 18, 2020
fc27b58
Fixed names and colors in Logger methods.
Ayfri Dec 18, 2020
be3c2f1
Added chalk dependencies.
Ayfri Dec 18, 2020
b06f424
Now using chalk for colors.
Ayfri Dec 19, 2020
9ad7892
Fixed prettier script.
Ayfri Dec 19, 2020
df130fa
Prettified code.
Ayfri Dec 19, 2020
d7511b5
Removed unnecessary await.
Ayfri Dec 19, 2020
acae62b
Added rootDir in tsconfig.json.
Ayfri Dec 19, 2020
471e430
Moved @types dependencies into devDependencies.
Ayfri Dec 19, 2020
d1f878b
Removed unnecessary parentheses.
Ayfri Dec 19, 2020
3eb8667
Revert "Removed unnecessary parentheses."
Ayfri Dec 19, 2020
5de6698
Revert "Revert "Removed unnecessary parentheses.""
Ayfri Dec 19, 2020
536a2d8
Prettified code again.
Ayfri Dec 19, 2020
d4dc71c
Fixed exports having .js extension.
Ayfri Dec 19, 2020
41ba42e
Removed useless async modifier for deleteMessage.
Ayfri Dec 19, 2020
24c5163
Merge branch 'package' into typescript
Ayfri Dec 19, 2020
95caee8
Reorganized imports.
Ayfri Dec 19, 2020
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
242 changes: 121 additions & 121 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,121 +1,121 @@
### Node template
# Logs
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/
examples/Simple Bot/node_modules
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# 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
.parcel-cache

# Next.js build output
.next
out

# 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

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### JetBrains
.idea
### Node template
# Logs
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/
examples/Simple Bot/node_modules
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# 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
.parcel-cache
# Next.js build output
.next
out
# 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
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# JetBrains
.idea
6 changes: 3 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Github
src
.idea
.git
.github

# DeepScan
.dcignore
Loading