mirror of
https://github.com/Ryubing/RyujinxHelper.git
synced 2025-05-12 18:20:36 +01:00
rename
This commit is contained in:
parent
b03e5e662b
commit
6905f9a75d
200 changed files with 464 additions and 275 deletions
|
@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.28721.148
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volte", "src\Bot\Volte.csproj", "{5D4A85B0-1326-4CA2-A26C-D646D9579342}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RyuBot", "src\Bot\RyuBot.csproj", "{5D4A85B0-1326-4CA2-A26C-D646D9579342}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volte.UI", "src\UI\Volte.UI.csproj", "{BCD42127-89FE-44F3-AD2F-D224ED94B03A}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RyuBot.UI", "src\UI\RyuBot.UI.csproj", "{BCD42127-89FE-44F3-AD2F-D224ED94B03A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public sealed class CheckHierarchyAttribute : ParameterCheckAttribute
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public class EnsureNotSelfAttribute : ParameterCheckAttribute
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public sealed class RequireBotOwnerAttribute : CheckAttribute
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public sealed class RequireGuildAdminAttribute : CheckAttribute
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public sealed class RequireGuildModeratorAttribute : CheckAttribute
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public enum VolteUnixCommand
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public sealed class InjectTypeParserAttribute(bool overridePrimitive = false) : Attribute
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Net;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class AdminUtilityModule
|
||||
{
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Interactive;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class BotOwnerModule
|
||||
{
|
||||
[Command("Addons", "Addon")]
|
||||
[Description("Get an addon or list all addons currently initialized in this instance of Volte.")]
|
||||
[Description("Get an addon or list all addons currently initialized in this instance of RyuBot.")]
|
||||
public Task<ActionResult> AddonAsync([Remainder, Description("An addon's name.")]
|
||||
string listOrAddon = "list")
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class BotOwnerModule
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Globalization;
|
||||
using System.IO;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class BotOwnerModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class BotOwnerModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class BotOwnerModule
|
||||
{
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class BotOwnerModule
|
||||
{
|
||||
private const string EvalEnvSource = "https://github.com/Polyhaze/Volte/blob/v4/src/Bot/Core/Entities/EvalEnvironment.cs";
|
||||
private const string EvalEnvSource = "https://github.com/Polyhaze/RyuBot/blob/v4/src/Bot/Core/Entities/EvalEnvironment.cs";
|
||||
|
||||
[Command("Evaluate", "Eval", "Repl")]
|
||||
[Description($"Evaluates C# code. You have implicit access to the methods defined in [EvalEnvironment]({EvalEnvSource}).")]
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class BotOwnerModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
[RequireBotOwner]
|
||||
[Group("Set")]
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Helpers;
|
||||
using RyuBot.Interactive;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed class HelpModule : VolteModule
|
||||
{
|
||||
[Command("Help", "H")]
|
||||
[Description("Get help for Volte's many commands.")]
|
||||
[Description("Get help for RyuBot's many commands.")]
|
||||
public async Task<ActionResult> HelpAsync(
|
||||
[Remainder,
|
||||
Description(
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Interactive;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule : VolteModule
|
||||
{
|
||||
|
@ -21,7 +24,7 @@ public sealed partial class ModerationModule : VolteModule
|
|||
catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
return BadRequest(
|
||||
$"Messages bulk deleted must be younger than 14 days. {Format.Code("This is a Discord restriction, not a Volte one.")}");
|
||||
$"Messages bulk deleted must be younger than 14 days. {Format.Code("This is a Discord restriction, not a RyuBot one.")}");
|
||||
}
|
||||
|
||||
//-1 to show that the correct amount of messages were deleted.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class ModerationModule
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Interactive;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class ModerationModule : VolteModule
|
||||
{
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
using System.Web;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule : VolteModule
|
||||
{
|
||||
|
@ -153,12 +155,12 @@ public sealed partial class ModerationModule : VolteModule
|
|||
}
|
||||
|
||||
[Group("Settings", "Setting", "Options", "Option")]
|
||||
[Description("The set of commands used to modify how Volte functions in your guild.")]
|
||||
[Description("The set of commands used to modify how RyuBot functions in your guild.")]
|
||||
[RequireGuildAdmin]
|
||||
public partial class SettingsModule : VolteModule
|
||||
{
|
||||
public WelcomeService WelcomeService { get; set; }
|
||||
|
||||
[Command, DummyCommand, Description("The set of commands used to modify how Volte functions in your guild.")]
|
||||
[Command, DummyCommand, Description("The set of commands used to modify how RyuBot functions in your guild.")]
|
||||
public Task<ActionResult> BaseAsync() => None();
|
||||
}
|
|
@ -1,4 +1,7 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
[Group("Remind", "RemindMe", "Reminder")]
|
||||
public sealed class ReminderModule : VolteModule
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
[Group("SelfRole", "Sr")]
|
||||
public class SelfRoleModule : VolteModule
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*namespace Volte.Commands.Modules;
|
||||
/*namespace RyuBot.Commands.Modules;
|
||||
|
||||
public partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class SettingsModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
[Group("Starboard", "Sb")]
|
||||
[RequireGuildAdmin]
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
[Group("Tags")]
|
||||
public class TagModule : VolteModule
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*namespace Volte.Commands.Text.Modules;
|
||||
/*namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -6,20 +6,21 @@ using Discord;
|
|||
using Discord.WebSocket;
|
||||
using Gommon;
|
||||
using Qmmands;
|
||||
using Volte.Helpers;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
[Command("Info", "Uptime")]
|
||||
[Description("Provides basic information about this instance of Volte.")]
|
||||
[Description("Provides basic information about this instance of RyuBot.")]
|
||||
public async Task<ActionResult> InfoAsync()
|
||||
=> Ok(Context.CreateEmbedBuilder()
|
||||
.WithTitle($"About {Context.Client.CurrentUser.Username}#{Context.Client.CurrentUser.DiscriminatorValue}")
|
||||
.AddField("Successful Command Usages", CalledCommandsInfo.Successes + MessageService.UnsavedSuccessfulCommandCalls, true)
|
||||
.AddField("Failed Command Usages", CalledCommandsInfo.Failures + MessageService.UnsavedFailedCommandCalls, true)
|
||||
.AddField("Author", $"{await Context.Client.Rest.GetUserAsync(168548441939509248)}, contributors on {Format.Url("GitHub", "https://github.com/Polyhaze/Volte")}, and members of the Polyhaze organization.")
|
||||
.AddField("Author", $"{await Context.Client.Rest.GetUserAsync(168548441939509248)}, contributors on {Format.Url("GitHub", "https://github.com/Polyhaze/RyuBot")}, and members of the Polyhaze organization.")
|
||||
.AddField("Discord Application Created", (await Context.Client.GetApplicationInfoAsync()).CreatedAt.ToDiscordTimestamp(TimestampType.LongDateTime), true)
|
||||
.AddField("Uptime", Process.GetCurrentProcess().CalculateUptime(), true)
|
||||
.AddField("Language/Library", $"C# 12, Discord.Net {Version.DiscordNetVersion}")
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Helpers;
|
||||
using RyuBot.Interactive;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Interactive;
|
||||
|
||||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public partial class UtilityModule
|
||||
{
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
public sealed partial class UtilityModule
|
||||
{
|
||||
private const string BaseWikiUrl = "https://github.com/Polyhaze/Volte/wiki";
|
||||
private const string BaseWikiUrl = "https://github.com/Polyhaze/RyuBot/wiki";
|
||||
|
||||
private readonly Dictionary<string, Uri> _wikiPageUris = new()
|
||||
{
|
||||
{"Home", new Uri(BaseWikiUrl)},
|
||||
{"Features", new Uri($"{BaseWikiUrl}/Features")},
|
||||
{"Setting Volte Up", new Uri($"{BaseWikiUrl}/Setting-Volte-Up")},
|
||||
{"Setting RyuBot Up", new Uri($"{BaseWikiUrl}/Setting-RyuBot-Up")},
|
||||
{"Argument Cheatsheet", new Uri($"{BaseWikiUrl}/Argument-Cheatsheet")},
|
||||
{"Selfhost:Windows", new Uri($"{BaseWikiUrl}/Windows")},
|
||||
{"Selfhost:Linux", new Uri($"{BaseWikiUrl}/Linux")},
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace Volte.Commands.Text.Modules;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace RyuBot.Commands.Text.Modules;
|
||||
|
||||
[Group("Welcome", "W")]
|
||||
[RequireGuildAdmin]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser(true)]
|
||||
public sealed class BooleanParser : VolteTypeParser<bool>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class ChannelParser : VolteTypeParser<SocketTextChannel>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Globalization;
|
||||
|
||||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class ColorParser : VolteTypeParser<Color>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class EmoteParser : VolteTypeParser<Emote>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class GuildParser : VolteTypeParser<SocketGuild>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class RoleParser : VolteTypeParser<SocketRole>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class TagParser : VolteTypeParser<Tag>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public partial class TimeSpanParser : VolteTypeParser<TimeSpan>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class UnixParser : VolteTypeParser<Dictionary<string, string>>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
[InjectTypeParser]
|
||||
public sealed class SocketGuildUserParser : VolteTypeParser<SocketGuildUser>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public abstract class VolteTypeParser<T> : TypeParser<T>
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public abstract class ActionResult : CommandResult
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public class BadRequestResult : ActionResult
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Commands.Text;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public class NoResult : ActionResult
|
||||
{
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Interactive;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public class OkResult : ActionResult
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public class ResultCompletionData
|
||||
{
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace Volte.Commands.Text;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Helpers;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public sealed class VolteContext : CommandContext
|
||||
{
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
using Volte.Interactive;
|
||||
using RyuBot.Entities;
|
||||
using RyuBot.Interactive;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace Volte.Commands.Text;
|
||||
namespace RyuBot.Commands.Text;
|
||||
|
||||
public abstract class VolteModule : ModuleBase<VolteContext>
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System.Text.Json.Serialization;
|
||||
using RyuBot.Entities;
|
||||
|
||||
namespace Volte;
|
||||
namespace RyuBot;
|
||||
|
||||
public static class Config
|
||||
{
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// ReSharper disable UnusedMember.Global
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
namespace Volte.Entities;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public class AddonEnvironment
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System.IO;
|
||||
using RyuBot.Services;
|
||||
|
||||
namespace Volte.Entities;
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public class CalledCommandsInfo
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Volte.Entities;
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// Model that represents enabled/disabled features as defined in your config.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Entities;
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public delegate void DataEditor(GuildData data);
|
||||
public delegate void TagInitializer(Tag tag);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Entities;
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public class LogSources
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ public enum LogSource
|
|||
/// </summary>
|
||||
Gateway = 5,
|
||||
/// <summary>
|
||||
/// Indicates that this log message is from Volte itself.
|
||||
/// Indicates that this log message is from RyuBot itself.
|
||||
/// </summary>
|
||||
Volte = 6,
|
||||
/// <summary>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Volte.Entities;
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public enum ModActionType : uint
|
||||
{
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
using System.Collections;
|
||||
using RyuBot.Commands.Text;
|
||||
using RyuBot.Services;
|
||||
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
namespace Volte.Entities;
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public sealed class EvalEnvironment
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Entities;
|
||||
using RyuBot.Helpers;
|
||||
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
#nullable enable
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace Volte.Entities;
|
||||
using RyuBot.Commands.Text;
|
||||
|
||||
namespace RyuBot.Entities;
|
||||
|
||||
public sealed class CommandBadRequestEventArgs : CommandEventArgs
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue