This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Malachi
authored and
Malachi
committed
Jun 5, 2021
1 parent
12d9c24
commit 7808e64
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
const { Command } = require('discord.js-commando') | ||
const config = require('$root/config.json') | ||
const mission = require('$root/mission.json') | ||
const count = require('$util/count') | ||
|
||
module.exports = class Privacy extends Command { | ||
constructor(client) { | ||
super(client, { | ||
name: 'privacy', | ||
group: 'util', | ||
aliases: ['data'], | ||
memberName: 'privacy', | ||
description: 'Report any and all bugs here', | ||
clientPermissions: ['EMBED_LINKS'], | ||
throttling: config.command_throttling.utilities | ||
}) | ||
} | ||
|
||
run(message) { | ||
count.cmdRun(this.name, this.group, message) | ||
|
||
let info = mission.other.privacy | ||
|
||
message.embed({ | ||
title: info.title, | ||
url: info.url, | ||
description: info.info + config.invite, | ||
color: config.embed_color, | ||
timestamp: new Date(), | ||
thumbnail: { url: config.pfp }, | ||
footer: { text: mission.credit } | ||
}) | ||
} | ||
} |
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