#development
1 messages ยท Page 1282 of 1
you can't make up your own properties
@earnest phoenix lmao warnable worked
sure it did
wdym
if(thing) do stuff
oh I forgot
since thing.notexistent is undefined
lol
if(obj.x), if x is not a boolean it will check if it's defined
if(obj.x), if x is not a boolean it will check if it's defined
@earnest phoenix Oh I understand
HELP IT DIDNT WORK @opal plank
boolean, number, empty string, null, nan, a lot of shit
if (!member.isProbablyGod) { client.channel.send('ik u r butt wat am i? :mmLol:') }
@earnest phoenix OH NO! REPORT BUG DISCORD QUICK! Did you try turning your bot on and off to see if it works? Try restarting your router too
If you press F1 you'll get discord premium help
Did you know Electron has a minigame just like Chrome? Chrome has the t-rex jumping game when its offline. Electron also has a game, its hangman game. If you want to play it, simply press Ctrl + Shift + i and type process.hang() to play hangman on it
@faint prism
hey just a tip for those who get removed because nekos.life, use waifu.pics, basically same thing but nicer and no loli

process.exit(0) seems more fun
while you're at it, there's a code for free nitro in the networking tab
where it says Authorization send that in chat and you'll get free nitro !11!11!!11!
@earnest phoenix they removed that
they didn't
they can't
lol
They store it somewhere else now
you can still intercept your token by checking the sent packets

@faint prism how was hangman
Pretty good until my window closed
const Discord = require("discord.js");
module.exports.config = {
name: "warn",
aliases: []
}
module.exports.run = async (client, message, args) => {
const logchannel = message.guild.channels.cache.find(ch => ch.name === "log-channel")
if(!logchannel) return message.channel.send("Cannot find a log-channel.\n\n:warning:`you cannot currently change to a custom channel`")
let perms = message.member.hasPermission("KICK_MEMBERS")
if(!perms) return message.channel.send(":x: **You don\'t have permission to run this command!** :x:")
let user = message.mentions.members.first()
if(!user) return message.channel.send("Please specify a user to warn.")
let reason = args.slice(1).join(" ")
if(!reason) reason = "Unspecified"
const warnembed = new Discord.MessageEmbed()
.setTitle("User Warned | " + user.user.tag)
.addField("User Warned" , `${user}`)
.addField("Warned by" , `${message.author}`)
.addField("Reason", reason)
.setFooter("Modicus | log-channel")
.setColor(0xff2e2e)
try{
const embed = new Discord.MessageEmbed()
.setTitle("WARNED")
.addField("Read!", `${user} you have been **Warned** by ${message.author} in the server **${message.guild.name}** with the reason of \`${reason}\``)
.setFooter("Time warned", message.guild.iconURL())
.setTimestamp()
.setColor(0xff2e2e)
user.send(embed)
} catch (err){
console.log(err)
}
const embed3 = new Discord.MessageEmbed()
.setTitle("WARNED")
.addField("User Warned", `${user} has been successfully **Warned** for \`${reason}\``)
.setFooter("Modicus | Warn")
.setColor(0x75ff58)
await message.channel.send(embed3)
logchannel.send(warnembed)
}
Bruh I want it so u cant warn yourself also someone that has a higher role than the bot itself
pls help
guess we will never know how it ends
text
pasting
@earnest phoenix tf u talking abt
OMFG
acatually BOTH are there
Barely fits on my ultrawide sideways
@earnest phoenix
Authorization is indeed still in header
there needs to be a rule like in DAPI to disallow sending code blocks that are >5 lines
or a "show more..."
100% agreed
lol
https://gyazo.com/f9a6e4d8bdb7f2094c0ac473ca609589
@solemn latch tf u blocked me bith
heheheh
lmao
const Discord = require("discord.js");
module.exports.config = {
name: "warn",
aliases: []
}
module.exports.run = async (client, message, args) => {
const logchannel = message.guild.channels.cache.find(ch => ch.name === "log-channel")
if(!logchannel) return message.channel.send("Cannot find a log-channel.\n\n:warning:`you cannot currently change to a custom channel`")
let perms = message.member.hasPermission("KICK_MEMBERS")
if(!perms) return message.channel.send(":x: **You don\'t have permission to run this command!** :x:")
let user = message.mentions.members.first()
if(!user) return message.channel.send("Please specify a user to warn.")
let reason = args.slice(1).join(" ")
if(!reason) reason = "Unspecified"
const warnembed = new Discord.MessageEmbed()
.setTitle("User Warned | " + user.user.tag)
.addField("User Warned" , `${user}`)
.addField("Warned by" , `${message.author}`)
.addField("Reason", reason)
.setFooter("Modicus | log-channel")
.setColor(0xff2e2e)
try{
const embed = new Discord.MessageEmbed()
.setTitle("WARNED")
.addField("Read!", `${user} you have been **Warned** by ${message.author} in the server **${message.guild.name}** with the reason of \`${reason}\``)
.setFooter("Time warned", message.guild.iconURL())
.setTimestamp()
.setColor(0xff2e2e)
user.send(embed)
} catch (err){
console.log(err)
}
const embed3 = new Discord.MessageEmbed()
.setTitle("WARNED")
.addField("User Warned", `${user} has been successfully **Warned** for \`${reason}\``)
.setFooter("Modicus | Warn")
.setColor(0x75ff58)
await message.channel.send(embed3)
logchannel.send(warnembed)
}
Bruh I want it so u cant warn yourself also someone that has a higher role than the bot itself
for real
he did it again
can we not?
can someone help
lel
the absolute madman
i refuse to even look at that code untill its on awoo
lmao
@unique patio Bruh I want it so u cant warn yourself also someone that has a higher role than the bot itself
thats all Im asking for
No one will code for you.
Just check if the mentioned user's id is same as the message author
And for higher roles, compare role positions
If that sounds like what you want, now you know how to implement it
Who's up for a challenge in finding an Easter egg
I hid an Easter egg on my bots website
it's not easter yet
how many months of nitro do we get?
Who will be first to find it
gib website
send the link
i find
What's the website url
None, the Easter egg is its own reward
None, the Easter egg is its own reward
@green kestrel send link
ads are getting smarter
@opal plank lmafo

Look on triviabot.co.uk see if you can find it
Staff of my server not allowed to give away the egg
Yup
Flare
Looks registered today
No, the site was registered in 2006
Your account to them
hmmm
It's not Easter @green kestrel
What am I supposed to be looking for?
How do I detect http status in node-fetch?
How do I detect http status in node-fetch?
@earnest phoenix should be a property of the response iirc
i mean i found shit im not suppose to see
@opal plank like what
like your whole pushed down out of bounds Powered By Google
Lol yeah
wtf is this
And that's not the Easter egg either
An svg
It's the DTD
Guys I found a hotdog with cum on top of it outside rn what should I do with it?
Hmm that's something to do with Google translate widget
Guys I found a hotdog with cum on top of it outside rn what should I do with it?
@opal plank
im looking at the translate script
Yeah I don't dig around in that
but looping thru each language to see if one of them is a fake one is within bouts
bounds*
It's hairy
What's the easter egg about?
@cinder patio it's something that the site does that you don't expect it to do, when you do something you wouldn't usually do
im assuming im not gonna have to scan for hidden enpoints, right?
cuz im really not feeling like booting linux rn
@green kestrel
sure, i already read the whole source and havent seen anything fishy
code message DM SEND GLIUD
i skipped all the google translate stuff
discord.js
You donโt DM a guild
The unittest file maybe? I dunno what's going on over there
i was even checking for negative filters on the images
Yup
yooo
Iโll be in a sec
They hadn't found it
who wants to ply some among usss
Easter egg hidden on triviabot website
whooo
If you find it DM me don't give it away lol
guys, any command idea to the name Darling? since that's my bots name I want to have a command simillar to it's name

guys if bot edit message alot of times will that cost api spam?
yes
do u know how much times will cost api spam?
lol
I think so
where is even that?
@opal plank dm
thats hilarious
const Discord = require("discord.js");
module.exports.config = {
name: "kick",
aliases: []
}
module.exports.run = async (client, message, args) => {
const logchannel = message.guild.channels.cache.find(ch => ch.name === "log-channel")
if(!logchannel) return message.channel.send("Cannot find a log-channel.\n\n:warning:`you cannot currently change to a custom channel`")
let perms = message.member.hasPermission("KICK_MEMBERS")
if(!perms) return message.channel.send(":x: **You don\'t have permission to run this command!** :x:")
if(!message.guild.me.hasPermission("BAN_MEMBERS")) return message.channel.send('I don\'t have the right permissions.')
const member = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
if(!args[0]) return message.channel.send('Please specify a user to kick.');
let reason = args.slice(1).join(" ")
if(!reason) reason = "Unspecified"
const warnembed = new Discord.MessageEmbed()
.setTitle("User Warned | " + user.user.tag)
.addField("User Warned" , `${user}`)
.addField("Warned by" , `${message.author}`)
.addField("Reason", reason)
.setFooter("Modicus | log-channel")
.setColor(0xff2e2e)
try{
const embed = new Discord.MessageEmbed()
.setTitle("WARNED")
.addField("Read!", `${user} you have been **Warned** by ${message.author} in the server **${message.guild.name}** with the reason of \`${reason}\``)
.setFooter("Time warned", message.guild.iconURL())
.setTimestamp()
.setColor(0xff2e2e)
user.send(embed)
} catch (err){
console.log(err)
}
const embed3 = new Discord.MessageEmbed()
.setTitle("WARNED")
.addField("User Warned", `${user} has been successfully **Warned** for \`${reason}\``)
.setFooter("Modicus | Warn")
.setColor(0x75ff58)
await message.channel.send(embed3)
logchannel.send(warnembed)
}
Anyone help?
I got an error
@opal plank
One message removed from a suspended account.
yeah join ๐
One message removed from a suspended account.
One message removed from a suspended account.
just gonna block
@opal plank dude I got an error
One message removed from a suspended account.
One message removed from a suspended account.
or are you still copy pasting
@sage bobcat learn
One message removed from a suspended account.
One message removed from a suspended account.
Oh be easy,
One message removed from a suspended account.
One message removed from a suspended account.
wait
What's a promise
In programming
(I think i went too far)
(node:19068) UnhandledPromiseRejectionWarning: ReferenceError: user is not defined
at Object.module.exports.run (C:\Users\admin\apemodicus\commands\kick.js:26:33)
at Client.<anonymous> (C:\Users\admin\apemodicus\index.js:40:34)
at Client.emit (events.js:315:20)
at MessageCreateAction.handle (C:\Users\admin\apemodicus\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (C:\Users\admin\apemodicus\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (C:\Users\admin\apemodicus\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)
at WebSocketShard.onPacket (C:\Users\admin\apemodicus\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (C:\Users\admin\apemodicus\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\Users\admin\apemodicus\node_modules\ws\lib\event-target.js:125:16)
at WebSocket.emit (events.js:315:20)
(node:19068) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19068) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I got this error
One message removed from a suspended account.
Define user
One message removed from a suspended account.
It literally says
One message removed from a suspended account.
lmao
One message removed from a suspended account.



One message removed from a suspended account.
ouch
Changes the name of the user variable to member and complains that he got an error
tonight on top gear, hammond is in shock, james laughs and i also laugh, all because of someone claiming they learned js
One message removed from a suspended account.
Hi, I need help with Postgres
Anyone know how to generate auto increment field in select query postgresql?
One message removed from a suspended account.
One message removed from a suspended account.
var i = 0?????????????????????????????????????????
One message removed from a suspended account.
One message removed from a suspended account.
โค๏ธ
One message removed from a suspended account.
lol
One message removed from a suspended account.
yea its in js highlight
i= 0 vaf gives me error
One message removed from a suspended account.
๐
0x000
nah @sage bobcat its 0 var = i
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
I got it guys,
0 var = i
0.i("hacks").getUserchannel("2945935983589358935"
output(channel);
I got it.
Oh man, I forget how to be noob. ๐ฆ
0x000
0x00
hey, i'm trying to find the last user that added a role to someone on a guild (using djs) ans that's what i've made :
let log = member.guild.fetchAuditLogs().entries
console.log(log)```Which returned undefined. Any idea ?
throw err;
^
Error: Cannot find module 'glob'
Require stack:
- C:\Users\ACER10\Desktop\Embed Master New\Structures\Util.js
- C:\Users\ACER10\Desktop\Embed Master New\Structures\GrizzClient.js
- C:\Users\ACER10\Desktop\Embed Master New\bot.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (C:\Users\ACER10\Desktop\Embed Master New\Structures\Util.js:3:24)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\ACER10\\Desktop\\Embed Master New\\Structures\\Util.js',
'C:\\Users\\ACER10\\Desktop\\Embed Master New\\Structures\\GrizzClient.js',
'C:\\Users\\ACER10\\Desktop\\Embed Master New\\bot.js'
]
}```
WTF
help
i tired npm install glob
@cobalt spruce looks like your asking for the "glob" module isn't installed
try uninstalling, restarting code editor and reinstalling
No, I think they just need to npm install glob
Yup
hey, i'm trying to find the last user that added a role to someone on a guild (using djs) ans that's what i've made :
let log = member.guild.fetchAuditLogs().entries console.log(log)```Which returned undefined. Any idea ?
I ran out of money and had to change to heroku, anyone knows what this error is/how to fix it? Error: FFmpeg/avconv not found!
helllo everyone
@wintry elk ููุง
@earnest phoenix ููุง ู ุง ุดุงุก ุงูู ุดุฎุต ุนุฑุจู
ุญุจูุจู ูุงููู
@wintry elk @earnest phoenix english here
ุงููู ูุญุจู ูู ูุงุฆูุชู
@opal plank yah we know
then why you do it?
@earnest phoenix come to private
@opal plank Channel for chatting about (bot) development. If you have questions, ask the questions and wait for someone who can answer to help you. Do not ask to ask. Provide all possible information so people know what's up. Just saying "I get an error" doesn't give us enough information on your problem. Do not @mention people randomly.
nope
@modern sable is this channel allowed for non english?
not really
and there you have it @earnest phoenix
@modern sable yes tell them
Non-English only in #general-int
^^
thats not even racism
dbl confirmed racist
thats people wanting to understand you
It's also hard to moderate languages moderation team doesn't speak ๐
also imagine the clusterfuck of 5 people talking in differwent langs at once
One message removed from a suspended account.
user.ban(reason)
.catch(err => {
if(err) return message.channel.send(':no_entry_sign: **Something went wrong!** :no_entry_sign:')
})
I get a error when I executing the ban command?
x I could not join the voice channel, because: Error: FFmpeg/avconv not found!
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
USER ISN'T DEFINED
@sage bobcat yes I defined it
I switched to heroku, becayae I ran out of money what is this error?
@ancient nova npm i ffmpeg-static iirc
One message removed from a suspended account.
One message removed from a suspended account.
whats the error then
@sage bobcat idk I think it isuser.ban(reason)bc u cant see the err bc its catch it
One message removed from a suspended account.
One message removed from a suspended account.
its the only thing that bans the user
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
do you even know what
tryandcatchdo
@sage bobcat Im learning but should I try it?
then define reason?
@sage bobcat I alrdy did
One message removed from a suspended account.
@misty sigil alright, installed, if I linked heroku to my githuh repo do I put the package name manually in the "package.json"?
One message removed from a suspended account.
yes
alright
@misty sigil alright, installed, if I linked heroku to my githuh repo do I put the package name manually in the "package.json"?
@ancient nova yes
One message removed from a suspended account.
whats the error dude
@sage bobcat I cant see in my Terminal bc it cathes it
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
I k
One message removed from a suspended account.
One message removed from a suspended account.
hm wait
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
@misty sigil still gives the same error
One message removed from a suspended account.
One message removed from a suspended account.
fatal: unable to access 'https://github.com/xxx/xxxxxx': schannel: failed to receive handshake, SSL/TLS connection failed
``` sorry but how
idk what happened but it was a one time thing
still gives the same error, I have put the dependency into package.json
...then tell me how
what you are doing is the equivalent of copying a game shortcut on your desktop
it's my first time using heroku
install it first
I did
i assume heroku has a npm terminal
yep
if you did it should automatically update it
I installed it
if its not there its not installed
push it from your vsc
can't
why nhot?
guys can any one tell me how i use this
"AQUA": 1752220,
"GREEN": 3066993,
"BLUE": 3447003,
"PURPLE": 10181046,
"GOLD": 15844367,
"ORANGE": 15105570,
"RED": 15158332,
"GREY": 9807270,
"DARKER_GREY": 8359053,
"NAVY": 3426654,
"DARK_AQUA": 1146986,
"DARK_GREEN": 2067276,
"DARK_BLUE": 2123412,
"DARK_PURPLE": 7419530,
"DARK_GOLD": 12745742,
"DARK_ORANGE": 11027200,
"DARK_RED": 10038562,
"DARK_GREY": 9936031,
"LIGHT_GREY": 12370112,
"DARK_NAVY": 2899536,
"LUMINOUS_VIVID_PINK": 16580705,
"DARK_VIVID_PINK": 12320855```
looks like d.js hex codes
I don't know how to do it for heroku
uhh
nope. I just switched like 20 minutes ago, by the past months the vps has been doing it automaticly
i did
how i can use thoes codes
so I need help
use for what?
for exemple Embed
bruh
setColor('RED')
should it be .json?
look
@misty sigil I have installed the package in the Heroku's console and put the dependecy why does it still not work?
i want to make a say embed command
and i want to set color by using comman
command
Like
//say Title text Color
uhhh
can u drop that script on me?
sad
He literally gave you it all though
but i still dont understand
read guide and check example
ok
then read that ^^
after you read the guide @cobalt spruce
for the full options you got
<embed>.setColor('YOUR_FAVORITE_COLOR') isn't too hard to understand
i already gave you all the information
thats racist thoe
frickerooni u
ts is good for that shit
imagine in js
setEmbed(string)
thats it
figure out the options
i love when ts yells at me
its like an annyoing girlfriend
BIG masochist spotted
I love when dotnet screams about type errors for MyObject cannot implicitly be converted to MyObject (because the latter is a T)
if(!pain) pain
I have installed the package in the Heroku's console and put the dependecy why does it still not work?
does anyone know?
this.InAgony ? WriteLine("I'm fine") : WriteLine("I'm fine");
this.isDrunk ? this.fetch(AnotherBeer) : this.fetch(newBeer) @faint prism
And if you're picky. using static System.Console;
void Drink(bool shouldStop)
{
new Beer().Consume();
TotalBeers++;
}
and uuhhh
completely ignores shouldStop lmfao
thats my preference of humor. Smart so it falls under 'small group' and midly dark that you need to be smart to get

imagine having one shard for each guild
@misty sigil help
guys i wanted to make say but like a setup
for ex:
me://test
bot: please chouse a title
me: anything
bot please chouse a description
me uhh
bot please chouse a color
me red
it still doesn't work, what am I supposed to do
any one
guys i wanted to make say but like a setup
for ex:
me://test
bot: please chouse a title
me: anything
bot please chouse a description
me uhh
bot please chouse a color
me red
@opal plank sorry for ping can u help?
message.content
am dum
One message removed from a suspended account.
One message removed from a suspended account.
i dont understand a shot
@cobalt spruce https://discord.js.org/#/docs/main/stable/class/TextBasedChannel?scrollTo=awaitMessages
read that
ok
it works fine if I type evt as Event and not CustomEvent
but with Event I don't get to pass in any details
yeah, i read it, I'm just confused about how I can get the listener to work with my custom event
How do I have my bot DM me when a certain command is used? Language is Python
wdym
?
whose is it?
then make your own interface
afaik event listeners and dispatchers can dispatch anything
just add an interface for both the dispatcher and reciever
well yeah, cuz vanilla js whack
you dont catch 90% of the bugs
I'd say doing <any> is practical if you don't have a data structure for it
I would use unknown or never but that's just me
i'd do something similar
though making a proper interface would be the prefered way
unless your data structure isnt consistent
which it should
I canโt verify my token..
define verify my token
please delete that emote also
Iโve developed multiple bots but this one , isnt letting me host my own bot and get it online.
what emote?
Iโm being vague but English bad
define
verify my token
@opal plank Hi bro, how do you send messages like this?
``text``
ok ty
;-;
Imma just ask another server then ig rip
Iโve developed multiple bots but this one , isnt letting me host my own bot and get it online.
@jade light
Oki ttyl then
Sorry sorry
unless you answer the questions not like im gonna be guessing what your issue is
what error?
Iโm not sure, itโs not letting me run the exe on my desktop
exe??
Does anyone know a page to host my free bot?
which language you coding?
me or the other?
the other
hello
@desert compass pins
ok ty
otherwise you're isolating help to just that developer which puts them under pressure and will probably stop responding and spoonfeeding you
or just be patient like everyone else
i charge $69.69
Hmmm this is going to be annoying
im gonna need some rather advanced SQL queries for this
advanced
what is an advanced sql query 
select 1 + 1 as result hardest sql
check image lol
i've seen sql for months and have never seen a with statement 
can you think of a decent query for that?
WITH is good for functions
you select specific queries from before as result for a new function
i never need to do advanced queries like this
I have an sql query that gets the top users sorted based off several factors ๐ค about as advanced as ive gotten
only if i fuck something up
can you think of a workaround for what im trying to get tho?
i'd be more than happy with something simplier lol
what do you mean by "dump... onto postgress"
table with USER | CHANNEL | CHEERED AMOUNT
once the event CHEER is passed by, i'll just dump it there till someone does a !top10 command or something
those values dont need to be in memory
told ya it was advanced queries 
in ts its kinda simple. pull all entries, filter channel, then for each channel map + sum, then sort
though i'd much rather do that on postgres
though the scale is far too big to be transfering that much data
say 5% of those events are cheers with 1-5 bits
imagine the size of the database
How big is it
50 kb
i dont have it setup yet, i need to figure out how to do it beforehand
Imagine you have to run a db for continuesly lookups
good luck importing 12 million entries on memory @boreal iron 
i dont think even redis is a good use for that many
imagine not hardcoding all of the entries, and nobody can use the bot without you putting it into an array
smh
hardcodedArr[author.id]

Whatโs wrong with Shitcord
Can u see my image?
yes, yes i can
Poor boy

What are u trying to do?
trying?
i already did yesterday
borboss asked me to help him with generating a dictionary
a,b,c,c .... aa,ab,ac,ad....aaa....
lets just say that shit gets big QUICK
yes
Uhh
exponential stuff like that is dangerous
i think it generated a million or so with only 3
Just for science or do u really need that stuff?
science
i just did it for fun
lol
its harder than it looks tbh
Code language?
ts
i wrote it in ts, dunno if u changed it
i changed it
try running it with index of 10
i can try running it on my vm
Patience
code for making the bot custom status to "watching"?
language?
discord.js
look at the guide
which file do i put the code in?
setPresence?
depends on your setup
Im using visual studio code
we dont know what your file structure is, so we cant say
....
thats just an editor
?
vsc is an editor, it doesnt really mean anything here
you can technically code in photoshop cant you?
they have plugins i think it has a plugin editor
code for making the bot custom status to "watching"?
can tell from the first word
just make an image where it corresponds to code
smh
sent you what you needed
isnt there a dashboard bot?
bye ion need your help
// Set the client user's activity
client.user.setActivity('discord.js', { type: 'WATCHING' })
.then(presence => console.log(Activity set to ${presence.activities[0].name}))
.catch(console.error);
i know what code i need
yea
yea like the !d bump
isnt that just a bump bot

what file do i put it in
no idea
no clue
what files you have
^^
Im "new" to this and im not taking "unable to make a bot" as a answer Im not giving up lol
i feel dumb
theres a wide array of ways to make a djs bot, just saying "what file???" means nothing
]
ok thankyou
was gonna send this https://recolour.is-inside.me/C57JpvbC.png but looks like you figured this out
file structures can look like anything
oh
??
i have the code and stuff i hid the code because my token is in it
Ah alright
wait another question idk if its off topic but if im using a skylink vps to host my bot and keep it online will i need to keep my laptop on all the time?
if its running on a remote vps you dont need to keep any hardware on
https://discord.skrrt.cf/315xbuct.png
Anyone know how to fix this?
check if note exists first
note is null, so either your not setting it how you want, or its supposed to be, but your not checking first.
iirc bots don't have access to user notes anymore
And, the only time I've seen this error, is SOMEONE USING A SELFBOT
we caught him bois
looks like djs
modified lib

didnt think i would see a selfbot using a modified lib
rip u caught me
cof cof @split hazel cof cof
not modified lib tho
yes
cof cof possible selfbot admitting cof cof
Yeah don't do that, it's against the terms of service, and you can be banned for that, very easily.
cof cof i havent used it
i swear it lets you use a user token
that error cannot happen on bots, it has to be a selfbot.
it doesn t
the code is just the var note
And if you're getting that error, you are literally trying to use it.
๐ค
^^
i have no talents to make bots-
i see
none of us has talens for making bots
we just put together scraps till tis acceptable

me waiting https://recolour.is-inside.me/bNalklNp.png for the bot to respond after i generated an alphabet x100
ye
i use bot ghost- which i feel like i shouldnt >.> i wanna learn how to code but ive never done it before ssooo
26^101
you doing 100
yes
i hope your pc has insurance

built it
prob gonna fail to write it all
the likelyhood of a write error on disk with that much shit is probably moderately high
not like you'll be able to open it anyway
at LEAST do 20 or something
100 is way too far
you need to kill the process first
no
NOW try it
lul
who would win?
One powerful bot that is currently generating thousands of entries in a dictionary per second
or one task manager boie?
make the bot do homework for u

OCR to detect text/equations, run them on api, if nothing found, run on google and return most likely result
boom, Homework bot
i want royalties if someone does it
erwin
thats
a terrible idea
especially with digital homework
cause these sites have new question banks
i cant find the answers

exactly why i said run it on google

google always has desperate people like you who ask around for the answer
its like r34, if there is no answer, make it happen. If someone didnt ask before, ask it yourself
there must be a way to get multiple terabytes of ram and a NASA supercomputer legally
too bad you put the LEGALLY in the end there
some1 here have a few knowledges of batch-file(.bat) and shell(.sh) ?

im trying to convert and .bat to .sh to run it on my vps since "winehq" cant be runnd
wtf happende with groovy bot its moaning
i donโt think this is the channel
Tfw no bash file extension :feelsbad:
oh god groovy
im trying to convert and .bat to .sh to run it on my vps since "winehq" cant be runnd
@ionic dawn shouldn't be too hard
Lmk if you need any help
sh: 1: node-pre-gyp: Permission denied

how can this popup when using root?
now im having npm permission errors what a wonderful day
why are you guys ignoring me when I'm freakin' desperate
whats your issue
๐ค
we are not guarenteed to know, or be able to help
we just are people donating our time
Node.js refuses to start because ffmpeg file is not defined, though I have installed it like 5000 times and added package into the git file and defined it in the package.json file it still doesn't wanna start, after a while I just keep getting errors that nodejs can't start
now my bot doesn't work at all
yeah but even if it's not required
and I'm not using it
anyways
node.js requires me to install it
and I did
doesn't work still
and it says undefined?
well, I probably make it worked
because the ffmpeg error is gone
but instead it says now that node.js failed so start
nothing else
can you screenshot/copy paste the full error?
one second
windows key + shift + s
then control v in discord
"Push rejected, failed to compile Node.js app" that's all it is saying
heroku?
yea I switched to it because I ran out of money
https://stackoverflow.com/a/14871187
I got this fixed by:
Making sure Procfile is committed into git
Removing the node_modules/ folder and committing that into git (git rm -r node_modules/)
Afterwards, I did the git push heroku master then the error disappeared.
I tried ut
it
it says git is empty
though it isn't
I am linking a github repo to heroku
I would then consider asking heroku support, not really something most of us here know about since most of us dislike heroku
..I see, that's probably no one wanted to help me.
do you have any other vps that I can use? that is free, I am short on cash and I can't spend anymore on vps'
Most free platforms that call themselves VPS's are just really small containers and kinda suck.
can you use the google or amazon free trials?
iirc both have a 1 year trial
digital ocean has a month or two free too i think
ive yet to see anyone use one for a bot, but google also has a free forever vps called an "F1 micro" im not sure how good it is, but its absolutely worth a shot if your out of options.
I see, I'll check it out then, it may be my best option right now, like you said
@ancient nova Check the pins, there are a few free options in there maybe
oo
@faint prism , alright
new pins op
so they all have trials, cause they're all paid from what I can see
so they want 10$ for a free trial? it's the same as buying a vps
oh are they charging for a trial?
no, I thought you meant that
ah I see
I think I'll check out the digital ocean then
I hope it won't have the same problem as heroku
google gives 300















