https://github.com/albandewilde/schrodinger
Schrödinger's cat's Discord bot
https://github.com/albandewilde/schrodinger
discord discord-bot discord-go discordgo
Last synced: 3 months ago
JSON representation
Schrödinger's cat's Discord bot
- Host: GitHub
- URL: https://github.com/albandewilde/schrodinger
- Owner: albandewilde
- License: mit
- Created: 2020-01-01T22:13:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-18T19:59:26.000Z (almost 5 years ago)
- Last Synced: 2025-02-21T08:06:04.868Z (3 months ago)
- Topics: discord, discord-bot, discord-go, discordgo
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Schrödinger
Schrödinger's cat's Discord bot## Presentation
Here is Mr.Schrödinger, may you can ask him if is cat is alive.
Here is the refecence: https://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat## Usage
To know if the cat is alive send "Is the cat alive ?".
If you got an answer, that mean the cat is alive otherwise (you don't have an answer) that mean the cat is dead.## Implementation
In the code, I just do a random between 0.0 and 1.0.
You have an answer if the result higher than 0.5 (the cat is alive).