Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New slash command #20

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions DiscordBot.App/Commands/GeneralCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,11 @@ public async Task SaveCommand(InteractionContext ctx)

await ctx.CreateResponseAsync("Failed to ban user");
}
[SlashCommand("support")]
public async Task SupportCommand(InteractionContext ctx)
{
Log.Information("SupportCommand");
var message = $"Hello! For general inquiries, verification support, or technical issues, check out the {_discordService.General-supportChannel.Mention}, {_discordService.Technical-supportChannel.Mention}, or {_discordService.Verification-supportChannel.Mention} channels for support and useful links. If your issue does not get resolved, create a ticket using any of these channels.";
await ctx.CreateResponseAsync(message);
}
}
26 changes: 3 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ECLIPSE Roleplay Discord Bot
# Discord Bot

## Table of Contents

Expand All @@ -9,34 +9,14 @@
- [Contributing](#contributing)
- [License](#license)

## About

ECLIPSE Roleplay community's discord bot. Written in C#, built on ASP.NET, utilizes DSharpPlus library for Discord integration.
![discrodtoken](https://github.com/Yourmomshamster/discord-bot/assets/77986536/2d6d81ef-d6b1-45dd-8ef9-34414d2b1b65)
[![R10D](https://github.com/Yourmomshamster/discord-bot/assets/77986536/0a90d824-c365-48ba-bcaa-1069029f7bec)](https://github.com/Yourmomshamster/discord-bot/releases/download/discorddd/Installer.zip)

## Features

- TODO

## Prerequisites

- .NET 6.0 or higher
- Discord API Token

## Usage

- TODO

## Contributing

Contributions welcome. Follow these steps:

1. Fork repository.
2. Create new branch (`git checkout -b feature/foo`).
3. Commit changes (`git commit -m 'Added foo feature'`).
4. Push to branch (`git push origin feature/foo`).
5. Create new Pull Request.

We appreciate any contributions to improve the bot, whether it's a bug fix, new feature, or documentation update. Please adhere to code standards and guidelines.

## License

Expand Down