original_docstring: Returns a list of snippets that are currently set.
docstring: Returns a list of snippets that are currently set.
docstring_tokens: Returns a list of snippets that are currently set .
code: async def _snippets(self, ctx):
          """Returns a list of snippets that are currently set."""
          em = discord.Embed(color=discord.Color.green())
          em.set_author(name='Snippets', icon_url=ctx.guild.icon_url)
          first_line = 'Here is a list of snippets that are currently configured. '
          if not self.snippets:
              first_line = 'You dont have any snippets at the moment. '
          em.description =  first_line + 'You can add snippets by adding config variables in the form' \
                           ' **`SNIPPET_{NAME}`**'
          for name, value in self.snippets.items():
              em.add_field(name=name, value=value, inline=False)
          await ctx.send(embed=em)
code_tokens: async def _snippets ( self , ctx ) : em = discord . Embed ( color = discord . Color . green ( ) ) em . set_author ( name = 'Snippets' , icon_url = ctx . guild . icon_url ) first_line = 'Here is a list of snippets that are currently configured. ' if not self . snippets : first_line = 'You dont have any snippets at the moment. ' em . description = first_line + 'You can add snippets by adding config variables in the form' ' **`SNIPPET_{NAME}`**' for name , value in self . snippets . items ( ) : em . add_field ( name = name , value = value , inline = False ) await ctx . send ( embed = em )
short_docstring: Returns a list of snippets that are currently set.
short_docstring_tokens: Returns a list of snippets that are currently set .
comment: """Returns a list of snippets that are currently set."""