1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-30 19:19:54 +03:00

Unhardcoded bot mention + some small fixes (#7)

Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Macintxsh 2022-12-05 17:04:27 +03:00 committed by GitHub
parent c02f503557
commit 1258496697
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 467 additions and 365 deletions

View file

@ -1,4 +1,4 @@
using System.Text;
using System.Text;
using Boyfriend.Commands;
using Discord;
using Discord.Commands;
@ -13,7 +13,7 @@ public sealed class CommandProcessor {
private const string NoAccess = ":no_entry_sign: ";
private const string CantInteract = ":vertical_traffic_light: ";
private const string Mention = "<@855023234407333888>";
private static readonly string Mention = $"<@{Boyfriend.Client.CurrentUser.Id}>";
public static readonly ICommand[] Commands = {
new BanCommand(), new ClearCommand(), new HelpCommand(),