mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 09:56:05 -05:00
Grammar fixes (#4500)
* Grammar fixes * More changes * Grammar * Error grammar * Spelling * Grammar * REsolves grammar * grammar * grammar * grammar * grammar * grammar * grammar * grammar * grammar * "commited" > "committed" * apostrophe * more grammar * grammar * `funtion` to `function` * grammar in alias cog * grammar in cleanup cog * grammar in customcom cog * grammar in mod cog * grammar in reports cog * fix grammar in streams cog * missing apostrophe * grammar fix in trivia cog Co-authored-by: Jyu Viole Grace <24418520+thisisjvgrace@users.noreply.github.com> Co-authored-by: Jyu Viole Grace <thisisjvgrace@users.noreply.github.com>
This commit is contained in:
@@ -726,7 +726,7 @@ class Streams(commands.Cog):
|
||||
content = alert_msg # Stop bad things from happening here...
|
||||
content = content.replace(
|
||||
"{stream.name}", str(stream.name)
|
||||
) # Backwards compatability
|
||||
) # Backwards compatibility
|
||||
content = content.replace("{stream}", str(stream.name))
|
||||
content = content.replace("{mention}", mention_str)
|
||||
else:
|
||||
@@ -744,7 +744,7 @@ class Streams(commands.Cog):
|
||||
content = alert_msg # Stop bad things from happening here...
|
||||
content = content.replace(
|
||||
"{stream.name}", str(stream.name)
|
||||
) # Backwards compatability
|
||||
) # Backwards compatibility
|
||||
content = content.replace("{stream}", str(stream.name))
|
||||
else:
|
||||
content = _("{stream} is live!").format(
|
||||
|
||||
@@ -139,7 +139,7 @@ class YoutubeStream(Stream):
|
||||
log.debug(f"livestreams for {self.name}: {self.livestreams}")
|
||||
log.debug(f"not_livestreams for {self.name}: {self.not_livestreams}")
|
||||
# This is technically redundant since we have the
|
||||
# info from the RSS ... but incase you dont wanna deal with fully rewritting the
|
||||
# info from the RSS ... but incase you don't wanna deal with fully rewritting the
|
||||
# code for this part, as this is only a 2 quota query.
|
||||
if self.livestreams:
|
||||
params = {"key": self._token["api_key"], "id": self.livestreams[-1], "part": "snippet"}
|
||||
|
||||
Reference in New Issue
Block a user