parent
dda37b7893
commit
564d80f203
@ -0,0 +1,22 @@ |
||||
const Discord = require('discord.js'); |
||||
|
||||
const deaths = [ |
||||
"Watching too much anime", "Overdose of waifus", "Hypotakunemia", "Trying to self-isekai", |
||||
"Bass.", "Cranked the music just a little too loud", "Tried to swim in lava", "Unknown", |
||||
"Despacito" |
||||
]; // a list of preset death methods that can occur
|
||||
|
||||
module.exports = { |
||||
name: "deathnote", |
||||
aliases: ['dn'], |
||||
help: new Discord.MessageEmbed() |
||||
.setTitle("Help -> Death Note") |
||||
.setDescription("Congratulations! You've picked up a death note. Write someone's name in it, and see for yourself if it's the real deal...") |
||||
.addField("Syntax", "\`deathnote <@member> [method of death]\`"), |
||||
async execute(message, msg, args, cmd, prefix, mention, client) { |
||||
if (!args.length) {return message.channel.send(`Syntax: \`${prefix}deathnote <@member> [method of death]\``);} |
||||
if (args[0] == "kill" || args[0] == "k") {args.shift();} // if someone adds in 'kill' it'll remove it and act like it wasn't there, proceeding as normal.
|
||||
if (!mention) {return message.reply("You have to write their name down in order to kill them! (In other words, please mention the user whose name you wish to write.)");} |
||||
|
||||
} |
||||
}; |
@ -0,0 +1,17 @@ |
||||
const Discord = require("discord.js"); |
||||
|
||||
module.exports = { |
||||
name: "logs", |
||||
aliases: ["log", "l", "modlog", "modlogs"], |
||||
help: new Discord.MessageEmbed() |
||||
.setTitle("Help -> Server Logs") |
||||
.setDescription("Comfigure your server's log settings.\n\nLogs will update you on what ") |
||||
.addField("Syntax", "`vip <add|remove|check>`") |
||||
.addField("Notice", "This command is **developer-only**."), |
||||
async execute(message, msg, args, cmd, prefix, mention, client) { |
||||
if (!message.guild) {return message.reply("This command is server-only!");} |
||||
if (!args.length) {return message.channel.send(`Syntax: \`${prefix}vip <add|remove|check>\``);} |
||||
const GuildSettings = require('../models/guild'); |
||||
|
||||
} |
||||
}; |
@ -0,0 +1,28 @@ |
||||
const mongoose = require('mongoose'); |
||||
|
||||
const logSchema = new mongoose.Schema({ |
||||
gid: {type: String, unique: true}, |
||||
mdelete: {type: Boolean, default: true}, |
||||
medit: {type: Boolean, default: true}, |
||||
chnew: {type: Boolean, default: true}, |
||||
chedit: {type: Boolean, default: true}, |
||||
chdelete: {type: Boolean, default: true}, |
||||
vcjoin: {type: Boolean, default: false}, |
||||
vcleave: {type: Boolean, default: false}, |
||||
servervcmute: {type: Boolean, default: true}, |
||||
servervcdeafen: {type: Boolean, default: true}, |
||||
kick: {type: Boolean, default: true}, |
||||
ban: {type: Boolean, default: true}, |
||||
mute: {type: Boolean, default: true}, |
||||
warn: {type: Boolean, default: true}, |
||||
giverole: {type: Boolean, default: true}, |
||||
takerole: {type: Boolean, default: true}, |
||||
addrole: {type: Boolean, default: true}, |
||||
editrole: {type: Boolean, default: true}, |
||||
deleterole: {type: Boolean, default: true}, |
||||
serverjoin: {type: Boolean, default: false}, |
||||
serverleave: {type: Boolean, default: false}, |
||||
nickname: {type: Boolean, default: true}, |
||||
username: {type: Boolean, default: false}, |
||||
avatar: {type: Boolean, default: false}, |
||||
}); |
@ -0,0 +1,26 @@ |
||||
const Discord = require('discord.js'); |
||||
|
||||
module.exports = { |
||||
name: "", |
||||
aliases: [], |
||||
help: new Discord.MessageEmbed() |
||||
.setTitle("Help -> ") |
||||
.setDescription("") |
||||
.addField("Syntax", ""), |
||||
async execute(message, msg, args, cmd, prefix, mention, client) { |
||||
if (!args.length) {return message.channel.send(`Syntax: \`${prefix}\``);} |
||||
} |
||||
}; |
||||
|
||||
//OR
|
||||
|
||||
const Discord = require('discord.js'); |
||||
|
||||
module.exports = { |
||||
name: "", |
||||
aliases: [], |
||||
help: "", |
||||
async execute(message, msg, args, cmd, prefix, mention, client) { |
||||
if (!args.length) {return message.channel.send(`Syntax: \`${prefix}\``);} |
||||
} |
||||
}; |
Loading…
Reference in new issue