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

https://github.com/zobweyt/giveaways

An app for hosting fair and reliable giveaways at your discord (https://discord.com)
https://github.com/zobweyt/giveaways

Last synced: 2 months ago
JSON representation

An app for hosting fair and reliable giveaways at your discord (https://discord.com)

Awesome Lists containing this project

README

        



App icon


Giveaways


An app for hosting fair and reliable giveaways at your server.



Discord

Dependencies
Status

## πŸ—οΈ Features
* Host unlimited giveaways at your discord servers.
* Manually end giveaways via a [message command](https://discord.com/developers/docs/tutorials/upgrading-to-application-commands#message-commands).

## πŸ—ΊοΈ Roadmap

To see the current and future tasks for this project, please navigate to the [projects](https://github.com/zobweyt/Giveaways/projects) tab.

## πŸ“¦ Personal usage

To start, open a command prompt and follow these instructions:

### Step 1 β€” Get the app

Clone this repository to your machine, open it in your editor, and navigate to the startup project:

```sh
git clone https://github.com/zobweyt/Giveaways.git
cd ./src/Giveaways
```

### Step 2 β€” Configure the environment

We are using the [options pattern](https://learn.microsoft.com/aspnet/core/fundamentals/configuration/options) for typed access to groups of [related settings](./src/Giveaways/Common/Options). You should configure the [`appsettings.json`](./src/Giveaways/appsettings.json) file or manage [user secrets](https://learn.microsoft.com/aspnet/core/security/app-secrets) via [CLI](https://learn.microsoft.com/dotnet/core/tools):

```sh
dotnet user-secrets set
```

> [!NOTE]
> Pending database migrations are applied automatically [before startup](./src/Giveaways/Program.cs#L49) and an informational [message](./src/Giveaways/Extensions/HostExtensions.cs#L29) is logged.

### Step 3 β€” Run the app

To run the bot, just execute the following command:

```sh
dotnet watch
```

The setup is done. Enjoy using the app! πŸŽ‰

> [!WARNING]
> Instead of using the `dotnet run` in production, create a deployment using the `dotnet publish` command and [deploy](https://docs.discordnet.dev/guides/deployment/deployment) the output.

## πŸš€ Contributing

To contribute to this project, please read the [`CONTRIBUTING.md`](.github/CONTRIBUTING.md) file. It provides details on our code of conduct and the process for submitting pull requests.

## ❀️ Acknowledgments

See the [contributors](https://github.com/zobweyt/Giveaways/contributors) who participated in this project and the [dependencies](https://github.com/zobweyt/Giveaways/network/dependencies) used.

## πŸ“œ License

This project is licensed under the **MIT License** β€” see the [`LICENSE.md`](LICENSE.md) file for details.