original_docstring: Converts ASCII to international morse code.
docstring: Converts ASCII to international morse code.
docstring_tokens: Converts ASCII to international morse code .
code: async def morse(ctx, *, msg : str):
      '''Converts ASCII to international morse code.'''
      with ctx.typing():
          result = ''
          for char in msg.upper():
              try:
                  result += ascii2morse[char]
              except:
                  result += '<?>'
              result += ' '
          embed = discord.Embed(title=f'Morse Code for {msg}', description=result, colour=green)
      await ctx.send(embed=embed)
code_tokens: async def morse ( ctx , * , msg : str ) : with ctx . typing ( ) : result = '' for char in msg . upper ( ) : try : result += ascii2morse [ char ] except : result += '<?>' result += ' ' embed = discord . Embed ( title = f'Morse Code for {msg}' , description = result , colour = green ) await ctx . send ( embed = embed )
short_docstring: Converts ASCII to international morse code.
short_docstring_tokens: Converts ASCII to international morse code .
comment: '''Converts ASCII to international morse code.'''