I’m currently changing my server’s leaderboard command to display on a Canvas, rather than an embed. A problem I ran into is that since it’s not an embed, grabbing the user’s IDs then displaying their …
Tag: discord.js
I’m trying to make say command with canvas to output an image with @here mention together, but the command only shows the image without doing the mention. what I have tried: message.channel.send(`@…
I trying to make a code that fetch messages and filter them with content but it don’t work. I try this code: client.on(‘message’, message => { if(message.content.startsWith(‘f-‘)){ var …
I am relatively new to JavaScript, and am trying to store callbacks in an array. Here is what I mean: items = [ “test” = async message => { let userCoins = editCurrency(‘fetch’…
So i am making a Discord Beat saber bot with scoresaber api: node-scoresaber And i get [object Object] in return, i have no idea why is it, maybe because i am doing it wrong if(msg.content === “!…
I am trying to close a ticket by reacting to a button. And i want only who has a specific role can react to it , my code : client.on(“messageReactionAdd”, async (reaction, user) => { …
how would i make my bot delete commands after type like says say do !kick and it deletes that command how would i do that? and it deletes its response after 5 seconds? what i have below is what i …
I have these join / leave audit logs that also send a welcome message in a channel and give people a role when they join the server. I am using discord.js version 12.3.1 and node version 14.0.0 …
I’m trying to develop a discord bot but I’m having some problems. The purpose of my bot is to send a message to the text channel “YYYYYY” when my staff on my server join the voice channel …
I want to check if a channel is available (at least to view) to everyone, is there a way to do this? I’ve been looking around for a while now and cannot find anything. Thanks!