Пример #1
0
        private void UpdateDiscordPartySize(int size)
        {
            _discord.Update(x =>
            {
                x.Party.Size.CurrentSize = size;

                return(x);
            });
        }
Пример #2
0
        public void CyclePrivacy()
        {
            if (++Privacy > PARTYPRIVACY_LAST)
            {
                Privacy = PARTYPRIVACY_FIRST;
            }

            _discordActivity.Update(x =>
            {
                x.State = Text;

                return(x);
            });
        }