Ejemplo n.º 1
0
        public async Task GetDebuff([Remainder] string name)
        {
            Debuff find = Debuffs.GetSpecificDebuff(name);

            if (find == null)
            {
                await Context.Channel.SendMessageAsync($"`No Debuff Found`");

                return;
            }
            string text = "";

            text += $"Name : {find.Name}\nCountdown : {find.Countdown}\nDescription : {find.Tech}";
            await Context.Channel.SendMessageAsync($"`{text}`");
        }
Ejemplo n.º 2
0
        public async Task AddingDebuffToItem(ulong id, string debuffname)
        {
            if (!IsHavingThisRole((SocketGuildUser)Context.User, "Developer") &&
                !IsHavingThisRole((SocketGuildUser)Context.User, "Quiz Manager"))
            {
                return;
            }
            Item select = Drops.GetSpecificItem(id);

            if (select == null)
            {
                return;
            }
            Debuff debuff = Debuffs.GetSpecificDebuff(debuffname);

            if (debuff == null)
            {
                return;
            }
            select.Debuffs.Add(debuff);
            await Context.Channel.SendMessageAsync("ADDING BUFF SUCCESS");
        }