mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 01:12:33 -05:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1b6b5f6f9 | ||
|
|
e06b3fceb5 | ||
|
|
4628dd07e4 | ||
|
|
55a3d9b157 | ||
|
|
c70c1d97e5 | ||
|
|
da4e4d4ad0 | ||
|
|
3d9ee3f2b4 | ||
|
|
b9331ffa55 |
3
.github/workflows/publish_crowdin.yml
vendored
3
.github/workflows/publish_crowdin.yml
vendored
@@ -35,9 +35,6 @@ jobs:
|
||||
- name: Download translations
|
||||
run: |
|
||||
make download_translations
|
||||
- name: Remove files from PR which only have a date changed
|
||||
run: |
|
||||
git checkout HEAD -- $(git diff HEAD --numstat | awk 'BEGIN {ORS=" "} $1 == "1" && $2 == "1" && $3 ~ /.po$/ {print $3}')
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v2
|
||||
with:
|
||||
|
||||
@@ -1,5 +1,25 @@
|
||||
.. 3.3.x Changelogs
|
||||
|
||||
Redbot 3.3.5 (2020-04-09)
|
||||
=========================
|
||||
|
||||
| Thanks to all these amazing people that contributed to this release:
|
||||
| :ghuser:`jack1142`, :ghuser:`Kowlin`
|
||||
|
||||
End-user changelog
|
||||
------------------
|
||||
|
||||
Core Bot
|
||||
********
|
||||
|
||||
- "Outdated" field no longer shows in ``[p]info`` when Red is up-to-date (:issue:`3730`)
|
||||
|
||||
Alias
|
||||
*****
|
||||
|
||||
- Fixed regression in ``[p]alias add`` that caused it to reject commands containing arguments (:issue:`3734`)
|
||||
|
||||
|
||||
Redbot 3.3.4 (2020-04-05)
|
||||
=========================
|
||||
|
||||
@@ -409,4 +429,4 @@ Mod
|
||||
Permissions
|
||||
-----------
|
||||
|
||||
- Now has stronger enforcement of prioritizing botwide settings.
|
||||
- Now has stronger enforcement of prioritizing botwide settings.
|
||||
|
||||
@@ -191,7 +191,7 @@ def _update_event_loop_policy():
|
||||
_asyncio.set_event_loop_policy(_uvloop.EventLoopPolicy())
|
||||
|
||||
|
||||
__version__ = "3.3.4"
|
||||
__version__ = "3.3.5"
|
||||
version_info = VersionInfo.from_str(__version__)
|
||||
|
||||
# Filter fuzzywuzzy slow sequence matcher warning
|
||||
|
||||
@@ -280,7 +280,7 @@ class Alias(commands.Cog):
|
||||
)
|
||||
return
|
||||
|
||||
given_command_exists = self.bot.get_command(command) is not None
|
||||
given_command_exists = self.bot.get_command(command.split(maxsplit=1)[0]) is not None
|
||||
if not given_command_exists:
|
||||
await ctx.send(
|
||||
_("You attempted to create a new alias for a command that doesn't exist.")
|
||||
|
||||
@@ -350,15 +350,14 @@ class Core(commands.Cog, CoreLogic):
|
||||
embed.add_field(name="Python", value=python_version)
|
||||
embed.add_field(name="discord.py", value=dpy_version)
|
||||
embed.add_field(name=_("Red version"), value=red_version)
|
||||
if outdated is True:
|
||||
outdated_value = _("Yes, {version} is available").format(
|
||||
version=data["info"]["version"]
|
||||
)
|
||||
elif outdated is None:
|
||||
outdated_value = _("Checking for updates failed.")
|
||||
else:
|
||||
outdated_value = _("No")
|
||||
embed.add_field(name=_("Outdated"), value=outdated_value)
|
||||
if outdated in (True, None):
|
||||
if outdated is True:
|
||||
outdated_value = _("Yes, {version} is available.").format(
|
||||
version=data["info"]["version"]
|
||||
)
|
||||
else:
|
||||
outdated_value = _("Checking for updates failed.")
|
||||
embed.add_field(name=_("Outdated"), value=outdated_value)
|
||||
if custom_info:
|
||||
embed.add_field(name=_("About this instance"), value=custom_info, inline=False)
|
||||
embed.add_field(name=_("About Red"), value=about, inline=False)
|
||||
|
||||
Reference in New Issue
Block a user