🌺🇫🇷 Shigu :3 🌺
"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
- Write tailwind.config.js
- 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 v149 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
function17 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