converted tabs to spaces & updated gitignore

This commit is contained in:
2026-02-27 16:51:04 +01:00
parent 4c4ff1379b
commit fcf5ffad3a
7 changed files with 79 additions and 78 deletions
+6 -6
View File
@@ -3,9 +3,9 @@ use crate::{Context, Error, db_cmds::{add_server, reddit_channel, wwrps_channel}
#[derive(poise::ChoiceParameter, PartialEq)]
pub enum Subcommands {
AddServer,
RedditChannel,
WWRPSChannel
AddServer,
RedditChannel,
WWRPSChannel
}
@@ -15,7 +15,7 @@ pub enum Subcommands {
category = "db",
rename = "database",
owners_only,
default_member_permissions = "ADMINISTRATOR",
default_member_permissions = "ADMINISTRATOR",
required_bot_permissions = "SEND_MESSAGES | VIEW_CHANNEL"
)]
/// Various debug utilities
@@ -26,8 +26,8 @@ pub async fn cmd(
{
match subcommand {
Subcommands::AddServer => add_server::cmd(ctx).await?,
Subcommands::RedditChannel => reddit_channel::cmd(ctx).await?,
Subcommands::WWRPSChannel => wwrps_channel::cmd(ctx).await?,
Subcommands::RedditChannel => reddit_channel::cmd(ctx).await?,
Subcommands::WWRPSChannel => wwrps_channel::cmd(ctx).await?,
//_ => return Ok(())
}