* [V3 Image] actually check if a client id is set before making request
* Clarify imgurcreds docstring + drop guild_only from [p]imgur
* Fix the actual problem (bad urls)
* needs to be params not data
* [V3 Audio] Bump timeout connecting to Lavalink
Lavalink server can take 20-35 seconds to start, bumped to 50 seconds for good measure.
* Update audio.py
Added proper timeout
* Update __init__.py
Removed old timeout
* [V3 CogManagerUI] implement text-only support in [p]cogs
* Change page length to 1800 + workaround for pages starting with delim
* [V3 Core] text mode support for [p]contact and [p]dm
* Implement text-only support in modlog and fix everything that broke because of it
* Fix modlog stuff in filter too
* Fix tests
* Implement optional embed support in [p]help
* move to .format
* [V3 Instance setup] import backup support for instances using Mongo
* remove_instance is now a coroutine + remove NIE
* move Mongo import down
* move another import
* [V3] Allow load, unload and reload to deal with multiple packages
This PR allows multiple packages to be loaded, unloaded or reloaded with the one command, the packages are delimited by the space character as suggested by Will
This is just the functionality, I'm sure the code could be better
* introduced helper function for getting package load strings
* missed characters
* forgotten import 👀
Forgot to include the import `inline` method from chat_formatting
* [V3 Core] add settings for whether to use embeds or not
* Implement commands to toggle embed settings
* Add a function to context for finding whether to use embeds or not
* Hide [p]embedset for now
* Move embed_requested to bot
* Add a simple helper in context
* [V3 Streams] fix community alerts
* drop unneeded parentheses + delete messages when removing from cache
* move to one embed for a community
* fix adding image to embed
* Remove unneeded params
* Really helps to point to the right place
* drop the game, move channel name+link to value
* Use stream title in embeds
* Increase number of streams to grab to 100
* filter out streams with existing individual alerts in the channel
* need channel id, not stream id in filtering function
* sample from the list
* we only want to break out if the alert is a TwitchStream alert
* drop off sending the mentions if there are none
* [V3 Audio] Update audio for Red-Lavalink
* Update requirements for new library
* Fix logic for connect time storage for audiostats
Only store time when connecting to the voice channel.
* [V3 Economy] implement suggestions from #1371
* Fix a typo
* Add functions for getting leaderboard and leaderboard position
* Use the new functions to get leaderboard position and leaderboard (overrides https://github.com/Cog-Creators/Red-DiscordBot/pull/1435)
* Actually implement showing only guild members on leaderboard when bank is global
* get_leaderboard_position needs to be awaited
* For global bank, pass None for guild to get_leaderboard when trying to find position
* Remove some unneeded code
* Wrong index...
* Combine 3 messages into 1
* Fix guild leaderboard while bank is global
* add missing parentheses
* Modify the leaderboard formatting
* More work on leaderboard formatting
* no subtraction
* [V3 Instance Setup] start work on storage swapping
* This should do the trick for Mongo -> JSON
* Fix typo
* Fix a few more typos
* resolve the data path
* Upsert the imported data
* need a list of the documents
* to_list is a coro
* [V3 Cleanup] refactor to consolidate duplicate code
* [V3 Cleanup] make the prompting function a staticmethod
* Drop continuing message + add punctuation to docstrings
Help didn't account for docstrings passing length limits which I noticed a while ago and as noticed again when Palm forgot a dual newline in a command docstring.
This PR sees to fix this by enforcing length limits on description, field names and field values
* Revert "[V3 Core] Encoding issue fix (#1365)"
This reverts commit f6903cf5820ec93833aced058622cb2f235ac22b.
* Don't let the system encoding screw with things,
specify opens as happening with utf-8 encoding
(cherry picked from commit c10e4dddca32a7a74978f2938359be8a65e7e40f)