Updated common files

This commit is contained in:
Toastie 2024-06-26 19:44:07 +12:00
parent b045015efb
commit a63889b2f3
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
61 changed files with 188 additions and 227 deletions
src/EllieBot/_common/Configs

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)
""")]
public bool ForwardToAllOwners { get; set; }
[Comment("""
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
""")]
public ulong? ForwardToChannel { get; set; }
[Comment("""
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.
@ -155,11 +155,11 @@ public sealed partial class BotConfig : ICloneable<BotConfig>
];
}
// [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
// '!cash @Someone' if your prefixIsSuffix: false or
// 'cash @Someone!' if your prefixIsSuffix: true")]
// public bool PrefixIsSuffix { get; set; }
// [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
// '!cash @Someone' if your prefixIsSuffix: false or
// 'cash @Someone!' if your prefixIsSuffix: true")]
// public bool PrefixIsSuffix { get; set; }
// public string Prefixed(string text) => PrefixIsSuffix
// ? text + Prefix