diff --git a/Images/Example TrackingChannel Setup Command.png b/Images/Example TrackingChannel Setup Command.png
new file mode 100644
index 0000000..a2d1e00
Binary files /dev/null and b/Images/Example TrackingChannel Setup Command.png differ
diff --git a/UPBot Code/Commands/Game.cs b/UPBot Code/Commands/Game.cs
index 970aa4c..8cd41c3 100644
--- a/UPBot Code/Commands/Game.cs
+++ b/UPBot Code/Commands/Game.cs
@@ -56,7 +56,6 @@ public async Task RPSCommand(CommandContext ctx) {
int val = random.Next(0, 3);
while (ir != null) {
- ir.Handled = true;
await ctx.Channel.DeleteMessageAsync(msg);
if (ir.Id == "idrock") {
if(val == 0) {
diff --git a/UPBot Code/Commands/Version.cs b/UPBot Code/Commands/Version.cs
index e3e67b6..b2f308a 100644
--- a/UPBot Code/Commands/Version.cs
+++ b/UPBot Code/Commands/Version.cs
@@ -1,11 +1,9 @@
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
-using DSharpPlus.Entities;
-using System;
using System.Threading.Tasks;
///
-/// This command implements a WhoIs command.
-/// It gives info about a Discord User or yourself
+/// This command implements a Version command.
+/// Just to check the version of the bot
/// author: CPU
///
public class Version : BaseCommandModule {
@@ -13,15 +11,7 @@ public class Version : BaseCommandModule {
[Command("Version")]
[Description("Get version information about the bot.")]
public async Task VersionCommand(CommandContext ctx) {
- string authors = "<@!231753250687287296>, <@!411526180873961494>, <@!340661564556312591>, <@!486133356858310656>, <@!608994148313333763>";
- if (ctx.Guild != null && ctx.Guild.Id == 830900174553481236ul) {
- DiscordMember cpu = ctx.Guild.GetMemberAsync(231753250687287296ul).Result;
- DiscordMember duck = ctx.Guild.GetMemberAsync(411526180873961494ul).Result;
- DiscordMember eremiell = ctx.Guild.GetMemberAsync(340661564556312591ul).Result;
- DiscordMember slice = ctx.Guild.GetMemberAsync(486133356858310656ul).Result;
- DiscordMember jonathan = ctx.Guild.GetMemberAsync(608994148313333763ul).Result;
- authors = cpu.Mention + ", " + duck.Mention + ", " + eremiell.Mention + ", " + slice.Mention + ", " + jonathan.Mention;
- }
+ string authors = "**CPU**, **Duck**, **Eremiell**, **SlicEnDicE**, **J0nathan**";
await ctx.Message.RespondAsync(Utils.BuildEmbed("United Programming Bot",
"**Version**: " + Utils.GetVersion() + "\n\nContributors: " +
diff --git a/UPBot Code/Commands/WhoIs.cs b/UPBot Code/Commands/WhoIs.cs
index 7c0fd11..0617ea0 100644
--- a/UPBot Code/Commands/WhoIs.cs
+++ b/UPBot Code/Commands/WhoIs.cs
@@ -98,8 +98,8 @@ private Task GenerateWhoIs(CommandContext ctx, DiscordMember m) {
if (m.Permissions.HasFlag(DSharpPlus.Permissions.Speak)) perms += ", Speak";
if (m.Permissions.HasFlag(DSharpPlus.Permissions.ManageRoles)) perms += ", Manage Roles";
if (m.Permissions.HasFlag(DSharpPlus.Permissions.ManageEmojis)) perms += ", Manage Emojis";
- if (m.Permissions.HasFlag(DSharpPlus.Permissions.UseSlashCommands)) perms += ", Use Bot";
- if (m.Permissions.HasFlag(DSharpPlus.Permissions.UsePublicThreads)) perms += ", Use Threads";
+ if (m.Permissions.HasFlag(DSharpPlus.Permissions.UseApplicationCommands)) perms += ", Use Bot";
+ if (m.Permissions.HasFlag(DSharpPlus.Permissions.CreatePublicThreads)) perms += ", Use Threads";
if (perms.Length > 0) embed.AddField("Permissions", perms[2..], false);
return ctx.RespondAsync(embed.Build());
diff --git a/UPBot Code/Program.cs b/UPBot Code/Program.cs
index 04fa4a3..42a1f3a 100644
--- a/UPBot Code/Program.cs
+++ b/UPBot Code/Program.cs
@@ -10,6 +10,7 @@
namespace UPBot {
class Program {
+
static void Main(string[] args) {
if (args.Length >= 3) Utils.LogsFolder = args[2];
Utils.Log("Log Started. Woho.", null);
diff --git a/UPBot Code/Utils.cs b/UPBot Code/Utils.cs
index d76f685..7143585 100644
--- a/UPBot Code/Utils.cs
+++ b/UPBot Code/Utils.cs
@@ -31,7 +31,7 @@ public static class Utils
readonly private static Dictionary logs = new Dictionary();
public static string GetVersion() {
- return vmajor + "." + vminor + "." + vbuild + " - 2022/02/14";
+ return vmajor + "." + vminor + "." + vbuild + " - 2022/02/24";
}
public static DiscordClient GetClient() {
diff --git a/UPBot.csproj b/UPBot.csproj
index 7fb1f64..c171ffe 100644
--- a/UPBot.csproj
+++ b/UPBot.csproj
@@ -6,9 +6,9 @@
-
-
-
+
+
+