Commit Graph
71 Commits
Author SHA1 Message Date
MarlinBotCode ceb8bd1b59 Bump Version 2020-08-31 22:58:14 +00:00
Roxedus d33bf1f723 Fix linter errors 2020-08-27 20:33:27 +02:00
Roxedus f5b6a17d9d Rename module 2020-06-14 17:47:21 +02:00
Roxedus 83611d9f1a Update requirements, adapt changes 2020-06-14 15:41:07 +02:00
Roxedus 3b7038954d isort and flake fixes 2020-06-14 15:30:56 +02:00
Even 4061045421 Update to reflect changes in lavalink.py 2020-02-03 00:43:01 +01:00
Roxedus f05825087a Bump version 2020-01-22 16:22:31 +01:00
Even c1eeb2425b Fixes #19 and #10
Check that only valid locales can be set through commands. Use default locale if the current locale is invalid.
2020-01-20 21:57:54 +01:00
Even a1d4f81f59 Code cleanup 2019-10-20 01:32:51 +02:00
Even bf4d20990a Initial selector implementation. Requires d.py 1.3 2019-10-02 22:46:36 +02:00
roxedus ab214d7428 Flake8 compliance 2019-07-31 19:07:04 +02:00
roxedus 3d251d4633 Added thumbnail-support for more services 2019-07-27 06:03:07 +02:00
Roxedus cc4bf974c1 Feature/new docker (#17)
* Run arguments

Introduced self.bot.datafolder

* Improved container

Utilizing the new run-args

* Better tagging

* Consistency
2019-07-07 21:41:21 +02:00
Roxedus f898dd7582 PEP8
A whole FUCK TON of PEP8 improvements
2019-07-03 19:26:48 +02:00
Roxedus d41ca00277 Introduced bot version 2019-07-01 14:19:34 +02:00
si0972 63061d4876 Logger tweaks
Set encoding, decreased logfile max-size
2019-06-03 20:35:22 +02:00
Ev-1 a87e3e0140 Am idiot, move on. 2019-04-12 01:12:09 +02:00
Ev-1 f0e9ef1336 mkdir → mkdirs. Allow for sub folders 2019-04-12 00:58:11 +02:00
Ev-1 b2e6f10bdf Logging (#4)
* Logging!

Added logging structure, and example in music coc

* Improves logger a smidge

Now custom paths \o/

* More thinkering
2019-04-12 00:24:02 +02:00
Ev-1 07bc4582db Not show help on check failure. 2019-03-22 00:52:30 +01:00
Ev-1 57ca137b91 switch to pyyaml's safeLoader 2019-03-22 00:06:07 +01:00
Roxedus dc4838af07 Better async performance?
and some pep8
2019-03-20 17:21:24 +01:00
Roxedus f6f0301cf3 from_data to from_dict
https://github.com/Rapptz/discord.py/commit/73aca4d4d36e728e906fb6c6bccaaf7060c1b83d
2019-03-20 16:38:58 +01:00
Ev-1 9ff61f8d89 Lots of minor fixes. Added fallback for missing help translation
- Command help fallback.
- fixed arguments appearing as a part of the command in help messages.
- Help page indicator for cogs fixed.
- Support for more than just prefix in page indicator.
- Fixed wrong user in user showing when displaying userqueue.
- Show prefix in help message if mention was used.
- Fixed mention as prefix not working in DMs.
2019-03-04 20:06:11 +01:00
Ev-1 27fa140dd5 Custom localized help formatting 2019-03-03 14:12:15 +01:00
Ev-1 6f6d751c83 Localized per guild aliases for subcommands 2019-02-22 17:11:19 +01:00
Ev-1 4a374bcd2a Aliases for subcommands started 2019-02-21 14:48:19 +01:00
Ev-1 ad407d63ba localizer in context, locale as yaml instead of json. 2019-02-17 12:12:05 +01:00
Ev-1 963f0bf5f5 Locale specific command aliases 2019-02-17 12:11:18 +01:00
Ev-1 51e49d3109 Better time formatting, særskrivingsfeil in nn_no and nb_no 2019-02-10 14:32:43 +01:00
Ev-1 a0db7558e4 Max track length settings.
Supports dynamic and static max length.
2019-02-09 13:52:32 +01:00
Ev-1 0c50922618 Implemented custom DJ roles 2019-02-07 23:44:11 +01:00
Ev-1 19d9339af4 Update guild name in set() 2019-02-03 20:27:46 +01:00
Ev-1 553c71ebeb Store guild settings as yaml instead of json 2019-02-03 20:23:44 +01:00
Ev-1 2cc4d9771a Use yaml for settings. 2019-02-03 19:40:49 +01:00
Ev-1 e8225d42f0 More guild settings. 2019-02-03 14:06:40 +01:00
Ev-1 7b2941ae2b Settings now has a single set/get instead of one set/get per setting. 2019-02-02 14:17:51 +01:00
Ev-1 0cb298cd8b Queue translations 2019-02-01 11:47:23 +01:00
unknown 621e6ce74f Merge branch 'dev' into feature/translations 2019-01-28 09:25:51 +01:00
unknown b101faca5f Created a localizer wrapper
Added prefix as an optional argument to the format methods of localizer
Added the option to specify kvpairs for formating, all kvpairs has to
have a _ as prefix
Updated music.py to use the localizer wrapper
2019-01-28 01:37:08 +01:00
Ev-1 1d9d716d9a Improved listener logic. 2019-01-27 14:02:30 +01:00
unknown c9869d9bbe Added command for setting server localization and a command for reloading localization files 2019-01-26 15:41:14 +01:00
unknown a0a8c96ab4 Added config path for localization folder 2019-01-26 13:57:24 +01:00
unknown 64824f1187 Added setting for localization
Added translation code for music, bot info and one other bot command
2019-01-26 13:52:57 +01:00
unknown b5b84c4c45 utf-8 support 2019-01-26 13:28:16 +01:00
unknown d3b05a1478 Added method for getting available localizations 2019-01-26 13:28:15 +01:00
unknown 2ced7905ea Added formating options for strings, dictionaries and embeds 2019-01-26 13:28:15 +01:00
unknown 5a299b6c59 Created a utility module dict_utils, containing a SafeDict and a
dictionary flattener

Created a localization module localizer.py that can load localization
files and return various translations of strings
2019-01-26 13:28:15 +01:00
Ev-1 2073c6b167 Various fixes
position convertion error, volume limiter simplified, use name if nick isn't set.
2019-01-24 22:24:34 +01:00
Ev-1 9e1c5d720c Added history, Improved global_to_local position conversion 2019-01-24 20:31:44 +01:00