Skip to content

Instantly share code, notes, and snippets.

module.exports = {
name: 'ranklock',
description: '!ranklock [username1]',
execute(message, args) {
const {groupID, firebaseBASEURL, hicomRole, officerRole} = require('./settings/config.json');
var groupIDB = await roblox.getGroup(groupID)
if (!message.member.roles.exists('name', `${hicomRole}`) && !message.member.roles.exists('name', `${officerRole}`)) {
return message.channel.send(`Sorry ${message.author}, but only officers+ can use this command!`).then(message => message.delete(5000))
}
require('dotenv').config();
exports.run = async (client, message, args) => {
return message.channel.send({embed: {
color: 7948427,
description: `**Here are my commands:**\n`
+ `\`${process.env.prefix}help\` - Shows this list of commands.\n`
+ `\`${process.env.prefix}setrank <user> <rank name/number>\` - Ranks the user in the Roblox group to the specified rank number or name.\n`
+ `\`${process.env.prefix}promote <user>\` - Moves the user 1 rank up in the Roblox group.\n`
+ `\`${process.env.prefix}demote <user>\` - Moves the user 1 rank down in the Roblox group.\n`
const Discord = require('discord.js');
const PREFIX = "/";
module.exports = {
name: 'warn',
aliases: 'suggestion',
description: "Posts a suggestion",
async execute(bot, message, args, catchErr){
if(message.author.bot) return;
if(!message.content.startsWith(PREFIX)) return
/* eslint-disable no-inline-comments */
const Discord = require('discord.js');
const PREFIX = '/';
module.exports = {
name: 'help',
aliases: 'h',
description: 'Lists all commands',
execute(bot, message, args, catchErr) {
if (message.author.bot) return;
const Discord = require('discord.js');
const PREFIX = "/";
module.exports = {
name: 'announce',
description: "Announcement",
execute: (message, args, catchErr) => {
if(!message.content.startsWith(PREFIX)) return
TextChannel {
type: 'text',
deleted: false,
id: '768198249068494859',
name: 'errors',
rawPosition: 21,
parentID: '768198207875317781',
permissionOverwrites: Collection [Map] {
'767413344558514236' => PermissionOverwrites {
id: '767413344558514236',
@stranzero
stranzero / test.json
Last active June 28, 2025 09:56
test
{
"test": "ODYuMTQ4LjU3LjE4MA=="
}
@stranzero
stranzero / test2.json
Last active June 21, 2025 20:34
test2.json
{
"test": "R3JhdmVz"
}