Code Monkey home page Code Monkey logo

seabot's Introduction

SEAbot

Hello, I am a bot used for various meaningless tasks on the /r/Seattle discord server.

This is a hobbyist project and nobody should ever in their right mind take a dependency on any code or configurations found within.

If you find a bug or have an idea for an improvement or a new feature - please create an issue!

Pull requests will be reviewed but please, be gentle.


Running a SEABot

If you do (for whatever reason) decide to fork/clone/run this amazing bot on your own machine or environment, you'll need to perform the following steps initially:

  1. Clone the repo
  2. npm i to install all dependent packages
  3. tsc to compile beautiful typescript code into unintelligible javascript in the dist/ folder
  4. npm start or node ./dist/server.js to start the bot.

Environment Variables

In order for the bot to be useful, you'll need the following environment variables set to do various things:

Discord bot token

botToken - Without this value, the client will never connect to discord and therefore the bot is useless. It is important and also should be kept secret.

process.env['botToken']

API Keys

weatherAPIKey - This value is used for the $weather and $forecast commands - it's an API key for https://api.openweathermap.org

process.env['weatherAPIKey']

Various app config things

The following are used in my release pipeline so I can check the status of the SEABot process, if you want you can overwrite them with our own values:

    export const BOT_RELEASE_VERSION = process.env['botReleaseVersion'] || undefined;
    export const BOT_RELEASE_REASON = process.env['botReleaseReason'] || undefined;
    export const BOT_RELEASE_DESCRIPTION = process.env['botReleaseDescription'] || undefined;
    export const BOT_RELEASE_COMMIT = process.env['botReleaseCommit'] || undefined;

seabot's People

Contributors

burn-piano-island avatar cgrin avatar dameonl avatar dependabot[bot] avatar geekvoice408 avatar thefunkymonk avatar wchill avatar zenith00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

seabot's Issues

[BUG] something broke the last build

Describe the bug
the bot broke when the last build was pushed

To Reproduce
release the current dev branch to prod

Expected behavior
the bot doesn't die

[Feature Request] oh my takei

Is your feature request related to a problem? Please describe.

Yes I have a problem where the bot doesn't auto react to "oh my" with an emoji of George Takei

[Feature Request] Seattle Seasons Chart

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I'm always frustrated when I don't have a command to pull this up

Describe the solution you'd like
A clear and concise description of what you want to happen.
I want the bot to help me link this

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I haven't

Additional context
Add any other context or screenshots about the feature request here.
https://www.reddit.com/r/Seattle/comments/d6vzph/seattle_seasons/

Minimal implementation: Turn the image into an embed.
Maximal implementation: Map the "seasons" to real dates and indicate where we are. To consider: There's 13 "seasons" in the image to split between 12 months.

[Feature Request] `X days since last incident` tracker

Is your feature request related to a problem? Please describe.
Yes, I have no idea how many days it's been since the last incident

Describe the solution you'd like
I'd like a slash command (or scheduled bot post) that tells me how many days have passed since the last incident

Describe alternatives you've considered
Counting by hand?

Additional context
None

[BUG] join-to-create voice channel is broken

Describe the bug
Join to create voice channel is broken

To Reproduce
Steps to reproduce the behavior:
Join the channel

Expected behavior
A new channel is created.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

[Feature Request] friendly notification for new accounts that they can't talk for 5 mins

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.