#development
1 messages · Page 627 of 1
noice
bots cant have rich presence
no
what you set was regular presence, aka activity
idk
but ok
internal/modules/cjs/loader.js:58410:53 AM
throw err;10:53 AM
^10:53 AM
10:53 AM
Error: Cannot find module 'snekfetch'10:53 AM
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
On glitch
What can i do
ok
What can i do now
i testing this thing
dont use free hosting
problem solved
i think it's a correct id in array
i did console.log and yes it's my id
read the error
TypeError: client.fetchUser(...).send is not a function
at Timeout._onTimeout (/app/server.js:116:47)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
/app/server.js:116
client.fetchUser(ingame[i-1]).send(`You have 8 seconds to make a choice:
oh wait
oh yeah you're right
it returns a promise
so do I do:
var utst = client.fetchUser(ingame[i-1])
utst.send('my thing here')
```?
Still errors, so I guess not
smh fetchUser is not a function
what
it is
and that's still a promise
so what do I do now?
learn how to work with promises
thank you
oh
.then()
right
works
thanks
thats not how you install modules with glitch
Yes
Ok wait
add package is on top left of the package.json file
why do you need snekfetch?
snekfetch is outdated and deprecated, you should use something else instead
i use snekfetch ha
i installed
then use require('snekfetch') in ur bot
what language
oh lmao
I told you that wasn't what he needed
I know it was that, he needed the Bots not to work in a certain channel
anyone know how to remove a users reaction to a message in js?
im making a reactive help command and need to remove the users reaction but keep the bots once the page has been changed
you dont need to remove it if you use v12 or if you backport some v12 files
then what would i need to do if i were using v12?
create a reaction collector and listen to both reactionAdd and reactionRemove events
okay thanks ill look into it
JS
javascript or python
Ive heard c# but it seems to be a pain
Depends on how experienced you are in programming
But yeah, JS and Python are quite simple for the beginners
preference
imo the only time you would use C# for a discord bot, is if you are already experienced with it or need something very language specific
Ok
discord.js-commando is just discord.js but with a built-in command handler
but pls dont use commando
would i need node .js ?
im lost where can i get v12?
Some
do you know literally anything about javascript and node.js?
Not really
@slender sphinx npm install discordjs/discord.js
then please do not jump into discord bot development
thanks
Ok i must learn1. Js and2. node js and 3.dc js
well really only js and Discord.js but yea
node.js lets you run javascript code on your computer instead of a browser environment
Ok
nodejs is different than regular js thi
just please do not start making bots without knowing the language properly first
tho*
its not different
a very little
@mossy vine why not?
the environment is different, the language is not
its a perfect project for getting to know js
@fading wigeon because its a horrible idea and you wont understand anything and even if you get anywhere your code will be absolute shit
wtf no
it isnt
im talking from experience, it isnt
do you expect beginners that dont know shit about programming not to copy paste all the time?
it's all about the goals they set themselves
if they set themselves the goal not to copy they wont
beginners literally cant and wont do that
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
they can
CAN is the KEY WORD but they WONT
^^^^^^
CAPTAIN CAPS DIDNT TAKE OVER THE INTERNET YET
G2 Caps did tho
Ngl you don't want to expect shit from beginners
They'll fuck up the most basic without knowing the basics and they won't bother Googling
Discord bot as first project is a bad idea
There are already enough fucked up ones
depends on what it does imo
We don't need any more
doesnt have to be on dbl tho
.
Did I mention DBL?
i jumped into C# not even knowing what it is, expecting to make a discord bot
well you said "we dont need anymore"
not even copy pasting worked
Discord has enough idiotic bots
I started with VB, moved to C#, and then moved to JS with primarily using trial and error UNLESS I seriously couldn't figure out
They are still hosted, they still send requests to Discord
visualbasic?
yea
i started with FreeBASIC xD
tf is that?
Discord bots encourage newer programmers to dive in. Even if it is a bad bot, it teaches them by example how to code. While they shouldn't copy and paste, we shouldn't limit people actually attempting to learn
oh
but not directly attached to visuals like VB
Now all I can do is Discord bots
lol
@night imp We shouldn't, but people in here asking stupid basic questions not related to discord libs make it look really bad
Let them learn the language first, then let them do whatever they want
If they need help they should join the Disc.js server
the server already has enough people that have no idea what theyre doing
Not all helpers in there are willing to help with js questions when the server is dedicated to d.js
Completely, but we shouldn't throw them out. I've had many friends who only got into programming due to discord bots.
If you aren't willing to help with .Js questions dont
Ima go work on my bot catch yall later
Discord libraries aren't the best experience for beginners, as well as a bad way to learn the language. They don't get taught certain things that can help them do their shit better. d.js and d.py servers already have #help channels filled with basic questions that could be solved if they knew the language beforehand.
Lurking in d.py and watching this channel makes me question how effective Discord bots are as first programming experience
everyone was a beginner at some point, regardless of which project you started with. everyone will tell you "learn the language first" everywhere you go, there is no defined "entry point", you can start where ever you want however you want. if you have no patience for beginners just ignore them.
however, it is true that if your goal is to actually learn the language, a discord bot is not the most effective way
but you can have a discord bot project and complement it with something else
my first project was a discord bot, it took me a few tries but it is rather simple to make an ok bot
@quartz kindle how is listening to the add and remove events actually gonna remove the users reaction?
now im confused
tim is saying dont remove the reaction, but instead listen to the remove event as well
but how is that gonna help? I want the the users reaction to be remove after they select it but i want to keep the client/bots reaction so that it can then be reused
<MessageReaction>.remove() is how you would remove it
if you listen to the remove event, it can be reused immediately
sure but that might be unnecessary copy paste
@quartz kindle so by doing that it would uncheck the users reaction or?
it wouldnt
oh because thats what i want it to do
ive even checked the docs and everything and am still stuck on this and have been for like a day or two
<MessageReaction>.remove() will remove the MessageReaction
standard way:
bot creates reaction
person clicks reaction
bot updates message
bot removes reaction
person clicks reaction
etc..
remove event way:
bot creates reaction
person clicks reaction
bot updates message
person clicks reaction
bot updates message
person clicks reaction
etc...
yeah but thats unnecessary interaction on the persons side
how
basically you dont need to remove the person's reaction, the person can just click the reaction again, regardless if its adding or removing the reaction
ik @quartz kindle but i find that a bit annoying and repetitive so im trying to just remove it
why is it annoying and repetitive? its making things simpler by having less steps, less requests and less waiting time
its faster and more efficient
Its just annoying to have to click the reaction 2x IMO
you DONT HAVE TO
jesus
removing the reaction will do the same thing as adding the reaction
Also when using @mossy vine 's suggestion i got this
here, i'll show you
hmm
Any Idea About Sharding?
gimme say something
sure
Oh i misuderstood my bad
the help system?
how to mute people?
well, either roles or channel permissions, and a database to remember the timings
ok
@slender sphinx you get a MessageReaction object in the callback of the messageReactionAdd event. how you define it, i dont know
Xyber: damn just read the docs
not this time
i generally find the docs useless and not helpful tbh
a good documentation is one of the best tools ever
Thats the thing I personally dont think its a good doc
It's ok
how do I react with emoji ID in embed?

I tried that 
how extract id
Or

hmm
Maybe it doesn't work on mobile
dev mode
I have dev mode on

But doing it on mobile with\ does this
Oh ok
Thanks
You have to do ``

Not with the backslash

Then you doing it wrong
💯
yea
\:100:
It is also a default discord emote
To do that you would just put in the :emote:
Not <:emote:id>
\:flag_us:
Hol up I'm curious

Heh
:L
xd
heyyo
🇨🇭
hey
hello
:middle_finger:
@earnest phoenix use DBL emotes not default.

Or a different server that you are in
\:Thonk:
Without \

Ye
wow
@digital sparrow be nice kthx
ops wrong server

hmm
this not works with default emojis
That's not a default emote
i know
This chat got spammy rq
...
yes
from PIL import Image,ImageFilter
im = Image.open('image.jpg')
im.show()
from PIL import ImageEnhance
enh = ImageEnhance.Contrast(im)
enh.enhance(1.8).show("30% more contrast")
test
Do you know how to code?
At which part is it related
we have ads
@slender sphinx remove the link before you get in trouble. posting servers is not allowed
@modern sable
@slender sphinx no ads
REMOVE IT
@earnest phoenix btw that's a template. That wont send anything or save anything
no need to use caps lock
Lemme revise your code real quik
but if connect that with discord.py
from PIL import Image,ImageFilter,ImageEnhance,ImageDraw
im = Image.open('image.jpg')
d=ImageDraw.draw(im)
#use d to draw using ImageDraw module. Must have for PIL.
enh = ImageEnhance.Contrast(im)
enh.enhance(1.8).show("30% more contrast")
im.save("image.jpg", "jpg")
In that space above the im.save put imagedraw stuff
Im.show wont send to discord.
You would have to save every change done before sending
Also you dont need two imports from the same module
Wai
image editing bot XD
That's pretty much what mine is
One sec lemme get something I did in pil
The blue is a foreground, the black Is a background
One sec lemme do something else
@earnest phoenix
Change the color of the text, and background by using a alpha layer
a avatar
woah
also i know how to make economy bot
economy can be global (across all server) and local (custom for every server)
yeah
or a single database
xd
daily XD
basic command for all economy bots
hmm
what about database
SQL?
i try
or you can save to a file
Daily would be hard to do without a permanently online db I think
I did it for SQL
table: (for global)
| UserID | (currency) |
| 569050509353287690 | 193,821,0 |
but for local…
CREATE TABLE Economy (Guild INTEGER, User INTEGER, Amount INTEGER, PRIMARY KEY (Guild, User))
```ez
ok
guild and user becomes primary key, so you can't have duplicates
oh 
you know how primary keys work?
wait
i know
Is it possible to allow a user to input arguments after a bot sends a message?
I'm trying to work on a job system where after the bot sends an embed of the job list, you send a message with the job you want if it's valid
what language
JS
well of course it is
@earnest phoenix db. Store last used command
And check if the user did it
Else pass
i wouldn't even use a db
i would keep it in a hashmap, idk if theres a JS alternative
🤔
if a db is involved then I think I may have an idea
thanks for the idea @west spoke
hashmap is just an object
but it isnt persistent if your bot goes down or restarts
I have no idea why, but I'm kinda obsessed with database management 👀
yeah
should be my profession imo
I honestly find databases really interesting to manage
thats exactly why its better
I'm only working with basic quick.db stuff right now since my SQL knowledge is limited
but they're nice to set up and deal with
ok
anyone works with arduino here?
whadya need to do? I've used them before but I'm not exactly great
i work with them a bunch
What about doing something like to a discord bot with arduino:
If ultrasonic sensors saw something < 50cm, send channel to discord
@restive light someone is in your room!
you could just use a webhook for that
I think i dont need webhook
I can code arduino's code to discord bot's code
if "1" coming from serial port, msg.channel.sendmessage
thats all
idk how ur doing discord integration in arduino code but i can help u with the detect part
I mean yeah you can totally do this but the annoying part is going to be the link between the arduino and the discord bot.
msg likely wont be defined but ok
Ultrasonic checks something -> "1"
Doesnt check -> "0"
Right the ultrasonic check is easy, the hard part is sending the message to discord lol
so u want to make a function isAnObjectInFrontOfMe()
You would need internet access obv
If anything sending a message to discord would be easy if you have the right modules
personally, I'd use a rpi for this
Yeah first of all you need a wifi card for your arduino
Or an Ethernet adapter or just someway of connecting to the internet lol
I dont need because it will work with cable
@restive light pi would be faster, comes with wifi
I would DEFINITELY use webhooks for this
I don’t think it’d be required
yeah
All you have to do is send a post to an endpoint with your client credentials attached
It's not required but it's a lot more work
I just need creating serial port function to discord bot's code
If serialread = "1" send message
Tho yes webhooks would be easier I guess
finish
ah serial port clever
Oh your bot is running on a separate machine
yes
Ok the find a module of whatever language ur bot uses to event your serial port
I remember someone from here made a discord bot command that controls the light in their own room, that was something
so setup the ultrasonic in your void setup()
Vb6 -> arduino -> javascript -> send message
@ruby dust it’s not that hard actually, I have an api wrapper around my philips hue and it works perfectly I could technically use my bot 👀
then take pulseIn from echo
then divide by two
and then divide by speed of sound
to get distance
well I don't have anything that could be remotely controlled, so it's interesting to me
Ye
damn
- escapes from walls
oh mine is simple af it just stops at an object
I made a server counter for my bot using an Arduino lol
It’s on my wall but I’m on vacation rn I don’t have a picture
why lmao
Idk, I just wanted to have a live counter that is really bright and wakes me up at night
It also acts as a little thing that’ll tell me if the bot goes down tho
fair
So I can monitor outages and fix it if something is wrong rather than not knowing until I wake up and get on discord
smh u care too much
People get mad at me if the bot goes down 👀
lets move channel
Ye
damn nice
but
it fucks a 9V battery in 1 hour
there are two 9V batteries under the robot
first 9V is for arduino and motor driver
another one is JUST FOR dc motors
i originally used 4 AAs but it wasn't enough for 4 motors so i added a 9v
How many hours it can work?
can I allign a text in discord embed?
somewhat, yeah
yeah not that
but that wont work on other devices
who cares
ok then no
you could make the entire thing a picture lmao
but you have to generate the picture
@knotty steeple or make it beforehand 
it won't even work, discord always strips out all the whitespace characters from start and end of the strings
Can I have 2 files (index.js and help.js)
in index.js if a user writes !help
then it will execute the command in help.js
@abstract quarry you can use blankField
Ohh
ok nvm I don't need to align it
i will find a way later
how to use emoji ID
i have the ID but the command...
?
Emoji id
id of a emoji?
thank you
Np
does the ID work on other servers?
Only if the bot has a common server with the emote server
Great
And if, yes
You can set the "timestamp" on an embed
.setTimestamp()
Bot stat posting example / library
Java
Has versions for Javacord, Discord4J and JDA.
Supports 5 different bot lists.
nice ads
if mods decide that this is bad advertisement, go ahead delete this
i've done this for the benefit of everyone, not to push myself up
how do I set thumbnail as my bot avatar
.setThumbnail(${bot.displayAvatarURL})
?
just do .setThumbnail(bot.avatarURL)
what
Uhh
I use discord.py but don't they require url=
Unsure if it's different with discord.js
Well, I inputted all I could on it. 
d.js doesnt
preferences, for me python is easier
Depends on your mindset and overall what's better for you
ok
I'm more into scripting than coding, since python is a scripting language anyway
now about my economy bot
it needs integrate every currency action in discord with database
elaborate
SQLite3 is good in that
well yes, and it's very light
ok
Good luck with blocking, also, aiosqlite sucks too

Negative
🤔
so what?
If some query takes too long, bot pretty much crashes
iirc that's only for async functions
yes
async is vulnerable to actions taking more than 90 seconds without awaiting
another way to fix this is to make every function awaitable
that way it doesn't "crash"
Make everything a coro?
yes
That doesn't make it actually async now does it
that does technically make it await inside async, which is what you were talking about
does anyone know how to make a bot status in discord.py rewrite?
Presence
await bot.change_presence(activity=discord.Game(name="a game"))
# Setting `Streaming ` status
await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))
# Setting `Listening ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
# Setting `Watching ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="a movie"))```
thanks
Async is so much easier than that jesus christ
If you are lazy to update to a version that has more features, sure
which version
discord.py 1.1.1
yes
Depending on how you want to get it
Do you want to get a role ID in your code or in your Discord client
code
If you already have a role object, use .id
uh
Uh...
EXAMPLE
I'm not even sure how you want to get a role
im need this, because i want ping roles without "allow anyone @mention this role" permission
but its in code
but in client?
hey
You know you can't mention roles that don't have that option enabled, right
yay
i know how i can ping roles without this perm
but it doesnt actually ping everyone with the role
Do you have the role name and on which server you can find it, etc
bot pingrole
checks if role pingable
yes: ping, return
no: make role pingable, ping, make role unpingable, return
shitty way but should work
i can get role ID from "edit" message
at Object.exports.createStatusError (/rbd/pnpm-volume/b2838ab8-1d50-4644-b583-c093a6be8b39/node_modules/.registry.npmjs.org/grpc/1.20.3/node_modules/grpc/src/common.js:91:15)
at Object.onReceiveStatus (/rbd/pnpm-volume/b2838ab8-1d50-4644-b583-c093a6be8b39/node_modules/.registry.npmjs.org/grpc/1.20.3/node_modules/grpc/src/client_interceptors.js:1204:28)
at InterceptingListener._callNext (/rbd/pnpm-volume/b2838ab8-1d50-4644-b583-c093a6be8b39/node_modules/.registry.npmjs.org/grpc/1.20.3/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/rbd/pnpm-volume/b2838ab8-1d50-4644-b583-c093a6be8b39/node_modules/.registry.npmjs.org/grpc/1.20.3/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/rbd/pnpm-volume/b2838ab8-1d50-4644-b583-c093a6be8b39/node_modules/.registry.npmjs.org/grpc/1.20.3/node_modules/grpc/src/client_interceptors.js:845:24) {
code: 13,
metadata: Metadata { _internal_repr: { 'grpc-server-stats-bin': [Array] } },
details: 'Internal error encountered.'
}```
help me thats the first time i got that error
guys how to do if bot losts connection, run node bot.js while network is not connected
or something like that
auto connect
hmm
Im using macro recorder for that but sucks my server pc
set up a daemon script
let mID = parseInt(args[0]);
let channel = args[1];
let channelArray = channel.split('')
if (!mID) return message.channel.send('Usage: p!move <messageID> <channel>')
if (!channel) return message.channel.send('Usage: p!move <messageID> <channel>')
if (!channelArray.includes('<', '#', '>')) return message.channel.send('Please send a valid channel.')
let channelLength = channel.length
let channelID = channel.slice(1, 2, channelLength)
message.channel.fetchMessage(mID)
.then(message => console.log(message.content))
.catch(console.error);
Error: Unkown message
the message ID is correct
require your start file if exists
and on disconnect handler, trigger it
or use nodemon
............
ssh
is there a better way I can do this
function add(go) {
if (go) passes++;
else count++;
}
//
search.every(function () {
if (condition) {
add(true)
//other things
}
//
add()
if (passes == 10) return false
else return true
})
Essentially, I was trying to skip an iteration in a for loop, then add another one, but it doesn't work that way, and I cant break out of a forEach loop so
I threw together this
it's, really gross, but it does work
I just don't know if there is a better way I can do it [ping me if you respond k thx]
so, anyone else's bots fucked?
mine is literally not working because of the google outages and whatnot
mine's fine
idk why
@wanton walrus skip an iteration? use the continue statement
No, I needed to skip it, and then add another iteration
I'm interacting with an array which is why I couldn't do that
And, I need to stop iterations after 10
@hushed quarry
dunno much about javascript, but from my experience with other languages, continue works with any loop (even iterating over arrays). i'm looking at your code and it's hard for me to understand what it does with using vague condition and stuff where i can't see a real world example
Continue works to skip the iteration
but if I wanted to add one after skipping
is a whole other story
If I use continue I want to make sure the same # of results are provided
so skipping 1 from 10, would give 9, but I want 10
etc
the only way I can think of to skip an iteration, but loop the required amount of times is just to have an if statement, which i see you're doing
Yeah the problem is of course, if I skip an iteration, and then add another, I will hit an infinite loop
Wait
am I a dumbass hold on
nvm
you won't hit an infinite loop if you have some breaking mechanism
I would be in an infinite loop of the same iteration*
So 1-1 = 0
1+1-1 = 1
etc
seems kinda odd what you're trying to do, maybe you can solve it w/o this type of loop
I tried a for loop, forEach, do while/ while
i can't really suggest anything else bc i don't know more context behind the problem
Works
Hello,
Wanna create category and create some textchannels under that category.
I can create text channel but created on top always.
cant do"Setparents"
Language C#
Hey, is anyone else having issues with their bots connecting to Discord? Since the google cloud issue earlier, my bot hasn't been able to reconnect to the part of the (gateway?) that allows the bot to read and respond to messages. It can still connect and show as online, and I am getting reports of when it joins a new server, or when someone joins a server, but that is it
I had to reset my token @lost cove
weird
anyone know good joke api
google: joke api
yo so i am trying to use a json to store my per server settings, but i cant get the info i need, as it says it is undefiened
stuff i need
var id = message.guild.ID;
const type = args[0];
const val = args[1];
the way i tried to grab it (says id is undefined)
file.id[type] = val;
thanks in advance
common Javascript practice
#502193464054644737, your bot wasnt approved yet
ok
how i can make upvote rewards
use the webhook
or the api
for webhook you can run a separate code or run it with your bot
for api you just need to use an endpoint

verified?
as far as I can see you arent green
so I assume your bot isnt verified yet
if your bot isnt verified yet you cant use the api
dbl sents a POST request to a server you made, then you save that data yourself
then use it as you see fit
if you know JS enough and about Node.js I doubt that would be hard feat, specially with dbl wrapper although that thing runs with your bot and I woudnt recommend that
ok
the more you ask, the more you piss them, the more you piss them the more higher chances of you getting muted / banned
although I did not understand anything, but interesting
¯_(ツ)_/¯
summary read #502193464054644737
did you develop your bot?
because if you did then you would 100% know how to
(unless you mean the status on the site, that doesn't change until your bot is approved)
C# discord.net
How can i create text channel under category
which version are you on
I cannot get emotes
!tickYes for example
i write just the thing that is above but it sends :tickYes:
Is your bot in the server that contains that emote?
bots can use custom emotes
Yes but it has to be in the server that has it
There's your problem
wait
ok
thats because its not part of the message content, it's an attachment
But how do i do ?
look at your docs
mhm ikr open the docs, scroll down to message and then attachments
https://discord.js.org/#/docs/main/stable/examples/attachments <---- This is not helping me
then learn js
wait what
also look at the actual message object
yes
its a collection
try and put two and two together
hmm
where tf did you get that from?
that makes no sense without context
yeah
woah
channel2.send({files: messageRecieved.attachments.array()})```
hmm
turkish only in #memes-and-media @earnest phoenix
ok
Moderator
yes?
Look to dm
https://magic.school-b.us/4uj26Amk.png it turns out that
TypeError: Cannot read property 'send' of undefined```
my life!
@lapis meteor maybe get the image buffer and try sending it ¯_(ツ)_/¯
-_-
Good Joke
@earnest phoenix i found it
const image = message.attachments.size > 0 ? await this.extension(reaction, message.attachments.array()[0].url) : '';
ok
btw thx for trying to help me
im trying to let my bot set its username to something on "on ready" event
no errors but nothing also happens
client.user.setNickname("life is hard")
oh wait
it can't change it globally
so you'll have to change it for every guild your bot is
username though
holy damn
my visual studio code gonna be typescript
i dont use ts but it auto import things
i just tried to make a starboard and i have an error at:
const stars = fetchedMessages.find(m => m.embeds[0].footer.text.startsWith('⭐') && m.embeds[0].footer.text.endsWith(message.id));
(node:4670) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'footer' of undefined
wtheck
can someone tell me what’s the maximum lines allowed in an embed field?
probs infinity
you can have up to 25 fields iirc
and each field can have up to 256 characters or something like that
One of the messages in fetchedMessages probably doesn't have an embed @lapis meteor
Also, what exactly are you doing with that piece of code?
You're fetching all the messages in the starboard channel and searching for the one that has the right message id in it's footer?
Wouldn't it be beneficial to store this kind of data in a database..
can somebody show me example of upvote detection
@modern sable field amount = 25, title/field name = 256, value = 1024, footer text/description = 2048
Note that the sum of all characters in the embed should be less than or equal to 6000.
(Literally copy pasted from R. Danny :p)
which language?
in general, you should follow this https://discordbots.org/api/docs#webhooks
yes
ok
i cant save anything to json
everything is fine, it saves on my pc but on github
i host bot on heroku and get files from github but it doesnt save anything to json file on github
iirc you cant write files on heroku
plus since heroku decreased the quota, its not the worst option for bot hosting
better idea: buy a vps
I know these
google cloud
i may give it a try
i know how make my bot online 24/7
*realised
can i save data to json on glitch?
yes but its not reccommended
you can but not suggested
Why
because json eats memory and glitch has limited memory
node bot
eh it doesnt really
hmm
that too
node bot
pause
is this still useful?
it will stop the console when bot goes offline
ok
because when bot offline console is useless
no you may start it again
👌
@earnest phoenix

read
@sinful lotus i cant read tho, explain to me in voice chat pls
Illiterate people
let connection = message.member.voice.channel.join();
let dispatcher = connection.play(await ytdl(info.video_url), { type: 'opus' });
Any idea why that returns connection.play is not a function on master btw
DiscordJS ``
what about: await message.member.voice.channel.join();


