Skip to content

Commit

Permalink
Remove Character from prod, as it is not finished
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAunvik committed Apr 27, 2024
1 parent f6ee6e3 commit 66a886d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions CliveBot/Commands/Character.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,11 @@

namespace CliveBot.Bot.Commands
{
#if DEBUG

[Group("character", "Characters")]
public class CharacterCommand : InteractionModuleBase
public class CharacterCommand(ApplicationDbContext db) : InteractionModuleBase
{
private readonly ApplicationDbContext db;
private readonly IServiceProvider services;

public CharacterCommand(IServiceProvider provider, ApplicationDbContext _db)
{
services = provider;
db = _db;
}

public static EmbedBuilder CharacterEmbedBuild(Character character, string? locale = null)
{
var name = character.Name;
Expand Down Expand Up @@ -132,4 +125,5 @@ string query
});
}
}
#endif
}

0 comments on commit 66a886d

Please sign in to comment.