forgot to upload new files for 1.13 mb

This commit is contained in:
ayeuhugyu 2023-11-07 19:57:43 -08:00
parent 11a76b04ca
commit 95ba3fdf57
4 changed files with 149 additions and 0 deletions

View file

@ -0,0 +1,20 @@
import * as action from "../util/discordAction.js";
import fs from "fs";
export default {
name: "sendblacklist",
description: "sends blacklist",
arguments: "none",
execute(message, args) {
const filestring = fs.readFileSync(
"../pepperbot/data/blacklisted.log",
"utf8"
);
const blacklists = filestring.split("\n");
let text = "";
for (const file of blacklists) {
text += file + "\n";
}
action.sendMessage(message.channelId, text);
},
};