#development
1 messages ยท Page 1565 of 1
Doesn't mean you unlock it
You can be denied by discord for it once your bot is verified/reviewed by them
It will be included in the email they send you upon reviewal
it's verified
actually i think dsl got denied for one of the intents
verified doesnt mean you get all the intents.
both kek
const Discord = require("discord.js");
const client = new Discord.Client();
client.chat = require("./index.js");
client.chat.ChatBot(client, {
cleverUser: "cleverbot.io/keys user",
cleverKey: "cleverbot.io/keys key",
cleverNick: "session name",
enableTyping: false,
ignoredServers: ["427239929924288532"],
ignoredChannels: ["441425044351090689", "441393041824022528"],
watchName: false,
watchMention: false```
Uh you don't even fulfill your syntax
And that isn't really customizable for per server use
Also, I am pretty sure at least 3 people recommended you to learn how to make a basic discord bot before trying to use a AI
Look at this image
Choose one square
i chose impossible
Hey can I use mangodb to store users data ๐
Is mangodb good to store database
yes.
i don't know mangodb, but mongodb is good
you don't store your data in mangoes genetic sequencing?
Mango
Man go
Man go where?
pinapledb
appledb
pineapple-pendb
Yes, simple
userSchema.js
const { Schema, model } = require(`mongoose`)
const schema = new Schema({
userID: String, //User's ID
guildID: String, //That guild's ID so the data for the user is per guild if wanted just remove this line to not have it
//ata: String, Array, Boolean, Map, Number... Whatever
})
module.exports = model('userSchema', schema)
Your file you find it:
const userSchema = require(`../models/userSchema`) //Change to your directory obviously
userSchema.findOne({ userID: user.id, guildID: guild.id }, function(err, data) {
console.log(data)
})```
snipe_message_author is what?
oof why do you waste time on that
Is this copied?
you could just
send the code like that
oh is it?
You dont define any of the variables that you have there
snipe_message_content is message.content
ya this was copied a little ๐
Weren't you the same guy a few days ago saying you want to stop copying
Wherever you copied this from gave you NameError's
Im trying to learn python and im stuck. I need a command to add to one of my numbers in the data base but i dont know how to do it. Sorry for my lack of knowledge on terms. Im using sqlite3
what is your initial language
i like mangos, so id use mangodb
or no ?
I cant for this
ya i too
I haven't used v12 that much since I was focused on java, although this .cache thing is hard to wrap my head because I cant fetch a user anymore without it being cache.
What new method could I use to fetch a user without them being cached.
Basically what I'm asking
users.fetch()?
fetch != get
How can I make a field be liek a place holder
elaborate
invisible unicodes
yes
okay
I wouldn't recommend doing it since it will look real ugly on mobile
doesn't that make a blank inline field thoughout the whole section?
only the third part of the section
im talking about fetching a random user from the discord api without them being cached into the bot.
assuming they have three inline fields next to each other
like how v11 offered #Client.fetchUser()
.fetch() has no arguments.
mangos are pretty poggers
How can I make my bot leave all vcs it is connected to when it is started
I don't think you can leave a vc without a connection
when you restart the bot, all connections are stopped
but I could be wrong
thats why bots stop playing but stay connected when you restart them (with ytdl)
i tried that many times
didn't seem to work tho
client.guilds.cache.forEach(guild => guild.me.voice.channel?.leave())
Iโve been thinking about creating my own discord bot, I have already learned a little bit about the discord developer portal and the code I want to use is Python, where should I start?
by learning python
Learn python and use a library like discord.py
If you already know Python, you can start by using the discord.py library
It has documentation and guides on how to create one
Alrighty, thank you so much for the assistance
np
Now that I think of it, is there another popular discord library in Python?
I think there was one.
nvm
I'm not in Discord API anymore so I can't check
there's one called disco
inline: true?
who said you need a library
learn python by making a library for discord and use that library

big brain move right there
you're rather going to check yourself in to a mental hospital before finishing the lib
making a basic lib isn't bad
once you need to add voice support and maintain the changes
thats when the pain comes in
imagine if discord still allowed userbots ๐

ay yes
user bots the best
make them talk to each other
its fun on other chat apps
someone explain this error from ytdl
Error: This live event will begin in 44 hours.
at Object.exports.playError (C:\Users\Owner\Desktop\Not-Chan\node_modules\ytdl-core\lib\utils.js:124:12)
at downloadFromInfoCallback (C:\Users\Owner\Desktop\Not-Chan\node_modules\ytdl-core\lib\index.js:72:19)
at C:\Users\Owner\Desktop\Not-Chan\node_modules\ytdl-core\lib\index.js:20:5
client.api.channels[<channel id>].messages.post({
data: {
message_reference: { message_id: <message id to reply to> },
content, embed
}
});```
No
@pale vessel what can I do to fix this ? -> https://media.discordapp.net/attachments/779707624588443669/806773943239049256/image.gif
Gifencoder
what else can I use ?
that's some hardcore compression
Older than half of people in #development asking for help
What can I use instead ?
damn you didn't have to do them like that lmao
idk tbh
Looks like some dithering is occurring to keep the gif within 256 colors. You should quantize the gif. If you're already doing that, choose a different quantize method
English ?
That is english
it is actually not retaining the color of previous frame
You're possibly using a global color map
idk I am just using a package
Then consider using a different package
fixed !
yay
I forgot the cumulative: true in gif-frames
@pale vessel thanks btw
im trying to do that the bot will send the message i sent in another channel and i did, but when i send images or gifs
it does that
for gifs:
image:
no
you need a direct url to the image
the link you have right now is a link to the entire website
deja vu
oui oui baguette
@old cliff what package
gif-frames + gifencoder + canvas????
it's not that uncommon
imagine not using imagemagick
It does the black dots on some gifs I have tested so far
graphicsmagick gang bitch
opencv 
ok now that's not fair
yes
see what I have done - >#development message
add that in gif-frames
options
where you add the url in gif-frames
can anyone help me in detail on client.guilds.cache.size
used to count goild count of my bot
yus ik how to add it to your command
help me pls
maybe nope
i know m noob
please learn javascript and then come back
read this
you can also try https://fireship.io
great place to learn stuff
can u please just tell me the code for ```
client.guilds.cache.size
no
i know a bit of javascript
I can't because
- idk your code I can't see it
- I don't spoonfeed
- please just learn js
then you surely know how to use it right
yes
how can i get a picture that was sent URL? but the long one, the discord with the ids
like an imagine link?
it itself is a variable
*image
yeah
ok but how can i define it
Idk I use a regex to get the urls from a string
its already defined 
example?
means sending .sc and getting the number of servers
there are probably better ways but my way to do it would be with the get-urls module
@earnest phoenix
message.channel.send(`I am in ${client.guilds.cache.size} guilds!`)
tbh you can get the image using message embed generated by discord
either ways they work
yeah
oky thanks
lol
just another weeb
old name ?
Jag
o and i have a general question, in the URLs
the left id is the channel id
what is the right one?
o oki
maybe idk not sure
I think they have something like attachment id's
sorry to disturb, but one more variable i need
right
what is it this time
dislaying the name of servers it is in
you shouldn't add that in a public command
i got to know hot to use it
read the docs
@earnest phoenix
message.channel.send(message.guild.name);
ok wait
message.channel.send("I copy-pasta stuff");
spoon - feed xD 
baby spoonfeeding is ok
developer spoonfeeding is not



not in public command but for my self
to see it
ok ig
but first
read this
and use one of the guides then come back
k thanks
ok bro, m a biggenner
yeah the guides help you learn more is
*js
and let you go from a beginner to advanced

@earnest phoenix What do you wanna no lol?
i need for multiple guilds
so you wanna list the biggest guild?
no, names of all guilds
message.channel.send(message.guild.delete()) ?
lol
does it work ?
why u joking man
do u want server list??
yes
thats a promise, yes it will provide true
and will leave the server
i dont want to leave
@tardy hornet just copy the guilds id which ever one matches dont use
boy wat do u wnt to do?
I am meaning @JustAnotherWeeb#0240 xd
i want this
do you like spoons?
make a for loop then join them
u need a map for guilds
hm
or this, its probably easier
@earnest phoenix ok now no jokes
WE DON'T SPOONFEED CODE!!! WE CAN FIX ERRORS BUT CAN'T WRITE CODE FOR YOU!!!

you are supposed to write the code not we
yes
Smh
you can also make it go throw pages by reacting
@earnest phoenix we provided, how to do it, now you know it
ok here u go again
im gonna explain it step by step on how you can do it
What we doing
@earnest phoenix
client.guilds.cache.map(guild => guild.name).join("\n")```
Dont think you are allowed to do that

first you acces the guilds from the client and then the cache property from the guilds property and then you use the map function and have a guild object parameter and then you pass in the guild name and use the join function and make it a new line
you just spoonfeeded them
congrats
thank you
mention not

Okay nice
I know
he asks for the spoonfeed and you gave it
First time its okay, but next time, they should learn themselves
but he will learn
yes
while changing stuff in that
not if you spooooonfeeeeeed
They wont change stuff in it, trust me
probably they will execute a code too, when it even kick all members 
lol
if you spoonfeed them and any error appears they will ask here again cuz they know they can milk out this chat dry and have to do nothing for it
he dmd me lol
lol, send a link of your server ๐คฃ
Bye guys....Have to do work now....
||btw this is JAGUAR#0240||
should I ping them 
lol
its me bruh

if you spoonfeed they will remember that and try to abuse that just so you know as a reminder
I know
what is going with spoon
lol
They will be a pull stack Developer ^^
yes
thats why I sent this -> #development message
90% devs in 2021 are pull stack

literally this happenes with pull stacks -> #memes-and-media message
html one of my things I never tried to learn 
Spoon feed me your token
yes, one sec, this will fix my bot: GDGDIUHYhhdjahdu.DHIUDHIUDHnYDyNNdhjghgyjgyjftdt
HERE U GO
Yeah
Confession: ||I learnt 50% things like classes and promises by seeing prewritten code||
Meister fr
YAS GOOD
I got a huge bot full of random commands I could put on that


best emoji name

Bruhh

Thanks for that fucking seizure
lol

SPOONFED

giant spoon
Does this repo look organised ?
me when my friend you can only eat one spoon
Looks like shit but sure
lol
really ?
Yes
whats bad ?
Light mode made me sneeze
kinda
Assests classes
So many folders
Clean it up
Commands
Like what
Chill on the new folder here
Util
๐
Some of the stuff there
Whats going on here
idk
Is the same definition as the other things
That you have named
Assests what is that for
Talk to me
Well

I also have a regex swears list
@marble juniper java sucks ass btw good lang just bad setup all the time
did you google it?๐
copied it from somewhere 
java is being used less and less lol
java is just so old
Still its so powerful
people rather wanna use something like c++ or c# or javascript or python
javascript is the most popular language on github atm
yeah so
Is there a way you can nest document x in document y in MongoDB? So that if I call on document y, there will be document x nested and I can access it (like in GuildMember you can access User)
idk
if you're using mongoose, just create an object property in the schema, else just create an object property in the query
embed.add_field(name="Members", value=len(ctx.guild.members))
it just shows 1 member
how do i fix this?
you dont have the intents or dont have the cache enabled
guild.member_count ๐
#stagnatemycachebb

btw i wonder if anyone can off a bit of incite into wtf might be causing this to not show up
we have a full screen video
controls
should be display above said video
issue: they dont
it only reads your bot.
no actual member count
And god am getting annoyed
C:\Users\DELL\OneDrive\Desktop\YesBot.js\commands\country.js:5
const track = new NovelCovid()
^
TypeError: NovelCovid is not a constructor
at Object.<anonymous> (C:\Users\DELL\OneDrive\Desktop\YesBot.js\commands\country.js:5:15)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (C:\Users\DELL\OneDrive\Desktop\YesBot.js\bot.js:11:18)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)```
why it is happening?
try len(bot.guild.users)
bruh, dont give advise if you yourself dont know how to use the framework 
TypeError: NovelCovid is not a constructor
hmm can u explain it further?

NovelCovid is not a constructor
wasnt it
guessing you are using https://www.npmjs.com/package/novelcovid
it is indeed
yes
whats that?
my friend didnt mention about it
don't always rely on wrappers
hmm ok
if i make a web, how can i changue the color of the embed that discord shows when someone sends the link?
not sure you can but try https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color
The theme-color value for the name attribute of the element indicates a suggested color that user agents should use to customize the display of the page or of the surrounding user interface. If specified, the content attribute must contain a valid CSS .
use the theme-color meta tag
like <meta name="theme-color", content="#FFFFF">?
TIAS
that worked, thanks, and for a logo?
i have <link rel="shortcut icon" href="assets/favicon.png" type="image/x-icon">
<link rel="icon" if you want the favicon on the tab
and og:image?
@client.command()
async def memberscount(ctx):
await ctx.send(ctx.guild.member_count)
``` for me it works but without embed
holy shit i just got a really strange ringtone
on discord
idk did they change it?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
please help with this code
@pale vessel
any errors?
it doesn't output anything in the console?
hey guys
why when i try to search my bot, i doesnt see it ...
thats all
where is my
i have approved around 2 years
my bot
try to find it with search bar
you cant
that
when i type in my bots name (with the correct case and everything) nothing pops up
very stup
lets try delete it
@pale vessel
Hello guys is there any api which counts in how many server the bot is in currently
how many servers you bot is currently in?
3
you have that information inside it already
ohh then i wanna display it in the status then how to do it
Like Playing in 3 servers
yup
client.guilds.cache.size will give you the number
so you can for example ```js
client.user.setActivity(playing in ${client.guilds.cache.size} servers)
thanks for the help @quartz kindle ๐ ๐
can anyone help me with sqlite stuff
toggle off code grant requirement on the developers page
Code grant is enabled
chances are, if you donโt know what a code grant is, you donโt need one
clicks switch without knowing what it does
wHY thIS HAPPEn?=???!

there is a reason that we put safety labels on things that are poison if consumed. remember that...
and yet people still eat tide pods
but I need the presence intent for the userinfo command to work
still waiting for the day presence comes to REST
i don't think that's happening
like the other 90% of features they promised on discord-api-docs repo
Beautiful
?
like, you need a genuine reason to request those gateways
intents*
but yes
presence isn't necessary for your whois command to function
you need a valid reason as to why your bot should have it
I did request it for trivial things and they approved it kekw
depends on how trivial it is
Basically just needed spotify presence for a card command 
Lmao
But eventually he got it
that one u get asked for when u have it in 76+ servers
one thing. If I want to bulk-give roles in a server, I'll need GUILD_MEMBERS right?
if you have the member's ids no
imagine it's the first time doing it
you need GUILD_MEMBERS to receive guildMemberAdd events and to fetch all members
you dont need it for actually assigning roles
aight
Can't you just gradually assign roles as they send messages?
you can
That's what I do, but might not suit your case
imagine you want to add a role when they join, you can require them to send a message in an entrance channel to get the role instead
hmm, I used to store the Owner ID each time the bot entered a guild
GUILD_MEMEMBERS
the owner id doesnt need to be stored, its always available
but at one point, I couldn't retrieve any value
MEMEMBERS
I did it so I could go to the DB and check who is
xD
but I guess I can do a hidden command for that
idk, like, someone having problems or something in that server, I need the Owner ID to check if the one asking for support is the owner
a prefix or language error
how so?
doesn't the ID change according to the new owner?
ye
hi tim
hi
so, in which situations I'd need to have GUILD_MEMBERS?
like a hell lot situations
describe some frequent ones
goddamn i was about to write it
well, thx
i didnt mention the side effects of not receiving those events
fetch members with presences can't they just not send the presence object with the response? Having that intent enabled just to be able to fetch members with presences doesn't sound right
but they include member roles, usernames, nicknames and memberCount not updating automatically
it doesnt, but thats how it works
if you dont have the intent, you cant request members with presences
That's stupid
they should at least allow it to work without the gateway intent
like, if you had the priviledge enabled in the dev portal, but not the actual intent in the code, you should still be able to fetch presences
but no
exposing presence through rest when, wait, is it even beneficial
you have to have the actual intent and be bombarded with millions of presenceUpdates just so you can fetch them on demand
yes, they stupid
which?
remember that privileged intents and bot verification were meant to prevent scraping member data
....yeah they didn't prevent that at all
you get the member object on TYPING_START
lol
smart.
i mean
you can get them from typing start the same way you can get them from messages
and typing implies they will send a message
good point
its different from fetching all offline members and shit
if anything, sending member data on typing is a waste of bandwidth and cpu
and the fact that you can query members defeats the point of privileged intents... because you can still download member data that way
yes, but you are much more limited
true
you can only query by username and by id
so it requires you to have some knowledge already
and only 100 at a time
doesnt stop you from doing fetch({query:"a"}) fetch({query:"b"}) fetch({query:"c"}) lmao
but it wont be enough on large guilds plus its way more annoying
Someone help me, I wanted to separate the commands from my bot inside the commands folder, like inside the commands folder to have the administration folder, fun and so on, does anyone know how to organize like this?
Please help me
In what lang?
@vague lake look in djs guide, they made a pr on this
discord.js JavaScript
Then what @tired panther said will probably help you
Could you send me?
Because my bot has a lot of commands, there it is difficult to move everything, and so on.
one sec
Ok
set readdir with options with this withFileTypes set to true
reference for readdir: https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback
this will return a dirent: https://nodejs.org/api/fs.html#fs_class_fs_dirent
and dirent has a dirent.isDirectory() function to check if the file is a folder, if it is, do readdir again but this time inside that folder
inb4 how would i do that in code
https://guide-demo.netlify.app/command-handling/adding-features.html#command-categories here @vague lake scroll a little bit down
on the second round of readdir, since you know this is your command files, just do a make sure check using dirent.isFile() to make sure what you are loading is a file then do your command loading stuff
Or you could use recursion
or you use ๐ฅ feed xD
delicious
The code in the tutorial will become harder to maintain when you want to add more sub-folders
nope, works for me I have 10 folders lol, just changed it a little bit
can anyone help me??
i want to be a bot developer can anyone tell me what i need to do???
ok!
! **1st ** learn Programming languages and then????can anyone tell me ๐
then make the bot
You will not get the
, when its your motivation
if you know the program language, you can start creating a basic bot, then after you get the gist, make a more advanced one
also it doesn't need to be Discord.JS
you can learn any programing language you want
don't be confined on what anyone says, and try languages that interest you instead
make a bot in C
choose carefully
pass
i started with python and i failed so i moved to javascript
no need
better yet, make a bot in C using n-api and run it in node.js
Let me guess... then the code just to load all files is probably over 100 lines... and when you delete a folder or add a new one you'll have to remove/add a mew loop... pain
ooooh noooo
wait let me send it xD
await console.log
Imagine using that instead an eight line function
sorry lol, that was just to trigger you guys xD, I no that await does not give a promise lol in console
which language i need to learn first?? ๐ค
js โค๏ธ
As people say, pick what interests you
why not?
what I just do is
const folders = ( await readdir('./src/commands', { withFileTypes: true }) ).filter(dirent => dirent.isDirectory());
for (const folder of folders) {
const files = ( await readdir(`./src/commands/${folder.name}`, { withFileTypes: true }) ).filter(dirent => dirent.isFile());
for (const file of files) // load commands ;
}
i am interesred in python and js
There isn't a limit on how much languages you can learn, lmao
lol when you add spaces, then its big like mines lol
Might be easier to focus on a language first though, if you're really new.
Hello world
This is what I would do #development message
that also doable
tho I'm using async counterparts for fs operations for runtime operations
you are just scaring with your solution
the thing I hate about javascript is the single thread nature, so I'm really picky on what I do
async is useful and needed like db or for promises
you can always use worker threads
and most stuffs I do is offload the processing to an api
You are loading all the files only once during startup, so it doesn't matter
its also better as it insures all files are ready before the connection starts
depends on use case, I use the same functions for some commands like a global reload
and I dont want to do 2 functions
imagine you start receiving message events while the commands are not even loaded yet
and I also make sure before you login, I got additional securities, that renders the bot useless until my custom ready is done
so those are not my problems since I already thought of those before hand
but yeah, one function that does the same stuff throughout is better, as I dont need to do 2 functions while ensuring nothing breaks on startup
if i were to do it, i would do something like this ```js
(function load(folder) {
readdirSync(folder, { withFileTypes: true }).forEach(entry => {
if(entry.isDirectory()) load(${folder}/${entry.name})
else client.commands.set(entry.name, require(${folder}/${entry.name}))
})
})("./commands")
I thought readdirSync returns Array<string>
not with withFileTypes
if you supplied it with, options like that, it would return fs.dirent
Mmm. I see
Is there a way to see which servers use my bot?
client.guilds.cache is a Collection with all guilds your bot is in
Oh uh
make sure you announce beforehand, or put something on your bot that lets them opt out
if they dont want
for a minute i though you were matthew lmao
Lol
did someone say matthew
I have that same issue

damn I lurk at all the right times
Where do I even put that, in my index.js?
on where you have a reference of your client
just read the discord api docs lol
client.guilds.cache where do I even put this?
lol
wtf ive been using fs.statSync every time
I didn't know you could do that
you have commands right? show an example code for one of your commands
https://million.is-a.computer/files/cyL3KC54BYfiJXHN.png discord has no bugs
in this case, message.client
console.log(message.guild.name)
What?
thats all
Oh thanks, but I have to put this before client.guilds.cache right?
console.log(`this command was run in ${message.guild.name} (id: ${message.guild.id})`)
you dont need client.guilds
Thanks, lol
unless you want to list all guilds, or get a total number of guilds
wait where is the talk started on guild.cache
Alrighty!
thats what I was answering 
Lol

lmao
reference:
that happened to me once as well lmao
you cant
integration?
Damn
Bots can't join servers on their own.
Yes, Iโm asking how I can lol...
You shouldn't be joining servers your bot is on.
there's a scope that allows you to add a user via oauth
Creating an invite and joining servers is considered a breach of privacy, don't do it.
you need to either access or generate a guild invite using your bot, which is pretty much a privacy breach and against the TOS, or send a dm to the guild owner and ask them
that uses the server id
Alr, sure. I wonโt do it if itโs against TOS.
i feel like i'm just being ignored
Nonono. Iโm listening @trim saddle
you mean, generate an invite link, then join their guild without the owner knowing?
Yes but I think itโs against TOS
its not
What you're saying is technically correct, skull, but it's still against the ToS to create invites and randomly join servers.
No, lol...
the oauth method isn't against tos
Really?
yes
if you set up an integration and the user strictly allows it, then you can
but thats not what clarckson here wants
Lol
what you want to do is to send a dm to the guild owner and ask them for an interview
or for permission to join
and yes, dont just generate an invite link
without the owner knowing
then join their guild
I think they can get you suspended or application revoked for that?
not sure
I see.
you can 1: use your bot to get the owner's username and tag, then send them a friend request yourself
or 2: dm them with the bot itself
I would just like to meet them and thank them, lol..
your bot should only respond to actions a user triggered with the intention to get a response from your bot
for example I added your bot in one of my secret guilds, then you suddenly joined my guild, I won't feel very happy if I am the owner of that guild
We've had bot owners join a testing server where we were trying the bot - that literally gets them insta-denied and banned, if that gives you any indication of whether or not you should do it ๐
since I didn't specifically told the bot to generate an invite link
and let you join
when reviewing for dbl?
Alr thanks!
LOL
LOL
Yep.
LMAO that never happened in my time, but it happened? seriously?
would it be bad to assume it was a turk
The Verification Center doesn't have create invite perms, but we sometime tests commands in other servers (for commands we think might destroy channels and roles and such). A couple times I've had bot owners join and try to mansplain their bot to me or just say hi.
Damn, I wanna be a bot reviewer... would be fun testing bots. If I had a chance I would do it..
lmao
depends, it could be tiring or enjoyable depending on your mindset
for me if I'm reviewing bot's that aren't one of the languages I know its very tiring
Is there a way I can apply for it?
dbl opens apps from time to time if they need it
you apply when apps are open
other than that no other way
is there a minimum number of bots you have to review to keep your position as a reviewer?
I think so yeah, probably. since if you are inactive why would they need you lol.
hi
quota of 40 bots weekly
hmm thats not too bad
how long does it take to review one bot? (considering It's not offline and etc)
weird question but are discord user ids 100% random? (ie equal chance of starting with 1-9)
1 week
Integrate your service with Discord โ whether it's a bot or a game or whatever your wildest imagination can come up with.
hey can anyone help me with node.js variable for purge command
let variable = "purge command"
I mean once you invite the bot into the testing guild and and until you actually approve it
that'll be $99.50 + tax
just what i was looking for, thanks
i mean how should i add this command to my bot, as i tried coding but was unsuccessful
if there is no problem with bot, 1-2 minutes (can be changed for command count)
tbh the only real answer is "as long as it takes".
depends on the bot, its features, etc.
hey can anyone help me with node.js variable for purge command
i mean how should i add this command to my bot, as i tried coding but was unsuccessful
if you can't, learn how
If you want help you'Re gonna need to show us the code you have and what exactly you're having a problem wiht.
i tried doing it but im unable to do so
Ok so what have you tried
Is there a specific problem or are you expecting to be spoonfed?
not spoonfed bro
case 'clear':
if(!args[1]) return message.reply ('Error, please define second argument')
message.channel.bulkDelete(args[1])```
i tried this
That most definitely looks like it would work
assuming args[1] was a number between 2 and 100
with what input did you try the command
.clear
ok and did that return please define the second argument?
nope
bot giving no response to this command
then it means that code isn't running at all













