mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-05 13:36:30 +03:00
Prefixes are now taken from a single file
This commit is contained in:
parent
1258496697
commit
cec041f096
9 changed files with 65 additions and 52 deletions
|
@ -1,4 +1,4 @@
|
|||
using Discord;
|
||||
using Discord;
|
||||
using Discord.WebSocket;
|
||||
|
||||
namespace Boyfriend.Commands;
|
||||
|
@ -29,7 +29,7 @@ public sealed class BanCommand : ICommand {
|
|||
|
||||
var feedback = string.Format(Messages.FeedbackUserBanned, toBan.Mention,
|
||||
Utils.GetHumanizedTimeOffset(duration), Utils.Wrap(reason));
|
||||
cmd.Reply(feedback, ":hammer: ");
|
||||
cmd.Reply(feedback, Prefixes.Banned);
|
||||
cmd.Audit(feedback);
|
||||
|
||||
if (duration.TotalSeconds > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue