mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
Fixed issues with plugin not loading, and fixed bugs
This commit is contained in:
parent
f41c6f4762
commit
ba0a9d0696
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ export default definePlugin({
|
|||
}
|
||||
],
|
||||
execute: async (option, ctx) => {
|
||||
const res = await RestAPI.delete(findOption(option, "url"));
|
||||
const res = await RestAPI.delete({ url: "" + findOption(option, "url") });
|
||||
try {
|
||||
if (res.ok == true) {
|
||||
sendBotMessage(ctx.channel.id, {
|
||||
|
@ -77,7 +77,7 @@ export default definePlugin({
|
|||
|
||||
"# Webhook Creator Information: \n " +
|
||||
"Creator UserID: " + response.user.id + "\n " +
|
||||
"Creator Username: " + response.username + " | ( <@" + res.user.id + "> )" + "\n " +
|
||||
"Creator Username: " + response.username + " | ( <@" + response.user.id + "> )" + "\n " +
|
||||
"Creator Profile: [Click Me](https://img.discord.dog/" + response.user.id + ") \n"
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue