Commit graph

207 commits

Author SHA1 Message Date
af9e48a8eb Version 2.0.0 2023-05-28 16:06:21 +02:00
bbdf359dd7 Improve discord subcommand descriptions 2023-01-26 18:43:30 +01:00
2d5182f840 Remove commented code 2023-01-26 18:43:30 +01:00
c19a1d8653 Improve structure subcommands utils 2023-01-26 18:43:30 +01:00
672abc44bd More refactoring 2023-01-26 18:43:30 +01:00
deepsource-autofix[bot]
61f7cf8c65 Format code with prettier 2023-01-21 19:09:23 +01:00
6b1eb44fad improve user experience 2023-01-21 19:09:23 +01:00
d19a3af6a3 fix issue #588 2023-01-21 19:09:23 +01:00
96cb38464a refactor: 🧑‍💻 improve developer experience 2022-12-25 16:53:30 +01:00
3b0bde3cc5 refactor: 🚸 refactor config credits
Refactored and improved UX for /config credits
2022-12-20 09:33:19 +01:00
e6c3e6cfc4 refactor: 🧑‍💻 refactor config cpgg
Refactored and improved UX for /config cpgg
2022-12-20 09:21:59 +01:00
61eaf84dc7 refactor: 🧑‍💻 refactor config audits
Refactored and improved UX for the /config audits command
2022-12-20 09:21:59 +01:00
109b89c820 fix: 🗃️ Perform migrations from older versions
This is my first customized migration script, I hope it works as intended.

This may result in a database loss, please perform backups before proceeding, it should do migrate if everything works as intended
2022-12-19 20:44:17 +01:00
258e15c45d perf: 🗃️ seperate configs in database 2022-12-19 20:44:17 +01:00
3c079943b0 refactor: 🧑‍💻 modules are called subcommands and groups
It makes more sense to use subcommands and groups as names instead of modules
2022-12-19 20:44:17 +01:00
be99b4cf62
fix: 🚑 Remove failing code 2022-12-13 17:30:54 +01:00
f022632de4 refactor: ⚰️ Fixed some code smells
Fixed some code smells from https://deepsource.io/gh/ZynerOrg/xyter/run/8058c521-9330-4c14-94b2-0c3a7d9d824b/javascript/
2022-12-13 17:25:54 +01:00
696f6c746a build: 💚 Fixed missing variable
Missing client in about command made build job fail
2022-12-13 17:01:52 +01:00
73dd735930 refactor: ♻️ Fix code smells 2022-12-13 15:33:35 +01:00
555b97d2c5 refactor: ♻️ Fix more code smells
I have fixed some more code smells
2022-12-13 14:51:50 +01:00
0f8ea8ad2b
refactor: ♻️ Fixed more code smells
I have fixed more code smells
2022-12-13 14:27:00 +01:00
c6d6547881 refactor: ⚰️ Fixed code smells
Fixed some more code smells
2022-12-13 14:21:35 +01:00
89c7fe952b
refactor: ⚰️ Fixed some code smells
Fixed some code smells from https://deepsource.io/gh/ZynerOrg/xyter/run/8058c521-9330-4c14-94b2-0c3a7d9d824b/javascript/
2022-12-13 14:16:41 +01:00
b2e4c05906
Merge branch 'dev' into main 2022-12-13 14:01:35 +01:00
6fb0c6db1b
Update index.ts 2022-12-12 12:23:23 +01:00
7398223b53
chore(ux): 🚸 Improved /credits gift
I improved UX with better messages for /credits gift
2022-12-04 19:05:18 +01:00
7b34763660
v1.1.0 (#508)
* ci: 💚 remove arm64 build (#497) (#498)

I had to remove arm64 platform from the images since prisma client do not seem to support arm64 yet

* User Experience Improvements (#507)

* ci: 💚 remove arm64 build (#497)

I had to remove arm64 platform from the images since prisma client do not seem to support arm64 yet

* Update dependency prettier to v2.8.0 (#502)

* fix: 📦 add missing package prisma

* ci: 💚 remove arm64 build (#497) (#498) (#499)

I had to remove arm64 platform from the images since prisma client do not seem to support arm64 yet

* Update Dockerfile

* Update schema.prisma

* Configure Renovate (#500)

* Add renovate.json

* Format code with prettier

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Update dependency prettier to v2.8.0

Co-authored-by: Vermium Sifell <vermium@zyner.org>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Update dependency @types/uuid to v9 (#503)

* fix: 📦 add missing package prisma

* ci: 💚 remove arm64 build (#497) (#498) (#499)

I had to remove arm64 platform from the images since prisma client do not seem to support arm64 yet

* Update Dockerfile

* Update schema.prisma

* Configure Renovate (#500)

* Add renovate.json

* Format code with prettier

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Fix invite URL (#504)

* Update dependency @types/uuid to v9

Co-authored-by: Vermium Sifell <vermium@zyner.org>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>

* Update dependency lint-staged to v13.0.4 (#501)

* fix: 📦 add missing package prisma

* ci: 💚 remove arm64 build (#497) (#498) (#499)

I had to remove arm64 platform from the images since prisma client do not seem to support arm64 yet

* Update Dockerfile

* Update schema.prisma

* Configure Renovate (#500)

* Add renovate.json

* Format code with prettier

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Fix invite URL (#504)

* Update dependency lint-staged to v13.0.4

Co-authored-by: Vermium Sifell <vermium@zyner.org>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>

* It's all about User Experience (#505)

* chore(ux): 🚸 Improved credits balance messages

Improved how messages is written by using "you" form and make it less cluttered

* feat(ux): 🚸 Added version to utility stats

Added a running version field to utility stats to show hosters and their users if they support commands that may is too new for their running version

* chore(nodejs): 🔖 change version to v1.1.0

This is to make sure that package.json has corrcet version tagged inside of it

* chore(ux): 🚸 updated "on cooldown" message

Makes more sense to talk in a more positive tone than a negative tone

* style(ux): 🚚 utility => utils

Renaming utility category to utils makes it easier for users to retype commands

* chore(ux): 🚸 Improved utils about

"/utils about" now shows information about the current bot instance, such as uptime, total users and guilds and version

Removed information about Xyter in the bot. Instead users are expected to go to out documentation to learn more

* chore(ux): 🚸 Improved /utils avatar

Improved messages for /utils avatar and added a link for people to know that they could download the image

* refactor(ux): 🚸 Removed /utils ping

Removed /utils ping since /utils about now includes latency related information

Merged /utils ping into /utils about

* refactor(ux): 🚸 Removed /utils stats

Removed /utils stats since now /utils about includes information about bot instance

Merged /utils stats into /utils about

* chore(ux): 🚸 Improved /fun meme

Improved UX for /fun meme and added a link button for viewing the post

* chore(ux): 🚸 /reputation view => /reputation check and improved UX

Renamed /reputation view to /reputation check as it makes more sense, also improved messages for better user experience

Moved /reputation view to /reputation check

* chore(ux): 🚸 Moved /reputation give => /reputation repute and improved UX

/reputation repute makes more sense than /reputation give and I also updated messages to be more user engaging

Moved /reputation give to /reputation repute

* chore(ux): 🚸 Improved error messages

I changed so description would be the error message instead of the error object. I also updated the title and added a report problem button that links to the official discord server

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Kreusada <67752638+Kreusada@users.noreply.github.com>
2022-12-04 17:48:25 +01:00
deepsource-autofix[bot]
070cedb451
Format code with prettier (#489)
This commit fixes the style issues introduced in 502f8b1 according to the output
from prettier.

Details: https://deepsource.io/gh/ZynerOrg/xyter/transform/2d6f5e66-ae8b-4261-92a6-688077649213/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2022-11-04 13:53:39 +01:00
dbf4471ced 📦 Removed unused and updated packages 2022-11-01 18:54:16 +01:00
c8fb975623
♻️ replaced * cooldown functions with 1 middleware 2022-10-23 23:22:13 +02:00
976e8e7fdc
🚚 one file per credit transaction type 2022-10-23 23:07:54 +02:00
d624c62669
♻️ Give credits helper 2022-10-23 22:32:54 +02:00
8804a83149
♻️ Counters Module 2022-10-23 12:36:15 +02:00
599a5b0c64
🚚 move transferCredits to export transfer 2022-10-22 17:12:31 +02:00
6f3bd4e828
Merge branch 'dev-2022.11.01' into 438-bug-credits-gift-value-overflow-when-gifting-more-than-2147483662 2022-10-22 16:28:07 +02:00
3551412be3
🐛 limited max value to 100.000.000 2022-10-22 16:27:01 +02:00
364f07dd7c
💡 Add comment to credit modules 2022-10-22 16:12:02 +02:00
a9fd50f84e
♻️ Credits module 2022-10-22 16:08:24 +02:00
3deec31b86 🚨 Fixed some JS-D1001 2022-10-21 20:00:25 +02:00
a510ca7513 🚨 Fixed some JS-C1003 2022-10-21 19:56:23 +02:00
3e5cbeb237 🚨 Fixed some JS-0116 2022-10-21 19:53:47 +02:00
89b67906ec ⚰️ JS-0356 fixed 2022-10-21 19:50:24 +02:00
23e4834836 🥅 Do not catch 0 2022-10-21 19:30:25 +02:00
8898959c84 🚀 Bot is fully migrated over to Prisma 2022-10-21 17:36:34 +02:00
5c97c21e2a 🎨 Utility Command is now using guard classes 2022-10-21 16:44:41 +02:00
0816d0abe2 🎨 Shop Command is now using guard classes 2022-10-21 16:42:15 +02:00
6589ac3ba3 🎨 Reputation Command is now using guard classes 2022-10-21 16:38:43 +02:00
db9c05c2e9 🎨 Moderation Command is now using guard classes 2022-10-21 16:35:18 +02:00
4606392189 🎨 Manage Command is now using guard classes 2022-10-21 16:33:49 +02:00
cb19e0f788 🎨 Fun Command is now using guard classes 2022-10-21 16:33:31 +02:00