#development
1 messages · Page 1067 of 1
like the 1 used to be a 2.
i made no changes to the reaction. and it went back to 1.
huh
@stiff stream you should probably explain the problem lol
message.content.substring(PREFIX.length + 13) is empty
so what i need to do?
What do you want to enter in the field name
what the player sayed
its like say command
@slender thistle
what the player sayed
Why the + 13 part? What does that signify?
idk.. someone here told me to do that
Can you post the error
@stiff stream Just remove the + 13 part and try running it
I think the command name has a length of 13
work @slender thistle
but
then it says this
i dont want it to say announce
@slender thistle
How do i advertise my bot in top gg? it says i dont have any bots but i do have a bot
Guys what is the light blue color id for an embed?
You can do it the ugly way and slice 8 chars from the beginning @stiff stream
oh sorry
PREFIX.length + command.length
Just google "js string slice function"
where command should be announce
Oh
where
commandshould beannounce
@slender thistle Whats the light blue color id for an embed
If he uses a command handler something like that will work yeah
Can you stop pinging me almost every 5 seconds
now
How do you bump???
Probably asking something about a bump bot
Yes
command is just a placeholder I used where you enter a variable that's equal to "announce", Ron
what are u tryna do, sxpherr?
Why do you want to dm people with your bot?
wdym multiple dm?
Doesnt sound right
Multiple dm command
I hope you do realize that's going to get you in trouble, Sxpherr.
just like
It's sending messages to everyone in a server
limit at 5 or something at a time
That includes all cached members
i can help with doing that, if u want
@stiff stream announce being a string, not a variable
saying that announce is not define
What
@stiff stream
announcebeing a string, not a variable
wdym?
yeah
k
@stiff stream announce = String
sup i need some help with this thingy it when someone has no money the command aint working i dont know how to make it show 0 if they have no money
"announce" - string
announce - variable
is there a way to check if someone has "aaa" in the status, python
@earnest phoenix if (money == null)
@earnest phoenix "aaa" in user.activity.name
You'd get ratelimited to oblivion
Ignoring cases when user's activity includes AaA, aaA, etc.
Yeah I was gonna ask about user/member objects
Can you send to a member
Or just a user
You can
users have that property?
Member class inherits User so Member.send works too
No, users don't have activities
@earnest phoenix if (money == null)
@pure lion FUCK doesnt work 😦
That's Member's and my brain being on cold water
@earnest phoenix show code
oh right
@pure lion what happend to ur bot btw
yeha
not in server
let prevmoney = await bot.db.collection("Money").findOne({"User_ID": user.id})
if (prevmoney == null) {
prevmoney = 0;
}
Log prevmoney
i think there is something wrong with my command, can someone join my server and say ron announce hey?
?
please
and then leave
use an alt
to make an alt in 5m or someone will join and say it in 10s
@earnest phoenix log it after you set it to 0
k
please some one
i think there is something wrong with my command, can someone join my server and say ron announce hey?
please
its just 5 seconds
boi 12 yr old calm down
im 15
Stop begging for people to join your server
;-;
i want to see if the command works
@earnest phoenix it's the first fucking line
Seems clear
It is on the first line
DiscordAPIError: Cannot send messages to this user
Cannot send message to this user
Read what you sent please
Read the first line

Because they probably blocked the bot
Or turned off server dms
:l
@earnest phoenix log it after you set it to 0
@pure lion tf it logs 0 but the thing says it is undefined
Where are you using it derku?
const gifs = function(args, command){
args = message.content
.trim()
.split(/ +/g);
if(message.mentions.users.first() == undefined){
return message.channel.send("You didn't mention the user!")
}
if(args[3] != undefined){
return message.channel.send(`Incorrect useage! Please do ${prefix} ${command} [@user]`)
}
var userID = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
var username = userID.user.username;
}
module.exports = {gifs};```
How can I use message or args in a function I am exporting?
Where are you using it derku?
@pure lion bruh that is the code i gave u
ok
and why do u have a {} around the module.exports ?
But where are you using prevmoney
But where are you using prevmoney
@pure lion out side of the if thingy
you're also assigning args to a different value no matter what you provide 
:l
confusing
@earnest phoenix show the entire command
you're doing this
@earnest phoenix show the entire command
@pure lion it wont fit in text file
Use my bot to bin it
SyntaxError: Missing initializer in const declaration
Use var
const gifs = function(args, command){
args = message.content
.trim()
.split(/ +/g); // if i put the args as ['hi'] the you're reassigning ti to be message.content.trim...
if(message.mentions.users.first() == undefined){
return message.channel.send("You didn't mention the user!")
}```
@earnest phoenix
"aaa" in user.activity.name
@slender thistle is this python or js
dont use var
'('
var is deprecated
Almost
i did
@client.command()
async def status3(ctx):
if "aaa" in user.activity.name:
bruh = client.get_channel(721670310377816084)
await bruh.send('hello')``` and it doesnt seem to work
var gifs(args, command) = function(){
args = message.content
.trim()
.split(/ +/g);
Sa türk var mı
so what do u want me to do?
-notr @wheat vapor
@wheat vapor
İngilizceden başka dillerde konuşmak için #memes-and-media kanalını, top.gg hakkında destek almak için #support kanalını kullanın.
BU KANALDA TÜRKÇE KONUŞMAYIN.
im pretty sure you'd need a for in loop
u said don't use const, or var
tm
@earnest phoenix Get the user IN the command
me?
ok
i said dont use const or var???
Fuck it I'm changing the js compiler to say leg instead of let
u just like
@earnest phoenix Also, disregard that. You, in fact, need guild.get_member (replace guild with whatever property of ctx you think stands for guild)
remove the args param in the gifs function
well then i am at the start
since you're not doing anything with that
args isn't defined
no
message isn't defined
then do const args = ?

then pass message instead of args
my guy i don't think you know this quite enough
what
i am module exporting it
do you understand what this does? js function bob (args) { args = 'ur mom fat'; });
thats essentially what you're doing
@pure lion code https://sourceb.in/42c9dd9dae
is what im saying
module.exports = bob
@pure lion code https://sourceb.in/42c9dd9dae
const gifs = require("./../../function.js")?
gifs is function name and function.js is file
idk

do you guys have any recommendations for hosting
ive been using the free heroku tier but it's currently being real shitty
i dont have a job so i need something cheap
ask mommy or daddy

they only let me spend my money on gas and food D:
SkySilk have cheap tiers too
actually
i have a $100 credit on digitalocean
from the github student dev pack
Does anybody know how when I like click on this it opens up and displays all the info?
function gifs(command){
args = message.content
.trim()
.split(/ +/g);
if(message.mentions.users.first() == undefined){
return message.channel.send("You didn't mention the user!")
}
if(args[3] != undefined){
return message.channel.send(`Incorrect useage! Please do ${prefix} ${command} [@user]`)
}
var userID = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));
var username = userID.user.username;
}
module.exports = gifs;```
So I can use this function, but args, message, and content aren't defined. If i put it as an parameters, I get TypeError: Cannot read property 'content' of undefined. So how can i use args/message stuff? please ping me
you either need to pass the message as a parameter or hoist the function in your message event
putting message in parameter kinda worked but then it asked for content and eventually i get content is undefiend
so ill do the later one thx
Already did
The issue is just showing them will not work
As then it will overlap on the other divs I think
I can try
Oh yeah I could just do like listen for a click using JS and then remove the not-expanded class
Can I just do
$('.not-expanded').click(function(event){
// Change the thing to remove not-expended
});
i'd just use regular js, but jquery could do it
how would I do it in regular js then?
As I'm better at regular js
(I'm just using jquerry since the template I'm editing uses it)
Its not
@quartz kindle can you help https://discordapp.com/channels/264445053596991498/272764566411149314/733773122506981396
Why did u ping Tim?
@digital ibex (sorry for ping) but how would I do it in regular js?
I don't even know how to do it in jquery
I just know how to look for a click
how to adv my bot ?
I basically need to look for a click on a div with the class not-expanded and then check wich one got clicked and then remove the not-expanded or add the not-expanded
document.getElementById('the id of the div').addEventListener('click', (data) => {
// do stuff in the DOM
});```
you'd assign it an id btw
you cant use getElementByClassName
why?
is it a one way expanding, or a toggle that you can expand/unexpand?
are we talking about a js class or html tag class?
then you need to loop through all elements with said class and add an event listener to each of them
getElementsByClassName?
And how would I do that? I've never done js web app stuff
something like document.querySelectorAll(".myclass").forEach(element => {})
ok I'll try
Uncaught TypeError: document.querySelector(...).forEach is not a function
querySelectorAll
Oh ok cool
😄
Thank you
I just event.addEventListener('click', (data) => {});
Or will that only fire once?
Well thgen element instead of event
this in the in the for each function?
document.querySelectorAll(".not-expanded").forEach(element => {
element.addEventListener('click', (data) => {
console.log(data)
});
})
This isn't logging anything when I c lick something
@quartz kindle can you help https://discordapp.com/channels/264445053596991498/272764566411149314/733773122506981396
if it is, then assuming that theres only one html elemetnt with the class name urclassnamehere then it will only do it once, otherwise, it will do it however many times there is an element with urclassnamehere
idk chicken
Yes but it's not logging
i'd just add an id instead of using the querySelectorAll function
id always works for me
id doesnt work for multiple elements
But I have like 40 different things to expand
@tulip ledge does it work if you paste it into the dev tools console?
btw any errors in the console?
No errors just that it can't find my fonts
it says undefined when u click?
no when ever I press enter
click it
and nothing logs when you click on those divs?
nope
wth
you have something blocking it maybe? such as pointer-events:none
.work-request--information label {
position:absolute;
top:0;
left:0;
pointer-events:none;
-webkit-transition:top .2s ease-in-out,font-size .2s ease-in-out;
transition:top .2s ease-in-out,font-size .2s ease-in-out
}
This maube?
Its from the template
I did ctrl F and looked up work-request doesn't show anything neither does label
I did this:
.docs {
pointer-events: initial !important;
}
Docs is the parent
And it doesn't work
what?
message.delete()
message.delete() ?
yes but
message or msg .delete().catch(e => console.log(e))
any where
ok
not in the .then() tho
You're overwriting the message variable there so that will delete the message the bot sends
ok so you did message.channel.send(polls), change the .then(message, ) to .then(m, )
So @digital ibex (srry for tag) what do I d othen
yes
oof
im gonna go sleep if anyone has a solution to my issue please @me so Ican find it esily
(node:2988) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND discordapp.com discordapp.com:443
I am confused
is discord down ?
or what
my friend told me to change to discord.com but I said ''wtf No'' lol
so we just wait now ?
that's for november 7th
yeah
(node:10068) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND discordapp.com discordapp.com:443
erorr what?
just wait until it cools down for a bit
okay great
(node:10068) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND discordapp.com discordapp.com:443
erorr what?
@gleaming willow everyone getting this
I don't know if everyone received the notification, but the discord team will abandon the main url that the bots used 'discordapp.com', but it was supposed to be on November 7th, but there must have been some mistake that caused it.
Aaaaa discord server down
when does it open?
:((((
.
my bot is still offline, is it normal?
I am not getting this error it is just Attempting to load commands lot of time
@frigid cave Could be because massive cloudflare downtime?
Legit every bot went offline
All you can do is wait
Welcome to Discord's home for real-time and historical data on system performance.
unsure why but my bot is saying there was a memory leak and 11 message listeners were added, though in my code I don't have anything that could make new message listeners and only have 1 message listener (just a client.on('message', msg => {) Is there a way to stop this from happening?
unsure why but my bot is saying there was a memory leak and 11 message listeners were added, though in my code I don't have anything that could make new message listeners and only have 1 message listener (just a
client.on('message', msg => {) Is there a way to stop this from happening?
@wintry wing
(node:28478) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit
are you sure you only have 1 on("message")?
do you have an eval command?
yes
and the bot disconnected due to discord api being down today
im going to wait until it gets back on
undefined?
When I evaled that it states undefined
it logged 1
then there is no leak anywhere
I'm unsure how I got the error then
does that warning appear when you start the bot?
do you have message collectors?
Not sure if this is the reason but
No
I don't use awaitmessage
I do use reaction collectors though
I think the reason was because of the discord api going down since the bot was spamming errors of the econnect thing and thats when the memory leak occured
Bruh was this server temporarily down
Ik but when it came back up it said "temporarily unavailable"
Yeah usually happens.
gg
😏
Wow, I had a big bug with my bot a few hours ago...
It was kicked from about 20 guilds and immediatly invited in these guilds...
Discord API fail?
yes
Start checking if the guild becomes unavailable
It wasn't "kicked", the guilds became unavailable
therefore triggering guildRemove event
Ok
which library 
Discord.js
discord.js fixed this bug on v12
I'm still on v11
thats why
i think i made my code
too organized
like way too organized
its gone too far lmfao
module.exports = _.plugin({
enable: data => {
data.command = $new("bot/command/Command", {
name: "help",
aliases: ["commands"],
usage: [],
desc: "Shows a list of commands.",
perms: [],
type: "Information",
run: (args, msg) => {
const types = {};
const scope = $("bot/scopes/global/scope");
scope.commands.forEach(cmd => {
let newline = true;
if (!(cmd.type in types)) {
types[cmd.type] = {
name: cmd.type,
value: ""
};
newline = false;
}
const text = (newline ? "\n" : "") + "`" + cmd.name + "` " + cmd.desc;
types[cmd.type].value += text;
});
msg.channel.send({
embed: {
color: 0xFF00FF,
title: "Commands",
fields: Object.values(types)
}
});
}
});
$("bot/scopes/global/scope").add(data.command);
},
disable: data => {
$("bot/scopes/global/scope").remove(data.command);
delete data.command;
}
});```
kek
send help
oh god
Wow, I had a big bug with my bot a few hours ago...
It was kicked from about 20 guilds and immediatly invited in these guilds...Discord API fail?
@chilly sphinx no
regions of cloudflare died
nothing to do with the api itself
Discord affected by incident on Cloudflare's end
Yes
lodash moment
how is it stupid
unless its a language like python ofc, but otherwise stupid
its a global variable
I use it as a standalone name
thats stupid
I don't use it in the middle of names
ok
_ is a global variable which contains everything the bot needs to function
$ is a global variable which acts as a helper for _.manager.plugin("...").data["..."]
$new is a global variable which acts as a helper for new ($(...))(...)
those are my three globals
bobName > bob_name
casing falls under preferences
PascalCase > camelCase. (imo)
I leave that for C#
I only use that for C# and classes in js/java, I use snake_case in python and camelCase in the majority of things I do
of course
SpoNgEBoBCAse >
I use camelCase
except for classes
and constants
methodNames
variableNames
ClassNames
GLOBAL_CONSTANT_NAMES
Even in C#
I don't follow the C# convention
hello
Hi
it won't auto play
@earnest phoenix
test this > <iframe width="900" height="506" src="https://www.youtube.com/embed/4F7sdy2rZws?autoplay=1&mute=1" frameborder=0></iframe>
I'm having trouble uploading images to embeds in discord.js. Here's what I have so far:
console.log(fs.existsSync('./Images/Thumbnails/completion.png'));
embed.attachFiles(['./Images/Thumbnails/completion.png'])
.setThumbnail('attachment://completion.png')
When I run the code, the embed shows up without a thumbnail (or attachment). The console log is outputing true, so I don't think it's a problem with my file path. I've also tried switching out .setThumbnail() for .setImage() to match with the guide, but still no dice.
you need to load the attachment
load the attachment? that's different from .attachFiles()?
right, I have fs in there to check if the file path is valid
i was responding to rigidity
but what u can do as an alternative
is just make it a js file and with the url of that image u want
instead of using the literal string?
wdym
confirming that the url from the js file goes into .attachFiles(), not .setThumbnail()
i'm trying to get a local file to upload, if that wasn't clear
idk how attatchFiles works, but what u can just do is module.exports = 'url here'; in the separate js file, and then just .setThumbnail(require('path to module.exports...'))
oh
well
you're gonna have to convert the png image into a url
you could host your image online, and set the thumbnail to be the link of the image
since .setThumbnail takes a url, and im assuming .attatchFiles also takes a url, not too sure about that one tho
yeah, getting stuff from a url was working fine. it was just getting local images that was giving me trouble. maybe i'll look into hosting instead
seems like the best solution, yeah
@candid hill the attachment needs to have a name defined
.attachFiles([{attachment:"path to img",name:"name.png"}])
titles cant have emojis
Author field probably
ok, i'll give it a shot
no dice with a name added
embed.attachFiles([{ attachment: './Images/Thumbnails/completion.png', name: 'completion.png' }])
.setThumbnail('attachment://completion.png')
yeah, after copying those, i was thinking maybe more eyes could spot the mistake. oh well
so
im trying to start my bot with a good foundation this time
should i shard it right off the bat
no
that's not the point of sharding
in fact, sharding right off the bat is probably one of the worst things you can do
build it with sharding in mind and implement it when you need to
i mean, you should code with sharding in mind, for compatibility, and turn it on for testing
just to make sure you wont have problems when you actually need it
also depends what kind of sharding
internal sharding doesnt even need anything to be done
how can i blur a image on canvas on nodejs
ok
@quaint hornet its slow
i has sending in the wrong channel sorry
how do i turn the emoji id into the emoji?
711585977185075301 i need this turned back into emoji?
you can fetch it on the cnd
you cant, unless you have the name
not in code
with only id, you can only use cnd to fetch it
@earnest phoenix i only got id of it
dafuq is cnd
why
CDN is stored with id
thats not using the emoji
you dont need the name
thats using the gif
the emoji IS a gif
i told him, without name you can only fetch it with the cdn
r u sure
what part did u not understand?
he has id
only way to see which emote that is, is checking the CDN of discord for that ID
not true
something like
:ubow:
not*
you need colon @opal plank
damnit it didn't work
yes
hmmm thats odd
since when is this a thing?
just the way it works
i wonder if thats client onl
just like how adding :: between "smile" gives you 😄 but when you do ask the bot to write that it just adds plain text instead of the emoji.
ill try on phone
yeah bots need the id
<:a:622740523203035176>
works on mobile too
works for users in general.
yup
hm
so i have this rust code
you didnt ask about in code
i didnt ask anything
i want handle_message to be awaited due to this warning
^_^
but apparently i cant make functions in an impl block async
i didnt say it would return the name
i said if you only have id, you can use CDN to get it
const emoji = guild.emojis.cache.get(id);
const text = "<" + (emoji.animated ? "a:" : "") + emoji.name + ":" + emoji.id + ">";
try this
if its not exactly correct, its close
so dont @ me lmao
lemme do a manual request
why?
cuz i wanna see the unparsed response
why?
cuz i want?

you really getting on my nerves with the sass mate
Hi, I'm having a problem with running my bots. I am using Python, on a windows operating system. Every time I try to run my bot, I get this error:
"aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discordapp.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)')]"
How can I fix this..?
you really getting on my nerves with the sass mate
@opal plank ?
@earnest phoenix
welcome to nodejs async errors, where they tell you absolutely nothing about where to find it, what to do about it, and how to prevent it

wdym so
you need to show us the whole error
or is it 100% of the error
there should be more text above the screenshot you sent us

the extra text will say something like MISSING PERMISSIONS but not the location
no ur not stupid lmao
oof
oof

I'm also getting an error but it's on all of my bots, it says "certificate verify failed: certificate has expired) for some reason..?
"aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discordapp.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1108)')]"
your SSL Cert has a Verification error because the certificate has expired for discordapp.com:443 using ssl and so therefore it cant connect

Okay,
what's a certificate though? And how can I renew it..?
(If renewing it is even possible)
which library
I'm using discord.py
yeah prob
I reinstalled it an hour ago with pip,
didn't work but it did go from 1.3.3 to 1.3.4
(the version)
Thanks still, I'll look into it.
hope u figure it out
hook onto the event
lemme get the docs rq
@errant perch
thank you broþther

If you want to learn how to program bots I recommend Tech With Tim's tutorial on how to use Discord.py but it involves Python which you can learn with a 4 hour video by just typing "Python tutorial" which will show up a nice vid made by freecodecamp.org. @eternal echo
Or you can just use Node.js this is just where I began personally.
anyone got bot idea... i dont know what to make lmao
Make a bot that spams random sentences when you do a command it's really nice for a first bot since it's just so simple. @crystal bison
If you have some kind of experience though, I'd recommend a bot with a currency system, that'd be interesting.
@merry fulcrum i have a anti ad and NSFW lol
currency system
emmm i might actually try that
wait does python have array lists?
Well yeah of course Python has lists like every single other programming language.
Do you mean like
a module that can arrange a list into an array?
yea
I kinda forgot the name of the module it's used in Machine Learning to manage data but I think it's Numpy
and your list must be read by pandas
i know i have a function called list
(another module)
so... my plan is. level up earn coins and temp channel that you can join by using coins XD
hahahaa
but the kind of list I'm talking about is
example = [1, 2, 3, 4, "five"]
yes
I've never made a currency bot,
but imagine paying discord currency to have private vc or general 🙂
but I think you'll have to have the memory on your computer to manage the currency numbers
i have a vps it be fine
you sir gived me a challenge
im still learning bots but more advancee it is the quicker il learn
But you gotta learn how the stock market works in the first place.
Well uh I wouldn't recommend a stock market as your first bot
not my first bot
I want a bot system code
its my second
Wdym? @eternal echo
With pakage
@merry fulcrum system bot code
CEO its fine if i have a challenge i can use that as a big side project i can keep adding
And i want a code for credits
Yeah
Yeah seems like a fine goal @crystal bison
well he aint ganna learn that way
and also no lunZ make your own scripts that's how you learn
emm lunz what language you using
Js
if bot says "Hi"
reply with "Hello, how are you?"
EWWW js
Personally I don't care about what programming language is being used as long as it does the job better than the other on that specific area.
But i use js anyways
If you're going to opt for a fast program,
python is really bad
but C is perfect
if you want a Machine Learning algorithm,
idk that language 😐
Python is perfect for that
C is a really easy programming language and it's the fastest one out there.
better than c++?
faster yes.
O.o
Not better,
there's no "better" programming language in general,
but there is a better programming language depending on certain fields.
well... i beleive c++ on top right now since its most powerful except too complex XD
rip
i know java 😄
But are you fluent in it?
C is faster than C++
proof?
yeah that's what I thought
which is better C or C++????
my bot tried to scream but the server was underwaterrr
C
i sais c or c++ i didnt mention others
C++ has its advantages just like C
yes i am development a depression command
I mean it really comes down to preference
well ima get started on currency bot
Eh
Eh
currency bot like it gives coins everytime you lvl up and get to pay for private channels 🙂
does web development count @earnest phoenix
for like a day
currency bot like it gives coins everytime you lvl up and get to pay for private channels 🙂
@crystal bison a glorified lvl up bot?!?!!
ignore the scroll bar, google sites doesnt know how to deal with it
a currency bot should have a list
What is the prefix for @gilded plank again
@compact kite yes your going to off topic epic
ima add json file
hmmm
SENTRY DOWN!
i tried my best to make it good as possible lol
all done with google sites lol https://i.imgur.com/HhKmnLN.png
something like:
Romvnly, LurkingPsycho, CEO of the CEO = Users
numbers = amount of money
List:
Romvnly,LurkingPsycho,CEO of the CEO
400,500,300
Let's say Veld participates to your currency bot and now must be added to the list, there's now a new range with a specific number for that user.
@crystal bison Like it?
something doesnt feel right hmmm
why keeo users balances in a json again
and not use sequelize or sqlite
which is better C or C++????
@crystal bison late answer, but languages are just tools. There is a time and place to prefer one language over the other, so there's no answer to it.
fair enough. but i rather do python much simple but i can do a lot
Python and Javascript are pretty much the only present programming languages for Discord bots currently anyway. @crystal bison
get(message.server.roles, id='<role id>') this proper way grabbing roles of client?
Idk maybe you should try it on your server.
ok
wait a min i just seen msg from discord... i have til october to verify bot
O.o
Lol rip
make the bot application on the discord API rn
and make a dozen just in case you don't run out of bots to bots to verify for future projects.
lmao
i mean i seen bot that grabs console of minecraft server and placed in channel like its it own console
see
You've only programmed TWO bots,
only 1 but currently learning cogs
you can't go from programming basic bots to some hyper complicated bot except if you use the power of CTRL + C and then CTRL + V
lol
Python and Javascript are pretty much the only present programming languages for Discord bots currently anyway.
There are many. Those are pretty much the languages that are mostly used. For example, JDA is for Java.
im doing your idea as side project but right now i need to learn cogs xD
@sudden geyser I didn't know, thanks for the answer.
yes but learn how basics works
before trying to hack into the US government and launch the Nuclear bombs towards Russia to innevitably end the Human Race with a Nuclear war.
thats kinda easy lol make a bomb threat in area 51 then watch them all focus on that then do your attack
what
idk were coming off topic xDD
Why go through all that when you could just rm -rf /
LOL i use kali linux for that
i mean i can only sql inject and social engineer a computer thats all i can do XD
you can't social engineer a computer
the very point of social engineering is to make someone give you sensitive information without them realizing it
it doesn't involve computers...
well all idone with it is absolutly nothing because i cant do shit right now
even tho we talking about illeagal activity on this discord server so il stop talking before i get warned or banned xDDD
Yeah...
Sure........
Well
it's not exactly illegal
it depends if you have consent from the company
or the user
to hack into their account or company
some companies will engage ethical hackers to try to hack into their own companies
to test the cyber security
and inform the employees on social engineering tactics
so it's not always illegal.
Wdym?
Russian hackers aren't any better
they're just really reputable because they supposedly "hacked" into the 2016 elections but let's not get political since it's against the rules
lmao there only one dream if i could hack and thats activate Emergancy Alert System arround globe say world ending to watch panic
and i see
there's no global emergency alert system
there is a national nuclear emergency for each nation (assuming that's the case)
but not international
but yeah funny dream lol just hope not to happen irl.
well if i go to each country and hack each bases then maybe i could
You can't just "hack" into a government
especially good luck hacking into governments like
lmao il be shot before i make it to border
North Korea and China
where their internet are completely closed off
so you can't communicate with their servers
im sure people can visit north korea with phones
yeah but you have to have a guide and you're under government surveillance 24/7 this is North Korea after all.
depressing life living in north karear
well i wish i could live in china xDD shiolin temple to visit 😛
all i want is to be in peace but im serounded by hate
Well I would give my point of view but I can't get political.
but your listening to some men who sit arround talking nonsence and dressing up in fancy suits as they probs be doing somthing illeagal
Chinese people are not usually doing illegal business they mostly have a culture of obedience but also
this is a channel about development
why are we talking about China
Lol
ok ima have a rest -.- i stayed up from 10am to 4am xDDDD
Lol
Go to sleep
ok
why are you even awake at 4 am
this isn't a channel for talking about your bed time
we're gonna get warned
go to #general for that
-.- shhh we dont have to keep takling
This channel looks incredibly off-topic, Imma have to ask you guys to move
already are
how to get guilds size?
i tried bot.guilds.size() bot.guild.size() bot.guilds.cache.size()
but all error
.size is a property, not a method.
Try removing the parentheses and see what happens.
what if this server made a bot that helps people find solutions to their problems without asking by just typing "-buglist" and it will open a whole list of bugs and solutions tied to them which were each written by the users after finding the solutions to their bugs using "-addbugtolist"
we do have one: google
(that bot would only be for this server of course)
ah shit
why didn't I think of that
YES! I managed to fix the SSL certificate error!
Here's how you fix it (just in case someone looks it up):
- Go to start, type internet explorer. Run as admin.
- Go do https://discord.com click on the padlock icon.
- Click view certificates
- Click install certificates, choose either user or local machine.
- Click Place all certificates in the following store
- Choose Trusted Root Certification Authorities
- Enjoy.
wouldn't you just
and I'm not a professional software developper
like
change it from image.png
to image.svg
Imagine it works
ye that's pretty much it.
I tried it
OOF
of course, you can't "read the text content" of an image
I'm sorry for that
use some image conversion api
how doesn't it work
the output is in the wrong file format?
Well if you want to actually run the website you programmed turn the file from txt to html
so website.txt to website.html (website can be any name btw)
oh lol
idk then
step 2. Click on it
Jk
client.guilds.cache.size
ty
i misspelled guilds,

doesn't show up in my embed with <:name:id>

