Skip to content

Add Source Application/backend type to $Global:PoshbotContext #104

@ChrisLGardner

Description

@ChrisLGardner

Based on #103 and #84 you can get a bunch of information about the PoshBot context for use in commands being run by the bot. Now that there is support for Teams and Slack and other backends on the way it would be useful to include which application or backend the message came from.

The first use case I've noticed this would be good for is plugins like xkcd that can return images or links, Slack will auto convert/expand these but Teams won't. Being able to return some markdown for Teams to work with when it's the source of the message would be very helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions