We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Example backend references the Connection parameter in Connect and Disconnect (e.g. https://github.com/poshbotio/PoshBot.Example.Backend/blob/master/PoshBot.Example.Backend/Classes/ExampleBackend.ps1#L15), however the Connection is never set during initialisation.
Connection
Perhaps a better example would be to create the relevant connection object as there is already a ExampleConnection class.
e.g.
# Constructor ExampleBackend ([string]$Token) { # Implement any needed initialization steps # Example connection settings $conn = [ExampleConnection]::New() $this.Connection = $conn }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Example backend references the
Connection
parameter in Connect and Disconnect (e.g. https://github.com/poshbotio/PoshBot.Example.Backend/blob/master/PoshBot.Example.Backend/Classes/ExampleBackend.ps1#L15), however the Connection is never set during initialisation.Perhaps a better example would be to create the relevant connection object as there is already a ExampleConnection class.
e.g.
The text was updated successfully, but these errors were encountered: