Repository: Cog-Creators/Red-DiscordBot

Issue:
[Core] Bot naming in set commands. 
Currently we have the ability to be able to change the name under help using [p]set description due to licenseinfo command being added. 

There is some commands under set that uses Red when it refers to the bot but the newly added description command uses bot. Question is if the doc string for set and all subcommands that use Red should be changed to follow bot description for uniform naming or just be renamed to bot. 
![Screenshot_20200121-172727](https://user-images.githubusercontent.com/1307729/72823344-d7f0a780-3c73-11ea-9d02-834af8a1469a.jpg)

 


Discussion:
If the `[botname]` replacement that was supposed to be added by #3063 is ever added in another PR, we could consider using that in these places.
That replacement was enabled as part of #3339 

+1 from me on these strings being updated with the exception of where "Red" refers to the project and the sing command, where it refers to the character the bot is named after.

Resolving patch:
diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py
--- a/redbot/core/core_commands.py
+++ b/redbot/core/core_commands.py
@@ -358,7 +358,7 @@ async def info(self, ctx: commands.Context):
 
     @commands.command()
     async def uptime(self, ctx: commands.Context):
-        """Shows Red's uptime"""
+        """Shows [botname]'s uptime"""
         since = ctx.bot.uptime.strftime("%Y-%m-%d %H:%M:%S")
         delta = datetime.datetime.utcnow() - self.bot.uptime
         uptime_str = humanize_timedelta(timedelta=delta) or _("Less than one second")
@@ -471,7 +471,7 @@ async def traceback(self, ctx: commands.Context, public: bool = False):
     @commands.command()
     @commands.check(CoreLogic._can_get_invite_url)
     async def invite(self, ctx):
-        """Show's Red's invite url"""
+        """Show's [botname]'s invite url"""
         try:
             await ctx.author.send(await self._invite_url())
         except discord.errors.Forbidden:
@@ -834,7 +834,7 @@ async def _restart(self, ctx: commands.Context, silently: bool = False):
 
     @commands.group(name="set")
     async def _set(self, ctx: commands.Context):
-        """Changes Red's settings"""
+        """Changes [botname]'s settings"""
         if ctx.invoked_subcommand is None:
             if ctx.guild:
                 guild = ctx.guild
@@ -1020,7 +1020,7 @@ async def colour(self, ctx: commands.Context, *, colour: discord.Colour = None):
     @_set.command()
     @checks.is_owner()
     async def avatar(self, ctx: commands.Context, url: str):
-        """Sets Red's avatar"""
+        """Sets [botname]'s avatar"""
         async with aiohttp.ClientSession() as session:
             async with session.get(url) as r:
                 data = await r.read()
@@ -1044,7 +1044,7 @@ async def avatar(self, ctx: commands.Context, url: str):
     @checks.bot_in_a_guild()
     @checks.is_owner()
     async def _game(self, ctx: commands.Context, *, game: str = None):
-        """Sets Red's playing status"""
+        """Sets [botname]'s playing status"""
 
         if game:
             game = discord.Game(name=game)
@@ -1058,7 +1058,7 @@ async def _game(self, ctx: commands.Context, *, game: str = None):
     @checks.bot_in_a_guild()
     @checks.is_owner()
     async def _listening(self, ctx: commands.Context, *, listening: str = None):
-        """Sets Red's listening status"""
+        """Sets [botname]'s listening status"""
 
         status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online
         if listening:
@@ -1072,7 +1072,7 @@ async def _listening(self, ctx: commands.Context, *, listening: str = None):
     @checks.bot_in_a_guild()
     @checks.is_owner()
     async def _watching(self, ctx: commands.Context, *, watching: str = None):
-        """Sets Red's watching status"""
+        """Sets [botname]'s watching status"""
 
         status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else discord.Status.online
         if watching:
@@ -1086,7 +1086,7 @@ async def _watching(self, ctx: commands.Context, *, watching: str = None):
     @checks.bot_in_a_guild()
     @checks.is_owner()
     async def status(self, ctx: commands.Context, *, status: str):
-        """Sets Red's status
+        """Sets [botname]'s status
 
         Available statuses:
             online
@@ -1115,7 +1115,7 @@ async def status(self, ctx: commands.Context, *, status: str):
     @checks.bot_in_a_guild()
     @checks.is_owner()
     async def stream(self, ctx: commands.Context, streamer=None, *, stream_title=None):
-        """Sets Red's streaming status
+        """Sets [botname]'s streaming status
         Leaving both streamer and stream_title empty will clear it."""
 
         status = ctx.bot.guilds[0].me.status if len(ctx.bot.guilds) > 0 else None
@@ -1136,7 +1136,7 @@ async def stream(self, ctx: commands.Context, streamer=None, *, stream_title=Non
     @_set.command(name="username", aliases=["name"])
     @checks.is_owner()
     async def _username(self, ctx: commands.Context, *, username: str):
-        """Sets Red's username"""
+        """Sets [botname]'s username"""
         try:
             await self._name(name=username)
         except discord.HTTPException:
@@ -1155,7 +1155,7 @@ async def _username(self, ctx: commands.Context, *, username: str):
     @checks.admin()
     @commands.guild_only()
     async def _nickname(self, ctx: commands.Context, *, nickname: str = None):
-        """Sets Red's nickname"""
+        """Sets [botname]'s nickname"""
         try:
             await ctx.guild.me.edit(nick=nickname)
         except discord.Forbidden:
@@ -1166,7 +1166,7 @@ async def _nickname(self, ctx: commands.Context, *, nickname: str = None):
     @_set.command(aliases=["prefixes"])
     @checks.is_owner()
     async def prefix(self, ctx: commands.Context, *prefixes: str):
-        """Sets Red's global prefix(es)"""
+        """Sets [botname]'s global prefix(es)"""
         if not prefixes:
             await ctx.send_help()
             return
@@ -1177,7 +1177,7 @@ async def prefix(self, ctx: commands.Context, *prefixes: str):
     @checks.admin()
     @commands.guild_only()
     async def serverprefix(self, ctx: commands.Context, *prefixes: str):
-        """Sets Red's server prefix(es)"""
+        """Sets [botname]'s server prefix(es)"""
         if not prefixes:
             await ctx.bot._prefix_cache.set_prefixes(guild=ctx.guild, prefixes=[])
             await ctx.send(_("Guild prefixes have been reset."))


Test patch: