Closed csandfeld closed 5 years ago
Adds a -Random switch parameter to Get-Dilbert. When called with -Random it will return a random comic
When called with the -Random parameter, a random date between now and '1989-04-16' is used when fetching the comit
Adds the functionality requested in #2
Not required at all, but nice to be able to get a random comic, similar to what can be done with the XKCD plugin
Simple usage test performed running PoshBot 0.11.5 in PowerShell 5.1 on Windows 10, hooked up to a Slack channel.
Sorry about the confusion with the other PR. This one should be good. Please approve or reject as you see fit :-)
Looks good @csandfeld. Thanks!
Adds a -Random switch parameter to Get-Dilbert. When called with -Random it will return a random comic
Description
When called with the -Random parameter, a random date between now and '1989-04-16' is used when fetching the comit
Related Issue
Adds the functionality requested in #2
Motivation and Context
Not required at all, but nice to be able to get a random comic, similar to what can be done with the XKCD plugin
How Has This Been Tested?
Simple usage test performed running PoshBot 0.11.5 in PowerShell 5.1 on Windows 10, hooked up to a Slack channel.
Screenshots (if appropriate):
Types of changes
Checklist: