Skip to content

silvia-odwyer/YourZenBot

Repository files navigation

YourZenBot

A basic Discord bot that simulates a Magic 8 Ball, and provides small pieces of wisdom when you ask for them.

Using the !fortune command to get a small prediction on what's lying in the stars

What Is YourZenBot?

YourZenBot is a Discord bot written using the Discord.py Library that can send you clues on what your future holds, answer some yes-or-no style questions, and give pieces of wisdom.

Do you want to inject some extra positivity into your Discord life or gaming?

Feeling stuck on a certain level in a game?

Just ask YourZenBot for advice! This basic Discord bot can be both your confidant and your Magic 8 ball, as it divulges truths and pieces of wisdom to you. While its wisdom is simple, it's often the simple things in life that pack the greatest punch.

Commands

!fortune -> Get a prediction on what the next few days could hold.

!future -> Same as the !fortune command.

!question -> The bot will prompt you for a YES or NO-style question. Ask your question and get an answer.

!wisewords -> Get a little piece of wisdom for the day.

!day -> Tells you if today is a National Day or if the day is commemorating anything special. This can be useful for sparking conversations on a server!

Examples Of YourZenBot In Action

You can use !fortune to get a small prediction on what tomorrow holds.

Using the !fortune command to get a small prediction on what's lying in the stars

Or if you want to ask the bot a question, just type !question

Using the !question command to ask the bot a yes-or-no style question

If you type !wisewords, YourZenBot will output a piece of wisdom to you, such as: "Don't worry about tomorrow! :) It will sort out itself."

Using the !wisewords command to get a small piece of wisdom

How To Use YourZenBot

What do you need?

  1. Python
  2. Discord.py Library
  3. A Discord Client ID

This bot uses the Discord.py Library.

  1. So firstly, you need to download the Discord.py Library by going to any Python terminal, and typing the following: python3 -m pip install -U discord.py

  2. Go to: https://discordapp.com/developers/applications/me Click on "Make App". Then once the page has loaded, click on the option that allows you to make a bot. Call the bot "YourZenBot".

  3. Invite the bot you created to your server by replacing INSERT_YOUR_CLIENT_ID with your bot's client ID: https://discordapp.com/oauth2/authorize?&client_id=INSERT_YOUR_CLIENT_ID_HERE&scope=bot&permissions=0

  4. Then, go to: https://discordapp.com/developers/applications/me

Click on "Make App". Once the page has loaded, click on the option that allows you to make a bot. Call the bot "YourZenBot".

  1. Invite the bot you created to your server by replacing INSERT_YOUR_CLIENT_ID_HERE with your bot's client ID: https://discordapp.com/oauth2/authorize?&client_id=INSERT_YOUR_CLIENT_ID_HERE&scope=bot&permissions=0

  2. Then, download my YourZenBot.py file, and paste your TOKEN ID into the last line of my YourZenBot.py file.

  3. Open a terminal and run the Python file.

  4. Open Discord and add the bot to your server. You're now good to go! :)

Still Not Working?

If you want a tutorial with screenshots or additional support with generating a bot, just follow the steps in the following tutorial, which I highly recommend: https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token

Quick Note

[WORK IN PROGRESS] -- This is still in development. The bot will always work in its current state, but just keep in mind that new features are continually being added to the bot. So make sure to drop by whenever you can!

Disclaimer

This is for entertainment purposes only. That is obvious.

About

A basic Discord bot that sends you proverbs when you ask for them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages