mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
refactor(bot): remove saving own user ID from ready event, rely on ID in config
This commit is contained in:
parent
aeb6411b6c
commit
9303dbb91e
17 changed files with 51 additions and 69 deletions
|
|
@ -5,7 +5,7 @@ public class BotConfig
|
|||
public static readonly string[] DefaultPrefixes = { "pk;", "pk!" };
|
||||
|
||||
public string Token { get; set; }
|
||||
public ulong? ClientId { get; set; }
|
||||
public ulong ClientId { get; set; }
|
||||
|
||||
// ASP.NET configuration merges arrays with defaults, so we leave this field nullable
|
||||
// and fall back to the separate default array at the use site :)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue