An open API service indexing awesome lists of open source software.

https://github.com/interrrp/snowie

☃️ A fun Christmas-themed Discord bot
https://github.com/interrrp/snowie

bot christmas discord discord-bot http-interactions nextjs snow ts typescript

Last synced: about 2 months ago
JSON representation

☃️ A fun Christmas-themed Discord bot

Awesome Lists containing this project

README

        

☃️ Snowie



A fun Christmas-themed Discord bot




Hosted on Vercel


MIT license


Made with TypeScript



# 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

- A lot of fun commands
- Good-looking website made with [Next.js](https://next.js.org) and
[shadcn/ui](https://ui.shadcn.com)

# Commands

You may find a full list of commands on the
[website](https://snowie-six.vercel.app/commands).

# 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](https://discord.js.org) or
[discord.py](https://discordpy.readthedocs.io/en/stable). Instead, it uses
[Next.js](https://nextjs.org), a [React](https://react.dev) 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](https://discord.com/developers/applications)

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

```env
DISCORD_APPLICATION_ID=
DISCORD_TOKEN=
DISCORD_PUBLIC_KEY=

# These values are given in the database tab of your Vercel project (.env)
POSTGRES_PRISMA_URL=
POSTGRES_URL_NON_PRISMA=
```

...and fill out the values accordingly.

7. 🔗 Set the interactions URL to `https:///interactions` on the Discord Developer Portal

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

9. 🎉 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](https://prettier.io) and lint it with [ESLint](https://eslint.org)
before submitting a pull request.

# License

This project is licensed under the [MIT
License](https://opensource.org/licenses/MIT).