I apparently updated this file?

This commit is contained in:
Toastie (DCS Team) 2024-09-20 19:27:30 +12:00
parent e896c14303
commit 9c94a66323
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -44,13 +44,13 @@ public sealed partial class BotConfig : ICloneable<BotConfig>
or all owners? (this might cause the bot to lag if there's a lot of owners specified) or all owners? (this might cause the bot to lag if there's a lot of owners specified)
""")] """)]
public bool ForwardToAllOwners { get; set; } public bool ForwardToAllOwners { get; set; }
[Comment(""" [Comment("""
Any messages sent by users in Bot's DM to be forwarded to the specified channel. Any messages sent by users in Bot's DM to be forwarded to the specified channel.
This option will only work when ForwardToAllOwners is set to false This option will only work when ForwardToAllOwners is set to false
""")] """)]
public ulong? ForwardToChannel { get; set; } public ulong? ForwardToChannel { get; set; }
[Comment(""" [Comment("""
Should the bot ignore messages from other bots? Should the bot ignore messages from other bots?
Settings this to false might get your bot banned if it gets into a spam loop with another bot. Settings this to false might get your bot banned if it gets into a spam loop with another bot.
@ -141,11 +141,11 @@ public sealed partial class BotConfig : ICloneable<BotConfig>
]; ];
} }
// [Comment(@"Whether the prefix will be a suffix, or prefix. // [Comment(@"Whether the prefix will be a suffix, or prefix.
// For example, if your prefix is ! you will run a command called 'cash' by typing either // For example, if your prefix is ! you will run a command called 'cash' by typing either
// '!cash @Someone' if your prefixIsSuffix: false or // '!cash @Someone' if your prefixIsSuffix: false or
// 'cash @Someone!' if your prefixIsSuffix: true")] // 'cash @Someone!' if your prefixIsSuffix: true")]
// public bool PrefixIsSuffix { get; set; } // public bool PrefixIsSuffix { get; set; }
// public string Prefixed(string text) => PrefixIsSuffix // public string Prefixed(string text) => PrefixIsSuffix
// ? text + Prefix // ? text + Prefix