Skip to content

Instantly share code, notes, and snippets.

View oriapp's full-sized avatar
🤓
passionate nerd who loves PHP

R C N oriapp

🤓
passionate nerd who loves PHP
  • A really really big corporation
  • Planet Earth
View GitHub Profile
const Discord = require("discord.js");
const errors = require("../utils/errors.js");
module.exports.run = async (bot, message, args) => {
//!addrole @andrew Dog Person
if (!message.member.hasPermission("MANAGE_ROLES")) return errors.noPerms(message, "MANAGE_ROLES");
if (args[0] == "help") {
message.reply("Usage: !addrole <user> <role>");
return;