Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jul0p/discord-bot-csharp
https://github.com/jul0p/discord-bot-csharp
csharp discord-bot dotnet dsharpplus
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jul0p/discord-bot-csharp
- Owner: Jul0P
- Created: 2024-09-17T20:27:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-23T21:59:48.000Z (4 months ago)
- Last Synced: 2024-10-24T21:46:29.920Z (4 months ago)
- Topics: csharp, discord-bot, dotnet, dsharpplus
- Language: C#
- Homepage:
- Size: 1.16 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# discord-bot-csharp
`discord-bot-csharp` is a Discord bot written in C# using the DSharpPlus library. It helps manage assignments, delete messages, and much more.
## Features
- Add an assignment
- Delete an assignment
- Update an assignment
- Delete messages
- Display bot status
- Command documentation## Prerequisites
- [.NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0)
- [Discord Developer Portal](https://discord.com/developers/applications) to obtain a bot token## Installation
1. Clone the repository :
```sh
git clone https://github.com/Jul0P/discord-bot-csharp.git
cd discord-bot-csharp
```2. Install dependencies :
```sh
dotnet restore
```3. Rename the `.env.example` file to `.env` :
```sh
cp .env.example .env
```4. Open the `.env` file and add your bot token :
```properties
TOKEN=your-discord-bot-token
```## Usage
1. Build and run the project :
```sh
dotnet run
```2. Invite the bot to your Discord server using the invitation link generated from the [Discord Developer Portal](https://discord.com/developers/applications)