Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit 9893b22

Browse files
committed
dont ask
dont ask
1 parent fd8b2ce commit 9893b22

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# User Checker
22
Check a PowerCord user via API.
3+
4+
**Don't forget that the user must be logged in to the PowerCord website.**
35
# Usage
46
[prefix]check [id]
57

68
If you have a bad network, wait a while.
9+
10+
# Changelog
11+
* 1.0.3:
12+
* Changed some things in index.js
13+
* 1.0.2:
14+
* Fixed bugs.

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ module.exports = class PCUserCheck extends Plugin {
1414
}
1515
async check(ID) {
1616
try {
17-
//{"developer":null,"staff":null,"support":null,"contributor":null,"translator":null,"hunter":null,"early":null}
1817
const Data = await get(`https://powercord.dev/api/v2/users/${ID}`)
1918
const Embed = {
2019
type: 'rich',
21-
title: '**' + Data.body.username + '#' + Data.body.discriminator + '**',
20+
title: '**' + Data.body.username + '#' + Data.body.discriminator + ', Info.**',
2221
description: '**This list may be out of date.**',
2322
fields: [
2423
{
@@ -42,7 +41,7 @@ module.exports = class PCUserCheck extends Plugin {
4241
embed: true
4342
}
4443
} catch (err) {
45-
console.error('Error executing "pc-user-checker":\n' + err)
44+
//console.error('Error executing "pc-user-checker":\n' + err)
4645
return {
4746
result: '**Failed connect or invalid user in API Data.**',
4847
}

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "PowerCord User Checker",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Check a User.",
55
"author": "Zv_yz",
66
"permissions" : [

0 commit comments

Comments
 (0)