Use the guild language at the dashboard (only @ manager)
Please describe the changes this pull request makes and why it should be merged: This will fix the issue where it was looking to locale of the user instead of the guilds set language. I believe this will be better in general and will be more userfriendly. I was re-writing the code for the dashboard and thought better PR this to here 👍
Status:
- [x] Code changes have been tested
- [x] Code changes work without errors
Content of the pull request:
-
[ ] This pull request changes the bot
- [ ] This pull request includes breaking changes for the bot
- [ ] This pull request includes new command(s) for the bot
-
[x] This pull request changes the dashboard
-
[ ] This pull request only includes non-code changes, like changes to templates, README.md, languages, etc.
Example:
The below log is checking for the req.translate before changing it (before it was tr-TR after change it goes to en-EN and vs from en-EN to tr-TR see second gif for visual example)
Ignore the dashboard lay-out it is custom made but the code is same
