Skip to content

Commit 5772051

Browse files
committed
Oops
1 parent 86939a4 commit 5772051

2 files changed

Lines changed: 78 additions & 78 deletions

File tree

package-lock.json

Lines changed: 77 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/steal.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ export default class Steal extends BotComponent {
6161
}
6262

6363
async steal(command: TextBasedCommand, text: string) {
64-
const emoji_names = remove(
65-
this.wheatley.guild.emojis.cache.map(emoji => emoji.name),
66-
null,
67-
);
64+
const emoji_names = this.wheatley.guild.emojis.cache.map(emoji => emoji.name);
6865
const matches = [...text.matchAll(CUSTOM_EMOJIREGEX)];
6966
if (matches.length == 0) {
7067
await command.reply({

0 commit comments

Comments
 (0)