Last active
September 12, 2022 01:02
-
-
Save AidanOfficial/fc10001fbe2eacbbb34db9e5a38d7186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('dotenv').config(); | |
exports.run = async (client, message, args) => { | |
if (message.member.roles.cache.some(role => ["TechnoServices Permissions"].includes(role.name))) { | |
return message.channel.send({ | |
embed: { | |
color: message.member.displayHexColor, | |
description: `***Welcome to TechnoServices, ${message.author.tag}!*** This bot is primarily used by the **Techno Corporation Administration**. If you have any questions regarding this bot, contact <@356084371788136448> or <@337325419416125442>.\n` + | |
`\`${process.env.prefix}help\` - Shows this list of commands.\n` + | |
`\`${process.env.prefix}setrank <user> <rank name/number>\` - π Ranks the user in the Techno Corporation Roblox group to the specified rank number or name.\n` + | |
`\`${process.env.prefix}promote <user>\` - π Moves the user 1 rank up in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}demote <user>\` - π Moves the user 1 rank down in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}exile <user>\` - π Removes a user from the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}shout <message>\` - π Posts a group shout.\n` + | |
`\`${process.env.prefix}clearshout\` - π Clears the group shout in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}currentshout\` - π Shows the current group shout.\n` + | |
`\`${process.env.prefix}accept-join <user>\` - π Accepts a user's join request in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}deny-join <user>\` - π Denies a user's join request in the Techno Corporation Roblox group.` + | |
`\`${process.env.prefix}rps <rock, paper, or scissors>\` - π Plays Rock, Paper, Scissors!\n` + | |
`\`${process.env.prefix}ping \` - π Pings the bot and the Discord API.\n` + | |
`\`${process.env.prefix}uptime \` - π Shows the uptime of the TechnoServices Discord bot!\n`, | |
author: { | |
name: message.author.tag, | |
icon_url: message.author.displayAvatarURL() | |
}, | |
footer: { | |
text: client.user.username, | |
icon_url: client.user.displayAvatarURL() | |
} | |
} | |
}); | |
} else { | |
return message.channel.send({ | |
embed: { | |
color: message.member.displayHexColor, | |
description: `***Welcome to TechnoServices, ${message.author.tag}!*** This bot is primarily used by the **Techno Corporation Administration**. If you have any questions regarding this bot, contact <@356084371788136448> or <@337325419416125442>.\n` + | |
`\`${process.env.prefix}help\` - Shows this list of commands.\n` + | |
`\`${process.env.prefix}setrank <user> <rank name/number>\` - π Ranks the user in the Techno Corporation Roblox group to the specified rank number or name.\n` + | |
`\`${process.env.prefix}promote <user>\` - π Moves the user 1 rank up in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}demote <user>\` - π Moves the user 1 rank down in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}exile <user>\` - π Removes a user from the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}shout <message>\` - π Posts a group shout.\n` + | |
`\`${process.env.prefix}clearshout\` - π Clears the group shout in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}currentshout\` - π Shows the current group shout.\n` + | |
`\`${process.env.prefix}accept-join <user>\` - π Accepts a user's join request in the Techno Corporation Roblox group.\n` + | |
`\`${process.env.prefix}deny-join <user>\` - π Denies a user's join request in the Techno Corporation Roblox group.` + | |
`\`${process.env.prefix}rps <rock, paper, or scissors>\` - π Plays Rock, Paper, Scissors!\n` + | |
`\`${process.env.prefix}ping \` - π Pings the bot and the Discord API.\n` + | |
`\`${process.env.prefix}uptime \` - π Shows the uptime of the TechnoServices Discord bot!\n`, | |
author: { | |
name: message.author.tag, | |
icon_url: message.author.displayAvatarURL() | |
}, | |
footer: { | |
text: client.user.username, | |
icon_url: client.user.displayAvatarURL() | |
} | |
} | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
well done bro