Skip to content

Instantly share code, notes, and snippets.

@AidanOfficial
Last active September 12, 2022 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AidanOfficial/fc10001fbe2eacbbb34db9e5a38d7186 to your computer and use it in GitHub Desktop.
Save AidanOfficial/fc10001fbe2eacbbb34db9e5a38d7186 to your computer and use it in GitHub Desktop.
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()
}
}
});
}
}
@Fleral
Copy link

Fleral commented Sep 12, 2022

well done bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment