def getAuthorAndName(ctx):
    """
    Takes the context variable from the calling function and returns the author
    object and the author display name, formatted.
    @param ctx the context passed to the calling function
    @return author the author object
    @return authorName the display name of the author
    """
    author = ctx.message.author
    authorName = str(author.display_name).split("#")[0]
    return author, authorName