Skip to content

brooksbecton/ItsWednesdayMyDudesDiscordBot

Repository files navigation

It's Wednesday My Dudes Discord Bot

Build Status codecov code style: prettier

Discord Bot that will tell a channel that it is Wednesday and will link a "It's Wednesday my dudes" meme

Add The ItsWednesdayMyDudes Bot to your server

Features

  • Listens for "my dude" and
    • "wednesday" and will tell you if it is Wednesday
    • "video" and will post a frog meme video
  • Will post that it is Wednesday on Wednesday

Examples

Checking if Wednesday

User "bob" Types: My dude, is it Wednesday?

Response: @bob, It is Wednesday my dude! eeeeeeeAAAAAhhhhhahahHAHahAHHAhAHHAhHAhAhHAhHHAAAAAAAAAA https://www.youtube.com/watch?v=fyJGKEswuSc

Asking for Wednesday Video

User "bob" Types: My dude let me get a video

Response: @bob, https://www.youtube.com/watch?v=szqNmefKXxc

Getting Started

Prerequisites

  • NodeJS

Installing

  1. Fork the Repo 🍴
  2. Clone down your fork
  3. Go to root project dir in command line
  4. Setup .env file
  5. run npm i
  6. run npm start

How Setup .env File

You will need an .env file in the root of the project with structure like

token="YOUR_TOKEN"
botname="YOUR_BOTS_NAME"
webhookUrl="YOUR_WEBHOOK_URL"
youtubeApiKey="YOUR_YOUTUBE_API_KEY"
Keys
Webhook
  1. How to Add a Webhook to Discord Server

  2. Once added your webhook should look like: https://discordapp.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN

  3. Add webhook URL to "webhookUrl"in the .env file

Running the tests

npm test - This will run the linter and the the tests

Notes

Timezone

NodeJS gets time from the server it is running on. So if you want an accurate Wednesday announcement, you must configure the server time to match the audience's timezone.

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

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

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

About

Bot that will tell a channel that it is Wednesday and will link a "It's Wednesday my dudes" meme 🐸 📅

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages