updated all requires to use import instead
This commit is contained in:
parent
ba443111c8
commit
7d5d32fec1
25 changed files with 109 additions and 98 deletions
|
@ -1,5 +1,4 @@
|
|||
const fs = require("fs");
|
||||
|
||||
import fs from "fs";
|
||||
const prefix = process.env.PREFIX;
|
||||
|
||||
function delay(time) {
|
||||
|
@ -10,11 +9,11 @@ function delay(time) {
|
|||
|
||||
const whitelist = ["440163494529073152", "611625001950380032"];
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
name: "addguildmember",
|
||||
description:
|
||||
"manually adds a guild member to the members list, whitelist required",
|
||||
arguments: "none",
|
||||
arguments: "member",
|
||||
execute(message, args) {
|
||||
if (whitelist.includes(message.author.id)) {
|
||||
if (message.author.bot) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue