update dependencies
This commit is contained in:
parent
db995a9fea
commit
24971fd6f7
5 changed files with 506 additions and 557 deletions
|
@ -24,7 +24,7 @@ class MessageInvalidListener extends Listener {
|
|||
let reaction;
|
||||
if (!message.guild || message.channel.permissionsFor(this.client.user).has('ADD_REACTIONS')) {
|
||||
try {
|
||||
await Promise.all(message.reactions.filter(r => r.me).map(r => r.users.remove()));
|
||||
await Promise.all(message.reactions.cache.filter(r => r.me).map(r => r.users.remove()));
|
||||
reaction = await message.react('📝');
|
||||
} catch (e) {
|
||||
// Ignore.
|
||||
|
|
|
@ -56,7 +56,6 @@ const entries = [
|
|||
['bash', ['bash', 'sh']],
|
||||
['brainfuck', ['brainfuck', 'bf']],
|
||||
['c', ['c']],
|
||||
['clojure', ['clojure', 'clj']],
|
||||
['cpp', ['cpp']],
|
||||
['csharp', ['csharp', 'cs']],
|
||||
['elixir', ['elixir']],
|
||||
|
@ -69,15 +68,18 @@ const entries = [
|
|||
['javascript', ['javascript', 'js']],
|
||||
['julia', ['julia']],
|
||||
['lua', ['lua']],
|
||||
['nim', ['nim', 'nimrod']],
|
||||
['ocaml', ['ocaml', 'ml']],
|
||||
['pascal', ['pascal', 'pas', 'freepascal']],
|
||||
['perl', ['perl', 'pl']],
|
||||
['php', ['php']],
|
||||
['prolog', ['prolog']],
|
||||
['python', ['python', 'py']],
|
||||
['r', ['r']],
|
||||
['racket', ['lisp']],
|
||||
['ruby', ['ruby', 'rb']],
|
||||
['rust', ['rust', 'rs']]
|
||||
['rust', ['rust', 'rs']],
|
||||
['typescript', ['typescript', 'ts']]
|
||||
];
|
||||
|
||||
Myriad.Languages = new Map(entries);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue