🌺🇫🇷 Shigu :3 🌺
🌺🇫🇷 Shigu :3 🌺
NNuxt
Created by 🌺🇫🇷 Shigu :3 🌺 on 4/24/2024 in #❓・help
"Cannot write file '...' because it would overwrite input file" error in tsconfig.json
Thanks, I'll try when I get home
6 replies
NNuxt
Created by 🌺🇫🇷 Shigu :3 🌺 on 4/24/2024 in #❓・help
"Cannot write file '...' because it would overwrite input file" error in tsconfig.json
No
6 replies
NNuxt
Created by 🌺🇫🇷 Shigu :3 🌺 on 4/24/2024 in #❓・help
"Cannot write file '...' because it would overwrite input file" error in tsconfig.json
Reproducing the error - Run bunx nuxi@latest init nuxt-tsconfig-bug - Which package manager would you like to use? bun - Initialize git repository? No - Run cd nuxt-tsconfig-bug - Run bun add -D tailwindcss postcss autoprefixer && bunx tailwindcss init - Write nuxt.config.ts
export default defineNuxtConfig({
devtools: { enabled: true },
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
});
export default defineNuxtConfig({
devtools: { enabled: true },
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {}
}
}
});
- Write tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./app.vue",
"./error.vue"
],
theme: {
extend: {}
},
plugins: []
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./app.vue",
"./error.vue"
],
theme: {
extend: {}
},
plugins: []
};
- Observe error in server/tsconfig.json
6 replies
DIAdiscord.js - Imagine an app
Created by adam on 10/27/2023 in #djs-questions
Mass adding of roles
Also your command just sounds like API spam tbh
9 replies
DIAdiscord.js - Imagine an app
Created by adam on 10/27/2023 in #djs-questions
Mass adding of roles
Wdym by "Discord take care of the rate limit"? They enforce it. djs handles rate limits by queing requests.
9 replies
DIAdiscord.js - Imagine an app
Created by jr on 10/25/2023 in #djs-questions
Prevent link embeds while sending a message
This seems to be possible by adding the SuppressEmbeds flag to the message payload (so you have to define the message payload, add the flag explicitely before sending it).
7 replies
DIAdiscord.js - Imagine an app
Created by 🥀 Nᥲtsᥲrყs on 10/14/2023 in #djs-questions
My code looks correct, but my bot is no longer detecting messages.
And you don't have the required intents to get guildMemberUpdate
9 replies
DIAdiscord.js - Imagine an app
Created by 🥀 Nᥲtsᥲrყs on 10/14/2023 in #djs-questions
My code looks correct, but my bot is no longer detecting messages.
The event for a new message has been changed to messageCreate in v14
9 replies
DIAdiscord.js - Imagine an app
Created by GalaXd on 10/13/2023 in #djs-questions
Attachment
Also it's pretty sketchy to log messages that users have explicitly deleted...
17 replies
DIAdiscord.js - Imagine an app
Created by GalaXd on 10/13/2023 in #djs-questions
Attachment
When you receive the message on the messageDelete event, it doesn't exist anymore, you can only access its data if discord.js has cached it.
17 replies
DIAdiscord.js - Imagine an app
Created by bruhbruhbruhwho on 10/9/2023 in #djs-questions
Creating a hyperlink
You can use the hyperlink function
17 replies
DIAdiscord.js - Imagine an app
Created by Lex on 9/29/2023 in #djs-questions
Direct Messages Not Receiving
You can either use the ChannelType enum or return if message.inGuild() is true.
6 replies
DIAdiscord.js - Imagine an app
Created by Lex on 9/29/2023 in #djs-questions
Direct Messages Not Receiving
A DM channel's type isn't dm so you're always returning even though you might be getting actual DM messages.
6 replies
DIAdiscord.js - Imagine an app
Created by Elitezen on 9/28/2023 in #djs-questions
Will a Product Purchase That Gives a Member a Role Emit the GuildMemberUpdate Event?
As long as you have proper intents, it should
6 replies