Skip to main content

Bot logo

Project Title

Status Platform GitHub Issues GitHub Pull Requests License


🤖 Few lines describing what your bot does.

📝 Table of Contents

🧐 About

Write about 1-2 paragraphs describing the purpose of your bot.

🎥 Demo / Working

Working

💭 How it works

The bot first extracts the word from the comment and then fetches word definitions, part of speech, example and source from the Oxford Dictionary API.

If the word does not exist in the Oxford Dictionary, the Oxford API then returns a 404 response upon which the bot then tries to fetch results form the Urban Dictionary API.

The bot uses the Pushshift API to fetch comments, PRAW module to reply to comments and Heroku as a server.

The entire bot is written in Python 3.6

🎈 Usage

To use the bot, type:

!dict word

The first part, i.e. "!dict" is not case sensitive.

The bot will then give you the Oxford Dictionary (or Urban Dictionary; if the word does not exist in the Oxford Dictionary) definition of the word as a comment reply.

Example:

!dict what is love

Definition:

Baby, dont hurt me~ Dont hurt me~ no more.

Example:

Dude1: Bruh, what is love? Dude2: Baby, dont hurt me, dont hurt me- no more! Dude1: dafuq?

Source: https://www.urbandictionary.com/define.php?term=what%20is%20love


Beep boop. I am a bot. If there are any issues, contact my Master

Want to make a similar reddit bot? Check out: GitHub

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them.

Give examples

Installing

A step by step series of examples that tell you how to get a development env running.

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo.

🚀 Deploying your own bot

To see an example project on how to deploy your bot, please see my own configuration:

⛏️ Built Using

  • PRAW - Python Reddit API Wrapper
  • Heroku - SaaS hosting platform

✍️ Authors

See also the list of contributors who participated in this project.

🎉 Acknowledgements

  • Hat tip to anyone whose code was used
  • Inspiration
  • References

Metadata

Release files for pyspotify-client 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyspotify-client 0.0.1
File Size Uploaded
pyspotify-client-0.0.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyspotify-client 0.0.1
File Interpreter ABI Platform
pyspotify_client-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / pyspotify-client-0.0.1.tar.gz

Download URL pyspotify-client-0.0.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c1ce891bd1ca07c593f2c80e555ea8007d6486d62cc0dbfd57730948e21bbd2f
BLAKE2b-256 checksum
How to use checksums
65e2a679f205cbc8dba7385e61e70814269e3097e00732edf3b98dd2a29febcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.9

Release files / pyspotify_client-0.0.1-py3-none-any.whl

Download URL pyspotify_client-0.0.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
172adda1c07538de934a55bd1f3f7663b6a56d69489fd7dd551ea5e8b1afdbe3
BLAKE2b-256 checksum
How to use checksums
c855c1c75f0c121bf1562a240699807cece9d2d878c556be45e6ca0029ce2b17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page