Coder Social home page Coder Social logo

interrrp / snowie Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 684 KB

☃️ A fun Christmas-themed Discord bot

Home Page: https://snowie-six.vercel.app

TypeScript 81.70% CSS 7.72% JavaScript 10.57%
bot discord discord-bot http-interactions nextjs christmas snow ts typescript

snowie's Introduction

A fun Christmas-themed Discord bot



Overview

Snowie is a Christmas-themed Discord bot. That is, most of its commands are related to the holiday, and therefore is a fun bot to have in your server!

Features

Commands

You may find a full list of commands on the website.

Self-hosting

Snowie is a different kind of Discord bot. That is, it doesn't use any of the "traditional" bot frameworks, such as Discord.js or discord.py. Instead, it uses Next.js, a React framework, to power its commands. This means that you can self-host Snowie on Vercel, or any other hosting platform that supports Next.js.

On Vercel

  1. 🍴 Fork this repository

  2. 🔼 Create a new Vercel project

  3. 🔗 Link your forked repository to the project

  4. 🗄️ Create a database on your Vercel project (Storage tab)

  5. 🤖 Create a Discord bot on the Discord Developer Portal

  6. 📝 Create a .env file with the following contents:

DISCORD_APPLICATION_ID=<your Discord bot's application ID>
DISCORD_TOKEN=<your Discord bot's token>
DISCORD_PUBLIC_KEY=<your Discord bot's public key>

# These values are given in the database tab of your Vercel project (.env)
POSTGRES_PRISMA_URL=<your Vercel project's database URL>
POSTGRES_URL_NON_PRISMA=<your Vercel project's database URL>

...and fill out the values accordingly.

  1. 🔗 Set the interactions URL to https://<your Vercel project's URL>/interactions on the Discord Developer Portal

  2. 🍾 Invite your bot (see URL generator tab) to your server

  3. 🎉 You're done!

On other platforms

  1. 🍴 Fork this repository
  2. 📦 Build the project (npm run build)
  3. ??? It's a Next.js project

Contributing

Contributions are welcome! Please make sure to format your code with Prettier and lint it with ESLint before submitting a pull request.

License

This project is licensed under the MIT License.

snowie's People

Contributors

interrrp avatar

Stargazers

nnlychai avatar

Watchers

 avatar

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.