Skip to content

This Python script generates a Chuck Norris joke and personalizes it with a random name from a list. The joke is then sent to a Microsoft Teams channel via a webhook.

Notifications You must be signed in to change notification settings

JCPetrelli/Chuck-Norris-Jokes-for-MS-Teams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Chuck Norris Joke Generator

This Python script generates a Chuck Norris joke and personalizes it with a random name from a list. The joke is then sent to a Microsoft Teams channel via a webhook.

Requirements

  • Python 3
  • requests
  • json
  • random
  • re
  • pymsteams

Installation

To install the dependencies, run the following command:

pip install requests json random re pymsteams

Usage

Customization

You can add or remove names from the list_of_names list on line 15 to personalize the script. The frequency of the script can be changed by scheduling it in crontab.

Disclaimer

I am not responsible for the inappropriate use of the jokes generated by this script. Please use it at your own discretion and make sure to follow the guidelines and policies of your organization or platform.

Credits

About

This Python script generates a Chuck Norris joke and personalizes it with a random name from a list. The joke is then sent to a Microsoft Teams channel via a webhook.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages