Archived
code cleanup
This commit is contained in:
1 parent
69ab1237c9
commit
fe5f8438ef
1 file changed
+1
-4
@@ -94,10 +94,7 @@ export class SystemMessageManager {
|
||||
);
|
||||
}
|
||||
if (data.error) {
|
||||
if (
|
||||
data.error instanceof Error ||
|
||||
(data.error as any) instanceof PermissionsError
|
||||
) {
|
||||
if (data.error instanceof Error) {
|
||||
embed.addField(
|
||||
"Error details:",
|
||||
data.error.toString(),
|
||||
|
||||
Reference in new issue
Block a user