Partial stuff
This commit is contained in:
1 parent
c8095f3ba6
commit
cbf88055d3
6 files changed
+48
-3
No files matched your search
@@ -20,6 +20,7 @@ namespace StarsiegeBot
|
||||
[GroupCommand]
|
||||
public async Task ListGroups(CommandContext ctx)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("add")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
@@ -50,6 +51,7 @@ namespace StarsiegeBot
|
||||
[Description("The role to delete.")] DiscordRole role,
|
||||
[Description("The group to remove the role from. If left blank, will remove from all groups."), RemainingText] string group = null)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
// Verify role is in a group.
|
||||
// Verify group selected exists.
|
||||
// If group null, remove from all groups?
|
||||
@@ -58,6 +60,7 @@ namespace StarsiegeBot
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task EditRole(CommandContext ctx, DiscordRole role, int newPrice = 0, [RemainingText] string newGroup = null)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
private DiscordEmbedBuilder StartEmbed(string desc)
|
||||
{
|
||||
|
||||
@@ -20,21 +20,25 @@ namespace StarsiegeBot
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task ListLevels(CommandContext ctx)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("AddLevel"), Aliases("al")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task AddLevel(CommandContext ctx, int newLevelGroup)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("DeleteLevel"), Aliases("dl")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task DeleteLevel(CommandContext ctx, int oldLevelGroup)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("edit")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task EditLevel(CommandContext ctx, int oldLeve, int newLevel)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,21 +20,25 @@ namespace StarsiegeBot
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task EditRole(CommandContext ctx, int oldLevel, int newLevel, DiscordRole role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("edit")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task EditRole(CommandContext ctx, int newLevel, [RemainingText] string role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("remove")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task RemoveRole(CommandContext ctx, DiscordRole role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("remove")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task RemoveRole(CommandContext ctx, [RemainingText] string roleName)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,21 +20,25 @@ namespace StarsiegeBot
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task JoinSelfRole(CommandContext ctx, DiscordRole role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("join")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task JoinSelfRole(CommandContext ctx, [RemainingText] string role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("leave")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task LeaveSelfRole(CommandContext ctx, DiscordRole role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("leave")]
|
||||
[Description("Work in progress. Does nothing yet.")]
|
||||
public async Task LeaveSelfRole(CommandContext ctx, [RemainingText] string role)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
private bool VerifiedRole(DiscordGuild guild, DiscordRole role)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user