Skip to content

Commit

Permalink
fix lists
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Nov 9, 2021
1 parent aebcc84 commit 081bd79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/tests/message/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@ describe('Message - list filter - @func3', () => {
describe('(list.core.<permissionName>) should return proper message', () => {
it('(list.core.CASTERS) should return core commands', async () => {
const r = await new Message('(list.core.CASTERS)').parse({});
assert.strictEqual(r, '_debug, alias, alias add, alias edit, alias group, alias list, alias remove, alias toggle, alias toggle-visibility, bansong, command, command add, command edit, command list, command remove, command toggle, command toggle-visibility, commercial, cooldown set, cooldown toggle enabled, cooldown toggle followers, cooldown toggle moderators, cooldown toggle owners, cooldown toggle subscribers, cooldown unset, disable, enable, highlight, highlight list, hltb, immune, keyword, keyword add, keyword edit, keyword list, keyword remove, keyword toggle, level change, makeitrain, media, permission exclude-add, permission exclude-rm, permission list, permit, playlist, playlist add, playlist import, playlist list, playlist remove, playlist set, playlist steal, points add, points all, points get, points online, points remove, points set, points undo, price, price list, price set, price toggle, price unset, queue clear, queue close, queue list, queue open, queue pick, queue random, quote add, quote remove, quote set, raffle open, raffle pick, raffle remove, rank add, rank add-flw, rank add-sub, rank edit, rank edit-flw, rank edit-sub, rank help, rank list, rank list-flw, rank list-sub, rank rm, rank rm-flw, rank rm-sub, rank set, rank unset, scrim stop, set, skipsong, snipe, timers, timers add, timers list, timers rm, timers set, timers toggle, timers unset, top bits, top followage, top gifts, top level, top messages, top points, top subage, top submonths, top time, top tips, tts, unbansong');
assert.strictEqual(r, '_debug, alias, alias add, alias edit, alias group, alias list, alias remove, alias toggle, alias toggle-visibility, bansong, command, command add, command edit, command list, command remove, command toggle, command toggle-visibility, commercial, cooldown set, cooldown toggle enabled, cooldown toggle followers, cooldown toggle moderators, cooldown toggle owners, cooldown toggle subscribers, cooldown unset, disable, enable, game set, highlight, highlight list, hltb, ignore add, ignore check, ignore remove, immune, keyword, keyword add, keyword edit, keyword list, keyword remove, keyword toggle, level change, makeitrain, media, permission exclude-add, permission exclude-rm, permission list, permit, playlist, playlist add, playlist import, playlist list, playlist remove, playlist set, playlist steal, points add, points all, points get, points online, points remove, points set, points undo, price, price list, price set, price toggle, price unset, queue clear, queue close, queue list, queue open, queue pick, queue random, quote add, quote remove, quote set, raffle open, raffle pick, raffle remove, rank add, rank add-flw, rank add-sub, rank edit, rank edit-flw, rank edit-sub, rank help, rank list, rank list-flw, rank list-sub, rank rm, rank rm-flw, rank rm-sub, rank set, rank unset, scrim stop, set, skipsong, snipe, timers, timers add, timers list, timers rm, timers set, timers toggle, timers unset, title set, top bits, top followage, top gifts, top level, top messages, top points, top subage, top submonths, top time, top tips, tts, unbansong');
});

it('(list.core.VIEWERS) should return core commands', async () => {
const r = await new Message('(list.core.VIEWERS)').parse({});
assert.strictEqual(r, 'age, bet, currentsong, followage, lastseen, level, level buy, me, ping, points, points give, queue, queue join, quote, quote list, raffle, rank, snipe match, songrequest, subage, vote, watched, wrongsong');
assert.strictEqual(r, 'age, bet, currentsong, followage, followers, game, lastseen, level, level buy, me, ping, points, points give, queue, queue join, quote, quote list, raffle, rank, snipe match, songrequest, subage, subs, time, title, uptime, vote, watched, wrongsong');
});

it('(list.!core.VIEWERS) should return core commands', async () => {
const r = await new Message('(list.!core.VIEWERS)').parse({});
assert.strictEqual(r, '!age, !bet, !currentsong, !followage, !lastseen, !level, !level buy, !me, !ping, !points, !points give, !queue, !queue join, !quote, !quote list, !raffle, !rank, !snipe match, !songrequest, !subage, !vote, !watched, !wrongsong');
assert.strictEqual(r, '!age, !bet, !currentsong, !followage, !followers, !game, !lastseen, !level, !level buy, !me, !ping, !points, !points give, !queue, !queue join, !quote, !quote list, !raffle, !rank, !snipe match, !songrequest, !subage, !subs, !time, !title, !uptime, !vote, !watched, !wrongsong');
});
});
});

0 comments on commit 081bd79

Please sign in to comment.