#development
1 messages · Page 772 of 1
is it install
One message removed from a suspended account.
One message removed from a suspended account.
but still same error
One message removed from a suspended account.
One message removed from a suspended account.
?? means
One message removed from a suspended account.
One message removed from a suspended account.
ty @late hill
turns out my bot got added to a huge guild
just had to increase the jvm mem limit
@sage bobcat its on vps and i have restart the bot
One message removed from a suspended account.
@sage bobcat Bring me up to speed I don't get the context
still same error
@minor kelp Did you have an issue with Python
One message removed from a suspended account.
help me out
getting same error again and again
Why my bot status is ???
it has not been verified yet
once it gets verified it'll show the true status
But it s added
Android 10
It s added
are you-
i said verified not added
oh
it is verified?
i'm guessing it isn't in the bot cache that gets the status
it's fine
@earnest phoenix ur bot doing dm advertising
wjen i join the server i got dm by ur bot
and i complain about that
yaa
anyone here good with pycharm/discord.py?
that would make sense lmao ty
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::5000
at Server.setupListenHandle [as _listen2] (net.js:1309:16)
at listenInCluster (net.js:1357:12)
at Server.listen (net.js:1445:7)
at DBLWebhook._startWebhook (/root/AtlantaBot/node_modules/dblapi.js/src/web hook.js:45:18)
at new DBLWebhook (/root/AtlantaBot/node_modules/dblapi.js/src/webhook.js:27 :12)
at new DBLAPI (/root/AtlantaBot/node_modules/dblapi.js/src/index.js:69:22)
at Object.init (/root/AtlantaBot/helpers/discordbots.org.js:16:23)
at module.exports.run (/root/AtlantaBot/events/ready.js:20:24)
at Atlanta.<anonymous> (/root/AtlantaBot/index.js:34:49)
at Atlanta.emit (events.js:321:20)
at WebSocketManager.triggerClientReady (/root/AtlantaBot/node_modules/discor d.js/src/client/websocket/WebSocketManager.js:440:17)
at WebSocketManager.checkShardsReady (/root/AtlantaBot/node_modules/discord. js/src/client/websocket/WebSocketManager.js:424:10)
at WebSocketShard.<anonymous> (/root/AtlantaBot/node_modules/discord.js/src/ client/websocket/WebSocketManager.js:204:14)
at WebSocketShard.emit (events.js:321:20)
at WebSocketShard.checkReady (/root/AtlantaBot/node_modules/discord.js/src/c lient/websocket/WebSocketShard.js:465:12)
at WebSocketShard.onPacket (/root/AtlantaBot/node_modules/discord.js/src/cli ent/websocket/WebSocketShard.js:437:16)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1336:8)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 5000
}
``` y i am getting this error
Error: listen EADDRINUSE: address already in use :::5000
means
i was using token for test bot and not @fringe jungle
port is in use
@earnest phoenix That something is already listening to port 5000.
@earnest phoenix Kill the proccess that uses it (If you can)
how??
In your task manager if local.
i am on vps
Is it linux?
if its a vps
ubuntu
@modest maple Why not.
It could be the bot itself.
@earnest phoenix What's the language? Javascript?
yes djs
@earnest phoenix Do you by any chance have a event to listen on process exist?
uhh
@earnest phoenix lsof -i :5000 what is the output?
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node\x20/ 32310 root 20u IPv6 7490832 0t0 TCP *:5000 (LISTEN)
(node:792) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'inviter' of null
``` Help
Yeah that's another instance of your bot probably.
@earnest phoenix sudo kill 32310
Did your bot crash recently?
no such process error
🤔
showing me this error
Probably a zombie proccess.
b0nano 2.9.3
^^^
SyntaxError: Unexpected number
at wrapSafe (internal/modules/cjs/loader.js:1060:16)
at Module._compile (internal/modules/cjs/loader.js:1108:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1164:10)
at Module.load (internal/modules/cjs/loader.js:993:32)
at Function.Module._load (internal/modules/cjs/loader.js:892:14)
at Module.require (internal/modules/cjs/loader.js:1033:19)
at require (internal/modules/cjs/helpers.js:72:18)
at /root/AtlantaBot/index.js:33:28
at Array.forEach (<anonymous>)
at init (/root/AtlantaBot/index.js:30:14)
but their is no number in my events/ready.js
2.9.3 what is it?
but their is no number like that
yes
I didn't realize until now.
@flat pelican pardon rahatsız ediyorum,
discord.js de inviter kullanılmıyor sanırım bende nedense hata oluşuyor ve hal edemiyorum,
Hata :
(node:792)
UnhandledPromiseRejectionWarning:
TypeError: Cannon read property
'inviter' of null
Eğer yardım etmek istersen lütfen benj etiketle
english only here please
@earnest phoenix
@summer torrent Niyə Azərbaycan bilib ingilizce danışırsan :d
ok
@earnest phoenix english only in this channel
and read the docs https://discord.js.org/#/docs/main/stable/class/Invite?scrollTo=inviter
@summer torrent error
(node:792) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'inviter' of null
can you give like code
where you define the user
or where you want to get the user
like message.author or something
🤦♂️
or whatever
is there any possible way to lower the bots ping
better internet
^
i dont host it on my pc
then get vps with better internet
Host your bot in the same datacenter as Discord
Ping is usually related to the distance from the Discord datacenter
I have already authorized this bot to make the votes but it does not appear as if I authorized it and does not grab the commands to claim for having voted that bot
this is not the pokecord support server
not a support server
you need to click the "join support server" button under the image
fuck off
welp, we tried
I don't get why people think this server is a support server for every bot
the button is litterally there
how can you miss it
low iq-ism
How can reading the OOP help me understand my mistakes?
because you will know how df objects work
and understand
where df your going wrong
but i think me and tim have came to an end in just how many time we're gonna let you keep going "is this it?" "is this it?" "is this it?" "is this it?" "is this it?""is this it?"
Well uh I asked you nothing, if it annoys you just have to tell me.
I will read the OOP, follow Tim's advice but will not stay there except to validate my bot
you NEED to understand it
Look*
that why you are getting it wrong
Yes
because you dont understand how it works and how the docs label it
tim doesnt even do python and he can tell
xD
Maybe, but don't get angry and tell me when something is bothering you
On this I will try to understand OOP and avoid writing in this room
Please work
"the oop" xD 
In this article, you’ll learn about the Object Oriented Programming (OOP) in Python and their fundamental concept with examples.
Yes this
@modest maple "POOP"
no
Proper Object Oriented Programming
that ain't funny
@topaz fjord Ok 😦
turtle work what?
I am.
you still didnt manage to make it work? in my last message i literally showed you exactly what you need to write lol, in that red square in the image
@quartz kindle Weren't you the one helping me with attachments last day?
yes
@quartz kindle it didn't have enough arrows
adds more arrows
@quartz kindle You know what was not working? It was due to spaces in the image file.
I read, and I test
I didn't know that was a thing.
Not work
spaces in the image file should not be an issue?
¯_(ツ)_/¯
I'll do some tests tomorrow, I don't have my computer there
spaces aren't an issue
it's just that discord replaces the space chars with underscores
so when you upload an image with spaces locally, in the attachment reference it'll have underscores instead of the spaces
ah i thought he was talking spaces on the file name on disk
@earnest phoenix Well. As soon I removed every spaces It started working.
re-read what i said
Oh oh.
I didn't know It replace spaces with underscores. If only I knew. I just removed spaces instead so 🤷♂️
One message removed from a suspended account.
have you checked the documentation?
One message removed from a suspended account.
are you talking about node.js?
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.
yeah i see, i thought you were talking about node's fs, thats why i asked about the documentation
i've never used f#
One message removed from a suspended account.
f#
Definitely becoming a front end developer... 😂
Y can't I do front end properly? ghaha
front end is nightmare
I fk agree
One message removed from a suspended account.
leave
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
its even more nightmare when you dont use any js or css framework
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
if you can get away with pure html, thats great
One message removed from a suspended account.
none of my projects can get away with pure html
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
yeah
Tim
You can't do worse than me
I just created a hell for ur eyes
xDD
And its for a project for school lol
lul
😂 😂
it cant be worse than govind tiwari
Teacher going to hate me ayy
from alahabad
I'll be requesting to have my bot listed here soon, I'm happy aha
congrats
This picture do be like that
What languages do you all prefer?
English
English
I meant programming languages, in terms of creating a bot
¯_(ツ)_/¯
css
html
Fortran 95
or minecraft command blocks
brainfuck
One message removed from a suspended account.
txt
The most legitimate response yet aha @earnest phoenix
How to code html:
jsfuck is legit though too
lmao
One message removed from a suspended account.
sadly css is too
One message removed from a suspended account.
One message removed from a suspended account.
css isn't a programming one though
One message removed from a suspended account.
@ruby talon Wow that's wrong you should use
neither is html
One message removed from a suspended account.
im very aware
wrote a brainfuck interpreter once in c#, it was genuinely fun and surprisingly not that hard
html char code for a space
css error messages
Imaging using only to do spaces instead of using css.
^
One message removed from a suspended account.
i removed it
It poofed away
One message removed from a suspended account.
im making a better one
One message removed from a suspended account.
One message removed from a suspended account.
i didnt start working on it
<p>Hello World</p>
.>
One message removed from a suspended account.
on node?
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 know
it borrows a lot of practices from other languages
it does look really good though
One message removed from a suspended account.
One message removed from a suspended account.
@eternal adder On a serious note personally It is C#
One message removed from a suspended account.
Heyo, can anyone tell me if this is a clear doc?
https://arthurdw.github.io/mySE/API/wrapper/python
Don't look at my front end design skills, they are...word breaking
nice @tiny tinsel
typescript superior
Btw very mobile proof
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
im a javascript guy, because all other langs take too much effort to learn and use
and im lazy
@ruby talon That's my favorite:
typed langs >>>>>
oof
One message removed from a suspended account.
@ruby talon It ain't that bad just colors doesn't match at all.
does anyone have a link to the github page with that css discord bot monstrosity
I can't seem to find it
@ruby talon It ain't that bad just colors doesn't match at all.
@tiny tinsel Wich colors?
Can someone please point me in the direction of a guide for setting up multi language support (IE: English, French ect)
@ruby talon consider using something like readthedocs
One message removed from a suspended account.
@ruby talon Yellow, Red and blue
@earnest phoenix I can't, its for a school project and needs to be a fully self build web.
@tiny tinsel used smth from coloors.co lmao
@ruby talon Also under API Reference It feels blank.
i personally use https://material.io/resources/color to get complementary colors
@tiny tinsel you mean there should be more content there or?
:?
Oh
And change font too.
And embed the whole content in the card?
Yeah.
And use your imagination for the rest.
But it is up to you.
You do you.
Just a suggestion.
@ruby talon https://fonts.google.com/specimen/Roboto
@hoary elm create a database of texts and translations mapped by an id
then replace all texts in your code with the ids, and get it from the database based on the language choice
Ohh okay seems simple 😂😂 thanks 😁
Roboto reads better. ^^
🤔
Aight
@client.command()
async def commands(ctx):
await ctx.send('rr! ban, rr! unban, rr! purge, rr! kick, rr! 8ball, rr! ping, rr! tictactoe, rr! prefix')
any better way to make a list?
didn't you already ask that
i need to know how to make a better list?
servers
guys how do I make my bot send lol in discord.js
best way I found was this
let o = (true+[]["fill"])[10]
let l = (false+"")[2]
message.channel.send(l+o+l)
command_list = ["ban", "unban", "purge", "kick", "8ball", "ping", "tictactoe", "prefix"]
@client.command()
async def commands(ctx):
await ctx.send(f"My commands:\n{', '.join(['`' + ctx.invoked_with + cmd + '`' for cmd in command_list])}!")
@fallow mango I think this is a better way.
ok thank you ill try it
ok ill read it
@tiny tinsel I updated the web to what you said.
https://arthurdw.github.io/mySE/API/wrapper/python
I didn't stretch the Toc tho.
And I think I'm going to stay with this color scheme, even tho it burns your eyes xD
@ruby talon i tried the command you suggested me and at the begining it said 'commandsban' for the ban command
Only for the ban cmd?
What is your bot prefix?
Bcs it should display the used prefix.
@ruby talon Now you could split every references into their own cards.
@ruby talon Also padding-bottom to the cards.
@ruby talon
@ruby talon it said it for all commands. my prefix is 'rr! '
And overflow hidden to not show the scrollbar on resize 😛
for the pres*
Other than that It is starting to get somewhere.
Nathan, only added that on the API refference.
The space between those things is bcs its a different section.
@ruby talon it said it for all commands. my prefix is 'rr! '
@fallow mango Just use bot.prefix or whatever It is in python.
I personally prefer the scrollbar bcs its doesn't f*ck up the code with thos thingus.
@tiny tinsel ```py
client = commands.Bot(command_prefix = 'rr! ')```
@ruby talon it said it for all commands. my prefix is 'rr! '
@fallow mango
command_list = ["ban", "unban", "purge", "kick", "8ball", "ping", "tictactoe", "prefix"]
@client.command()
async def commands(ctx):
await ctx.send(f"My commands:\n{', '.join(['`rr!' + cmd + '`' for cmd in command_list])}!")
This is if you have a static prefix.
i probably dont have that then
that means add lots more commands
For my bot I fetch it from a db and if none found it returns the default one.
i probably dont have that then
@fallow mango I updated the code, now its hard codedrr!.
@fallow mango
Nathan, do you also do this?
For my bot I fetch it from a db and if none found it returns the default one.
@ruby talon No because It is hardcoded to be apx! for now.
I will eventually do it.
@ruby talon But I don't see the use for it. I could add aliases. It is not a bot for administration or anything..
@ruby talon do you know how to make commands into a list type thing going like ```py
ban
unban
ping
etc ```
So there won't be a ton of "settings".
@fallow mango if you ever change the prefix, just change the 'rr!' in the code.
@ruby talon do you know how to make commands into a list type thing going like ```py
ban
unban
pingetc ```
@fallow mango
mylist = ['ban', 'unban', 'ping']
return "\n".join(["`" + item + "`" for item in mylist])
@ruby talon But I don't see the use for it. I could add aliases. It is not a bot for administration or anything..
@tiny tinsel You do you m8.
the way i have my commands setup this confuses me
@ruby talon 
@fallow mango
mylist = ['ban', 'unban', 'ping'] return "\n".join(["`" + item + "`" for item in mylist])
@ruby talon
Uhu.
the way i made my commands confuses me with that.
there are a million different ways to organize your commands, you dont need to follow specifically what someone else does
there are many different ways you can automate it as well
im trying to find away to make a list of commands like when i do a prefix
r! help
r!help
i get bdmed
dm'ed**
and there is a good command list
with a colored sidebar
ok
so i have to make a json file now?
no
you can see how it works here
ok
Or just use the included embed formatter ¯_(ツ)_/¯
@fallow mango https://discordpy.readthedocs.io/en/latest/api.html#embed
@fallow mango https://cog-creators.github.io/discord-embed-sandbox/
@modest maple aSyNc ?-?
the embed creation is still the same
¯_(ツ)_/¯
just change the sending part
I created an emb func so just gotta write **em() for an embed. 🧠
big brain time
@fallow mango if you want to send an embed from JSON use discord.Embed.from_dict(contents)
@earnest phoenix I'm brainmaster69
I'm robloxkid69
Haha
@tiny tinsel I updated it again with the subsections.
https://arthurdw.github.io/mySE/API/wrapper/python
And I put the header and menu on fixed
@ruby talon 👍 Way better now
why is their 0 re-write tutorials on Youtube for embeds? the documentation confused me.
then just use the embed json, its universal, the same in all languages and libs
@tiny tinsel I'll look at that tmrw
@fallow mango look at the link i sent
^^
that helps you generate embeds
send link again please
ok and is it async? im using re-write to encounter less errors and bugs
re write is the only working d.py version now just fyi
and the sending part is async
but the rest of it hasnt changed for rewrite
just use the embed part and ignore the self.bot.say(xyz)
ok
just use functiontosendstuff(embed=embed)
yh
the url part is a picture that will show?
if you want it to send an image aswell yes
like if you want to show the user's avatar as a little icon uptop
thats what the author bit does
the link is for the user's avatar url
if you set an author url, you can click on the author and it will open the url
dw about it for now
you dont need it for it to work
just dont do embed.set_author
copy the code at the bottom
but just replace the bot.say with the rewrite version
ok how do i make it my command list now?

Using embeds is pretty simple once you get how the basic stuff works
Check code examples on the doc, on GitHub
You have a thousand of way to learn
tutorial and the richembed docs 🤤
You have embed generators on the net, check them out
can i just watch a tutorial on people making embeds then import my code?
what
@fallow mango which library do you use
embed.set_author(name="TechTime#9645",, icon_url="https://cdn.discordapp.com/attachments/385837258768515083/669305695719391258/2a08e15674cae50c20bd5ae2c1656656d8713575c04ef1b83bb0247a4d084cbe.jpeg")
?
no
dw about author stuff rn
just
send a basic embed
with a title
description
and set colour
thats it for now
embed.set_author(name="TechTime#9645",, icon_url="https://cdn.discordapp.com/attachments/385837258768515083/669305695719391258/2a08e15674cae50c20bd5ae2c1656656d8713575c04ef1b83bb0247a4d084cbe.jpeg"
wym
error
how fix
yes
name="TechTime#9645",, why do you have 2 ,
it came with that
he has alot of things wrong

@client.command()
async def embed(ctx):
embed=discord.Embed(title="Commands", url="https://cdn.discordapp.com/attachments/385837258768515083/669305695719391258/2a08e15674cae50c20bd5ae2c1656656d8713575c04ef1b83bb0247a4d084cbe.jpeg", description="These Are My Commands You Dumb Nut! Lol.", color=0x00ffff)
embed.set_author(name="TechTime#9645",, icon_url="https://cdn.discordapp.com/attachments/385837258768515083/669305695719391258/2a08e15674cae50c20bd5ae2c1656656d8713575c04ef1b83bb0247a4d084cbe.jpeg")
embed.set_thumbnail(url="https://cdn.discordapp.com/attachments/385837258768515083/669305695719391258/2a08e15674cae50c20bd5ae2c1656656d8713575c04ef1b83bb0247a4d084cbe.jpeg")
embed.add_field(name="rr! ban", value="rr! ban @example ", inline=False)
embed.add_field(name="rr! unban", value="rr! unban @example", inline=False)
embed.add_field(name="rr! ping", value="Shows The Bots Ping", inline=False)
embed.add_field(name="rr! 8ball", value="rr! 8ball (question)", inline=False)
embed.add_field(name="rr! tictactoe", value="rr! tictactoe (X or O) if the bot says X aand you say X he wins. If you say O and he Says O he wins. meaning You say O he say x you win. You say X he say O you win.", inline=False)
embed.add_field(name="rr! commands", value="shows the command list", inline=False)
embed.add_field(name="rr! kick", value="rr! kick @example", inline=False)
embed.add_field(name="rr! prefix", value="if your typing a command, always use the prefix "rr! " dont forget the space after it.", inline=True)
embed.set_footer(text="Generated By Roddy Ricch")
await functiontosendstuff(embed=embed)```
omfg
when i did
functiontosendstuff(embed=embed)
i didnt mean
fucking copy it
i ment use what you would normally use
jesus dude dont copy and paste
Generated By Roddy Ricch
👏 dont 👏 copy 👏 paste 👏 what 👏 i 👏 send 👏
remove it
embed = discord.Embed(title="stuff", description="stuff", color=somecolourstuff)
thats all you need
for a basic embed
then make a text block
i do that but its not cool
Hello
yh
but its not good enough
how do you fucking think it works
how do i make it stop showing errors
by not fucking copying
and listen to what i say
thats done with an embed
zero errors
because i read
why website look so simple then and documentation seem so complicated?
ffs
i found the problem
i had an invalid syntax
and its fixed
i just need to fix this part ```py
await nonexistent(embed=embed)```
i figured out that
await functiontosendstuff(embed=embed)
was an example
not literal
👏 👏
lol
oh i got it
just get send from a yt vid rq
await ctx.send(embed=embed)
await ctx.send(embed=embed)```
their

IT works!
Yay
me happy now
time to make it my command list
thank you @modest maple
and when i activate my bot, does it go live in every server the bot is in? Just wondering. Ive been testing it in my test server
and when i activate my bot, does it go live in every server the bot is in? Just wondering. Ive been testing it in my test server
@modest maple
most people use 2 versions of a bot, one private bot for testing new updates and one that is always online and is public for other servers
-bots @fallow mango
your bot isn't approved yet tech
I would do it when the bot is also used in other servers
im slowly doing it
like
next week will be nect update
next*
and i debug my code in a test server
its just less work for me
My opinion
Just get 2 bot tokens and use one token for testing and the other token for the stable/public bot
hmm ill consider it
make a private server use a second bot and test the stuff with that bot
My bot runs on Linux so I cant really help you with that
my bot is also not verified
how u got green name
AttributeError: module 'discord' has no attribute 'ChannelPermissions' how can i fix that
discord i assume is your discord client not a discord guild
@fallow mango you get a green name when your bot is approved
mine not approved 😦
async def addchannel(ctx, channel: str=None):
server = ctx.message.guild
if channel is None:
await bot.say("Please specify a channel name")
else:
if ctx.message.author.guild_permissions.administrator == False:
await bot.say('**You do not have permission to use this command**')
return
else:
everyone_perms = discord.PermissionOverwrite(send_messages=None, read_messages=None)
everyone = discord.ChannelPermissions(target=server.default_role, overwrite=everyone_perms)
await bot.create_channel(server, channel, everyone)
await bot.say("{} channel has been created.".format(channel))```
bot.say is from async
you need rewrite
ctx
is what you need
im pretty sure
look at the docs
so bot.send
kk
oof
AttributeError: module 'discord' has no attribute 'ChannelPermissions' what about this
make the C into a c
and anyone know how to make a bot status command?
.py obviously
around 2 weeks
😮
there is a huge queue and not that many mods
so it gets declined for garbo description in 5 hours but 2 weeks for no decline
???
logic?
CONFUSION?
they sometimes scan the list to decline bots that have obvious problems so the dev can fix it
Command raised an exception: AttributeError: module 'discord' has no attribute 'channelPermissions'
but the bot only gets approved after they have tested the bot on another server
oh
@outer niche you cannot do discord.channelpermissions
Learn to read the docs
Like you've been told several times befote
isnt that async??
No
Yes
oik
ok**
wish my bot could get approved nowwwwwwww. BUT I MUST HAVE...
PATIENTS*
Good for you
ok
it gives you 2 weeks to make your bot and application even better, just make sure it isnt offline
I would hold off on the music bot bit till you learn how to read docs a bit better
And learn a bit more on how OOP works
oh ive made music bots before
and i read some docs
i think im ready to add music commands
actually. your right
im going to make a level up system and more fun commands
You know how to use some sort of dB?
json
wym dB
im new to leveling system
but ima try to make some fun commands
i now have 8ball, tictactoe, and coinflip
also make sure you can disable the leveling system for some servers, else your bot will get muted here
ik im not doing leveling anymore
Changed Ur mind quick
yeeeep
know any better way to run the bot instead of using a bat file WINDOWS USERS
I mean python doesnt use and exe to run
But running python with the base IDE exe is about the least system intensive thing overall
And less reasorces tend to be better unless speed
But that's subjective
I think windows still accepts .com files 😛
XD
but it's worse than bat
is that easier?
No
its the same thing
Don't even thing about trying to convert your bot to an exe
ik
I don't wanna live through you dealing with the errors
Just double clicking the main python file should run it fine
ik
or create a jar file that will start your bot 
XD
a bat file or just clicking the python file is probably the easiest
That just opens the bot.py file
Might aswell just double click the bot.py file
Does the same thing
Unlrsd you're like me and has to start up multiple servers and clients then a bat is sometimes easier
there was an old game, GunZ: The Duel, it needed to run 3 files for the server to work
i mean bat file is easy and your bot stays online until the bat terminal (command prompt) has an error
it was really shitty coded
ooooof
I put all my logs to a console server
So I can see them from anywhere as long as I'm connected with the creds
Sometimes good for debugging
i save my logs to a log file
as i said bat file is really simple or just drag your main bot file to command prompt and run it
but anyone know how to make a command that show the bots info like its creator, its library, etc.
You don't really need help with that it's just an embed and text :/
the same way you make any other command
Hey
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.
507.8 MB in file size, or ram?
I'd hope ram if anything
my bot uses as much ram as I give it
at the moment I allow it to use 2GB and I have seen it use more than 1GB before running a garbage collection
my bot uses ~70-80mb give or take
do you mean file size or RAM
in ram mine uses ~9 mb
file size 507.8 MB
what
how
yes that what i said
how did you pull that one off
lots of embeds most likely
uh no
I doubt your file is 500+ mb
because the largest file (in terms of line count) on my system that's mine that's like 200 lines is 8K
@fallow mango where are you getting this information
you included everything to start your computer and being able to run the bot? :P
I think windows is bigger than 500MB
do you have some massive log files?
maybe it's 507KB
possibly
.-.


that is 500,000 characters of code if you have nothing else in your bot folder
???
wtf
i have a .bat file in it to
how did you get 507 from fucking 6
how do you confuse 6KB with 507KB with 507MB?
im so confused
so am i
6kb sounds about right i guess
yes, you often see a group of declined bots in #mod-logs when a mod is going through submissions
just look for all the blue embeds there
4|index | at Configuration.run (/root/AtlantaBot/commands/Administration/configuration.js:26:43)
4|index | at module.exports.run (/root/AtlantaBot/events/message.js:238:17)
4|index | at processTicksAndRejections (internal/process/task_queues.js:97:5)
4|index | TypeError: message.language.get is not a function
4|index | at Configuration.run (/root/AtlantaBot/commands/Administration/configuration.js:26:43)
4|index | at module.exports.run (/root/AtlantaBot/events/message.js:238:17)
4|index | at processTicksAndRejections (internal/process/task_queues.js:97:5)
4|index | [2020-01-21 17:36:50.947]: CMD Fusion Gamingᴬˡᵖʰᵃ ᴮᵒᵗ ᵈᵉᵛ⚒ (567628466569347082) ran command ping```
y i am getting this error
message.language.get is not a function
i have make it in a function
read the error
i read that
@earnest phoenix Where are you defining it as a function
waits for bot to get verified
@fallow mango I think people have been muted for that in the past 😛
@earnest phoenix are you possibly using Klasa.
One message removed from a suspended account.
@fallow mango Wanna get instantly verified?
@fallow mango There is something called DBL Premium.
That's.. the point

@tiny tinsel Do not mislead people asking for help in this channel.
How is it promoting if it is fake?
How can I expect the result async func without using await? nodejs
If you mean tell what the function will resolve into, you can't really. You can use .then(), but it works like await.
Do you guys think I should add a feature request to my bot?
in the Eris library how do you get the bot info? like the bot's id and username. kinda like in Discord.js where you can do client.author.username
@steel cloak it would be client.user
that returns ExtendedUser and the properties aren't there tho?
ahh okay thanks a lot! wasn't aware that's how that worked lol. Have a nice day!
I'd have to change the prefix to use my bot here, right?
Once I apply to have it here that is
Like you would any normal system but port has to be 3000
It was either 3000 or 5000
- Make sure the webhook is running
- Make sure you are entering the correct URL (refer to https://discordapp.com/channels/264445053596991498/412006692125933568/652470161403805698)
I need one developer can help me for make a bot for my friend server.. Please
This is not the place to hire
@open dagger I'll help:
-
Learn some python. You may choose another language, but I personally recommend python as my balances difficulty and capability well.
-
Install discordpy, or if you've chosen another language, then install the discord library for it.
-
Read through the relevant documentation, and bot quick-start guides.
Yes I know but I not have my pc for 6 month
I'm out for work and for this I search for people give me help and not go direct to program on py
so basically you want someone to do it for you
Use an online ide such as replit. @open dagger
Yes @quartz kindle ahahah
@open dagger pay someone
If price it is nice not is a problem but yes I'm not stupid ahah
@eternal adder I would not nessesarily describe python as easier than other Lang's, it's easier at the start but saying it's easier when making a discord bot can be very subjective
Python and bot making tends to make people overthink how easy it's gonna be and skip learning basic principles that other Lang's force upon you
Just because its syntax is simpler at the start doesn't make it a better starting choice
is it possible to make a discord bot using Discord.py and Discord.js? or am i crazy
actually yes
both at the same time?
several scripts can run under a bot account at the same time
it's not suggested though
their internal ratelimit handlers will go out of sync really quickly
The API ones?
yes
If handled properly that shouldn't be a problem
(that is if you're using the same token on both apps)
thats why i have a test bot that im testing (people said thats a smarter thing to do) and the real bot that will get the code in its file if i receive 0 errors
How bout you learn basic python before moving onto a different lib xD
There is almost never a good reason to mix languages and libraries for a bot, most libraries can do the same things
unless your bot is built on microservices maybe
Yeah, but that is pretty advanced and I don't think you need development help here if you use microservices



