Skip to content

Commit

Permalink
Updated to discord.js v14
Browse files Browse the repository at this point in the history
  • Loading branch information
Simpleboy353 committed Aug 16, 2022
1 parent ddb1747 commit 2d378be
Show file tree
Hide file tree
Showing 178 changed files with 2,141 additions and 3,375 deletions.
2 changes: 1 addition & 1 deletion Commands/Activities/awkword.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Awkword.io")
.setDescription(`[Click Here](${invite.code}) to play Awkword.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/betrayal.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Betrayal.io")
.setDescription(`[Click Here](${invite.code}) to play Betrayal.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/chess.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Chess.io")
.setDescription(`[Click Here](${invite.code}) to play Chess!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/doodlecrew.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Doodle Crew.io")
.setDescription(`[Click Here](${invite.code}) to play Doodle Crew.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/fishington.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Fishington.io")
.setDescription(`[Click Here](${invite.code}) to play Poker!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/lettertile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("LetterTile.io")
.setDescription(`[Click Here](${invite.code}) to play LetterTile.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/poker.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Poker.io")
.setDescription(`[Click Here](${invite.code}) to play Poker.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/spellcast.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("SpellCast.io")
.setDescription(`[Click Here](${invite.code}) to play SpellCast.io!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("GREEN")
.setColor("Green")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Activities/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
let embed = new EmbedBuilder()
.setTitle("Youtube Together")
.setDescription(`[Click Here](${invite.code}) to access Youtube Together!\n\`\`\`\nNote: This feature is not availble for mobile users!\`\`\``)
.setColor("RED")
.setColor("Red")
.setFooter(`Requested By: ${message.author.tag}`)

return message.channel.send({ embeds: [embed] });
Expand Down
2 changes: 1 addition & 1 deletion Commands/Config/antilink.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const prefixModel = require("../../database/guildData/antilink");
module.exports = {
name: "antilink",
description: "Setup antilink per server!",
userPerms: ["MANAGE_GUILD"],
userPerms: ["ManageGuild"],
run: async (client, message, args) => {
if (!args[0]) {
return message.channel.send(
Expand Down
2 changes: 1 addition & 1 deletion Commands/Config/antiwords.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const antiwordsSchema = require("../../database/guildData/antiwords");

module.exports = {
name: "antiwords",
userPerms: ["ADMINISTRATOR"],
userPerms: ["Administrator"],
description: "Setup antilink per server!",
run: async(client, message, args) => {
if (!args[0]) {
Expand Down
6 changes: 2 additions & 4 deletions Commands/Config/autorole.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ const roleData = require("../../database/guildData/autorole");
module.exports = {
name: "autorole",
description: "Change autorole per server!",
permissions: "MANAGE_ROLES",
botPermissions: "MANAGE_ROLES",
args: "Yes",
usage: "!autorole <Role|off>",
aliases: ["ar", "joinrole"],
userPerms: ["MANAGE_ROLES"],
botPerms: ["MANAGE_ROLES"],
userPerms: ["ManageRoles"],
botPerms: ["ManageRoles"],

run: async (client, message, args) => {

Expand Down
4 changes: 2 additions & 2 deletions Commands/Config/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const { EmbedBuilder, ActionRowBuilder, SelectMenuBuilder } = require('discord.j
module.exports = {
name: "dashboard",
description: "View the dashboard for the required category.",
botPerms: ["MANAGE_GUILD"],
userPerms: ["ADMINISITRATOR"],
botPerms: ["ManageGuild"],
userPerms: ["Administrator"],
run: async(client, message, args)=>{
if (!args[0]){
return message.channel.send(`Please specify an option! Available Options:\`\`\`js\nadmin\nwelcomer\nlogging\n\`\`\``);
Expand Down
4 changes: 2 additions & 2 deletions Commands/Config/joinchannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module.exports = {
name: "joinchannel",
description: "Change the welcome channel per server!",
aliases: ["jchannel", "welcome"],
userPerms: ["MANAGE_CHANNELS"],
botPerms: ["MANAGE_CHANNELS"],
userPerms: ["ManageChannels"],
botPerms: ["ManageChannels"],
run: async (client, message, args) => {
if (!args[0]) {
return message.channel.send(`\`Usage: =joinchannel <#channel|off>\``);
Expand Down
2 changes: 1 addition & 1 deletion Commands/Config/joinmessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
name: "joinmessage",
description: "Change the welcome message per server!",
aliases: ["joinmsg", "welcomemsg", "jmsg"],
userPerms: ["MANAGE_CHANNELS"],
userPerms: ["ManageChannels"],
run: async (client, message, args) => {
const text = args.join(" ");
if (!args[0]) {
Expand Down
4 changes: 2 additions & 2 deletions Commands/Config/leavechannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const prefixModel = require("../../database/guildData/leavechannel");
module.exports = {
name: "leavechannel",
description: "Change the goodbye channel per server!",
userPerms: ["MANAGE_CHANNELS"],
botPerms: ["MANAGE_CHANNELS"],
userPerms: ["ManageChannels"],
botPerms: ["ManageChannels"],
run: async (client, message, args) => {
if (!args[0]) {
return message.channel.send("`Usage: =leavechannel <#channel|off>`");
Expand Down
2 changes: 1 addition & 1 deletion Commands/Config/leavemessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const prefixModel = require("../../database/guildData/leavemessage");
module.exports = {
name: "leavemessage",
description: "Change the leave message per server!",
userPerms: ["MANAGE_CHANNELS"],
userPerms: ["ManageChannels"],
run: async (client, message, args) => {
const text = args.join(" ");
if (!args[0]) {
Expand Down
2 changes: 1 addition & 1 deletion Commands/Config/prefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const prefixModel = require("../../database/guildData/prefix");
module.exports = {
name: "prefix",
description: "Change the prefix per server!",
userPerms: ["MANAGE_GUILD"],
userPerms: ["ManageGuild"],
run: async (client, message, args) => {

const data = await prefixModel.findOne({
Expand Down
Loading

0 comments on commit 2d378be

Please sign in to comment.