Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Merge branch 'development' into main#123

Merged
PuneetGopinath merged 31 commits into
mainfrom
development
Jul 17, 2021
Merged

Merge branch 'development' into main#123
PuneetGopinath merged 31 commits into
mainfrom
development

Conversation

@PuneetGopinath

Copy link
Copy Markdown
Member

Checks

I have...

  • Read and understood the Contributing Guidelines
  • Updated any nessecary files such as the README.md and/or CHANGELOG.md.

Type of Pull request

  • Minor Change
    This Pull request doesn't break existing configuration.
  • Major Change
    This Pull request will break existing configuration.
  • Bug fix
    This Pull request will fix a (critical) bug.
  • Documentation
    This Pull request only changes documentation (README.md, CHANGELOG.md, etc.)
  • Other: __________

Description

Time to test, merge, and release new version!

Closes #

Puneet Gopinath and others added 19 commits July 12, 2021 13:54
* Merge branch 'development' into main (#90)

* Update Dockerfile

* Create CODEOWNERS

* Update docker-publish.yml

* Update and rename docker-publish.yml to ci.yml

* run npm i

* Update ci.yml

* Update ci.yml

* Update ci.yml

* fix(readme): Break out lines which (#89)

Which are required to be in next line
And minor updates to readme

* npm(deps): bump discord-player (#91)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 5.0.0-dev.m3 to 5.0.0-dev.29489940b64b555e2e791dcf0662bd2d93a22ef6.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/commits)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): run npm install

* npm(deps): bump discord-player (#96)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 5.0.0-dev.m3 to 5.0.0-dev.29489940b64b555e2e791dcf0662bd2d93a22ef6.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/commits)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): run npm install

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- refactor(version cmd): Use embeds for version cmd
- cmd: New cmd hastbin
- refactor: Use Embed instead of MessageEmbed
- cmds: New cmd tickle
- refactor(uptime cmd): less code, more style
- locales: Add datelaunched to misc.json
- feat: Show more info in suggest command
- fix(Dockerfile): use latest npm version
- locales: Add uptime to misc.json
- deps: Add moment and moment-duration-format
- feat: Show more info in suggest command
- fix(Dockerfile): use latest npm version
* fix(suggest cmd): The links were not shown properly

* chore: 🎨 format code

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(embed and locale loader): Embed class was not working and load misc in locale loader

* fix: Embed class

* chore: 🎨 format code

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: emoji in uptime cmd & remove footer

* changelog
* Merge branch 'development' into main (#90)

* Update Dockerfile

* Create CODEOWNERS

* Update docker-publish.yml

* Update and rename docker-publish.yml to ci.yml

* run npm i

* Update ci.yml

* Update ci.yml

* Update ci.yml

* fix(readme): Break out lines which (#89)

Which are required to be in next line
And minor updates to readme

* npm(deps): bump discord-player (#91)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 5.0.0-dev.m3 to 5.0.0-dev.29489940b64b555e2e791dcf0662bd2d93a22ef6.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/commits)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): run npm install

* npm(deps): bump discord-player (#96)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 5.0.0-dev.m3 to 5.0.0-dev.29489940b64b555e2e791dcf0662bd2d93a22ef6.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/commits)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): run npm install

* fix(deps): run npm install

* New Crowdin updates (#99)

* New translations categories.json (Romanian)

* New translations categories.json (Dutch)

* New translations categories.json (Portuguese, Brazilian)

* New translations categories.json (Vietnamese)

* New translations categories.json (English)

* New translations categories.json (Chinese Traditional)

* New translations categories.json (Chinese Simplified)

* New translations categories.json (Ukrainian)

* New translations categories.json (Turkish)

* New translations categories.json (Swedish)

* New translations categories.json (Serbian (Cyrillic))

* New translations categories.json (Russian)

* New translations categories.json (Portuguese)

* New translations categories.json (Polish)

* New translations categories.json (Norwegian)

* New translations categories.json (Korean)

* New translations categories.json (French)

* New translations categories.json (Japanese)

* New translations categories.json (Italian)

* New translations categories.json (Hungarian)

* New translations categories.json (Hebrew)

* New translations categories.json (Finnish)

* New translations categories.json (Greek)

* New translations categories.json (German)

* New translations categories.json (Danish)

* New translations categories.json (Czech)

* New translations categories.json (Catalan)

* New translations categories.json (Arabic)

* New translations categories.json (Afrikaans)

* New translations categories.json (Spanish)

* New translations categories.json (Hindi)

* Github Actions(deps): Bump docker/metadata-action from 3.3.0 to 3.4.0 (#101)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](docker/metadata-action@98669ae...f6efe56)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Github Actions(deps): Bump docker/build-push-action from 2.5.0 to 2.6.1 (#100)

* Add test (#103)

* deps: Add mocha & mocha-standard

* test: Add tests!!

* chore: 🎨 format code

* deps: Remove mocha-standard

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix (#105)

* Merge branch 'main' into development (#95)

* Merge branch 'development' into main (#90)

* Update Dockerfile

* Create CODEOWNERS

* Update docker-publish.yml

* Update and rename docker-publish.yml to ci.yml

* run npm i

* Update ci.yml

* Update ci.yml

* Update ci.yml

* fix(readme): Break out lines which (#89)

Which are required to be in next line
And minor updates to readme

* npm(deps): bump discord-player (#91)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 5.0.0-dev.m3 to 5.0.0-dev.29489940b64b555e2e791dcf0662bd2d93a22ef6.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/commits)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): run npm install

* npm(deps): bump discord-player (#96)

Bumps [discord-player](https://github.com/Androz2091/discord-player) from 5.0.0-dev.m3 to 5.0.0-dev.29489940b64b555e2e791dcf0662bd2d93a22ef6.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/commits)

---
updated-dependencies:
- dependency-name: discord-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(deps): run npm install

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Merge branch 'main' into development (#98)

* Dev (#102)

- refactor(version cmd): Use embeds for version cmd
- cmd: New cmd hastbin
- refactor: Use Embed instead of MessageEmbed
- cmds: New cmd tickle
- refactor(uptime cmd): less code, more style
- locales: Add datelaunched to misc.json
- feat: Show more info in suggest command
- fix(Dockerfile): use latest npm version
- locales: Add uptime to misc.json
- deps: Add moment and moment-duration-format
- feat: Show more info in suggest command
- fix(Dockerfile): use latest npm version

* Fix suggest cmd (#104)

* fix(suggest cmd): The links were not shown properly

* chore: 🎨 format code

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(embed and locale loader): Embed class was not working and load misc in locale loader

* fix: Embed class

* chore: 🎨 format code

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Revert "Fix (#105)" (#106)

This reverts commit d673216.

* cmd: New cmd loop

* refactor(music cmds)

* fix(loop cmd): SyntaxError

* chore: 🎨 format code

* fix: await is oy valid under async

* fix: Embed is not defined

* fix: Bot always send that it is rate limited

When error occures in playing music

* fix: Not shwing mode

* docs: commands

* chore: 🎨 format code

* deps: Reinstall to use latest commit

* fix(dockerignore): Ignore unwanted files

* deps: Reinstall deps to fix package-lock.json

* workflows(ci): Tests are added! Add Test in CI

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* docs: Improve contributing guidelines

* docs(contributing): Add how we use commit names
* fix(volume cmd): Add usage

* docs: changelog
* feat: Add src/customEmojis.json

* refactor(botinfo cmd)

* change: Use customEmojis in uptime cmd

* chore: 🎨 format code

* docs: Update contributing guidelines

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: To reduce caching, sweep out messafes older than 14 days

* docs: changelog

* fix: make an empty commit to run CI workflow again
* refactor: Rename src/functions/get.js -> src/helpers/Util.js

* fix: Handle errors while validating function

* fix(help cmd): Log debug as debug not log

* fix: Use servers const instead

* feat: New command listemojis

* chore: 🎨 format code

* docs: changelog

* fix(listemojis cmd)

* chore: 🎨 format code

* deps: reinstall to update lock file

* docs: Add `deps(<title>): <description>` to contributing guidelines

I forgot to add this

* fix(package scripts): looks like mocha won't exit automatically

We have to supply the `--exit` arg

* deps: Add bufferutil for much faster Websocket connection

* run install

* docs: commands

* docs: Add commit names section

- To contributing guidelines

* docs(contributing): Show reference

- From where these lines where took

In a html comment

* fix: Say user about forbidden to play that song

* feat: Add setDebug function & use debugLevel

* fix: SyntaxError

* chore: 🎨 format code

* refactor(setDebug func): return true;

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* tests: Add new tests

- Commands
    - should be defined in cmds.json
    - should have proper category name

Last time I had made a typo when typing category name for addemoji cmd
Theses tests will avoid those problems

* tests(commands): Fix test 3

Test 3: should have proper category name

Error: TypeError: cmdCats.has is not a function

* chore: 🎨 format code

* build: Add tests category

To release drafter

So that tests are in a separate category in release notes

* fix(workflow): release notes wasn't triggering

For development branch

* fix(config): Release drafter didn't ignore PRs

PRs which had `No-changelog` label wasn't ignored

* fix(config): release drafter

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* build: reinstall to update lock

* feat: Use embeds

for eval command

* chore: 🎨 format code

* fix(Dockerfile): Run npm update to install latest versions

Last time to discord-player wan't on the latest version

So Welcome-Bot(beta) failed to play the song

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@PuneetGopinath PuneetGopinath added No-changelog This issue/pr will not be added to the changelog Priority: high High priority for this issue/pr. Status: Ready This pr is ready to merge labels Jul 15, 2021
@PuneetGopinath

Copy link
Copy Markdown
Member Author

Never squash and merge this pr!!

PuneetGopinath added 2 commits July 15, 2021 16:15
@PuneetGopinath PuneetGopinath added Status: In progress This issue/pr is in progress and removed Status: Ready This pr is ready to merge labels Jul 15, 2021
@github-actions

Copy link
Copy Markdown
Contributor

The Pull request of @PuneetGopinath is no longer marked as Ready!

Maintainers should wait with merging the Pull request until it is marked as ready again.


This is an automated response created by a GitHub Action
Mentioning the bot won't have any effect!

@PuneetGopinath

PuneetGopinath commented Jul 15, 2021

Copy link
Copy Markdown
Member Author

Waiting for discordjs/discord.js#6114 to be merged
Merged

dependabot Bot and others added 4 commits July 15, 2021 16:44
…#124)

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](docker/metadata-action@f6efe56...8b842e7)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v3...v4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Move common code to a existing func clean
So switch to sendStatus
@PuneetGopinath

PuneetGopinath commented Jul 17, 2021

Copy link
Copy Markdown
Member Author

Need to fix errors in refactor/cmds branch.
Done!

* tests(Commands): Add new test

- should have only lowercase names and aliases

* feat: Add optionHandler

- This option handler, lets you to make an option required or optional
- Returns 2 functions in an object: required & optional

* docs: changelog & build: use shard.js for npm start script

- actually I shoudn't change the script, but for testing, lets start now itself

* feat: Add new cmd: `shards`

- Shows info about bot's shards

* chore: 🎨 format code

* fix(tests): Fix 1 minor typo

Change oy to only

* fix(function): createOptionHandler had a minor bug which is fixed now!

* deps: Add ascii-table

Will be used by shards command

* fix(function): skip array merging in createOptionHandler

* refactor(cmds): Change the whole structure of commands

- Also removes stopTyping and uses sendTyping instead of startTyping
discordjs/discord.js#6114

* fix(cmds): Fix SyntaxError & docs: commands

* chore: 🎨 format code

* fix: Small permissions related issue

* chore: 🎨 format code

* fix(cmds): Sometimes, I forget to remove usage in cmds when I copy paste

Removed in this commit

* fix(cmd): Remove an unwanted log I added in help cmd to debug

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@PuneetGopinath

Copy link
Copy Markdown
Member Author

@abhijoshi2k I will test.

@PuneetGopinath
PuneetGopinath merged commit 09033b0 into main Jul 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

No-changelog This issue/pr will not be added to the changelog Priority: high High priority for this issue/pr. Status: In progress This issue/pr is in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants