#development
1 messages · Page 419 of 1
Yes ik how to iframe, but it's specifically with dbl
@earnest phoenix are you handling the error? if no then you should so at least it won’t crash. either-way have you installed uws module? if not you can install it like npm install uws and see if you’ll get the error again
you’re out of context
ok
@earnest phoenix is getting a websocket error, in d.js you can handle those using client.on(“error”, console.error) - now uws is an improved websocket module that’s more performant and sometimes also solves such issues, all you have to do is to install it and d.js will use it
I tested the exact same code in a normal scenario and it's fine
i wonder if its a site bug
does your iframe appear in the view link source
ohohoho does it have to be ssl 
does the site ur embedding exist
yeees

But when i embed my main website it works
o
no
so what does console say
name not resolved 
send bot page link 
typo in src?
@slim heart the site needs to be ssl to work with dbl
ight
Imma just iframe it on some random file on my ssl site and just iframe an iframe LMAO
oki lmao
hey guys, random question here. how do you setup vsc github integration? i've seen my friends do it. they make a quick change to their bots code, click the tab on the side, commit and it pushes it to the repo, then they run a cmd in there bot and it updates the code. i want to know how to do the push new code only, thanks! :D
(like, i know its possible but i have no idea how :P)
oh that thing?
you can clone a repo
and then start pushing to it
VSC just needs to detect a git folder in the working directory
and it handles the rest for you afaik
oh
open command palette
so do git clone?
yea you should be able to commit from within vsc after you clone
alright, thanks!
method on hiding bot token, rip
What are good maintained libraries for C#
d#+ and d.net
but expect slow changes to the latter
it takes fucking ages for pull requests to be processed
also if discord makes a sweeping api change you're fucked with d.net
the dev team move extremely slow
still no channel categories iirc
@earnest phoenix When it comes to hiding a token, i literally just use a .properties file and do testing outside of the project directory >.>
Lol
@shy verge I assume they are lazy devs?
I guess?
seems like it >.>
though, i'm lazy and procrastinating as well so 🤷 now back to still not redoing my entire API ._.
everything is possible
if you look at the docs, there is an event called on_member_join, now I hope you know what to do with it
No sir
@tardy hatch Sky is the limit :P
Yes it is, like Deivedux said, you need to use the event on_member_join and assign a role there to the member (argument that comes with the event)
@tardy hatch What do you mean? a config command?
@tardy hatch What languages do you speak?
And what "auto-role" are you talking about? Assign a certain role to every member of the server?
well technically he first needs to have more of python knowledge, additionally a database language to store roles in guilds that will be used to auto assign
Define the role in code.
no, just no

what's this? : https://hastebin.com/laxopiluru.php
your bot is going out of memory
Ffs
I try to make autorole command for python
@earnest phoenix for example: &&autorole @Role
Well you can make a command for that. and store it in a database.
Then recall it when on_member_join is triggered to assign that role
Can anyone help me setup heroku via pms pls?
yes, sorry
^^'
C:\Users\silly>git push heroku master
error: src refspec master does not match any.
error: failed to push some refs to 'heroku'
``` what's wrong with my code?
Lmao
var canvas = new Canvas(...)```

O
I'm idiot
@earnest phoenix
fs.writeFileSync("test.png", Canvas);
If im not mistaken
y don't u just do
const { writeFileSync } = require('fs');
writeFileSync("test.png", Canvas);

why do you need a file? è_e
You can't send a Canvas as file in discord
:O
Canvas is a object.
:OOOO
:OOOOOOO
spam tbh :x
ok stop spam lol
I know, but there is canvas.buffer() xD
it created the image! thanks thanks thanks
ofc it did
Guys
huh
I have one question at this code:
To send it without saving it, how do I do it?
```async def hug(ctx, *, member: discord.Member=None):
await bot.say("X hugged u")```
idk how discord.js works, wait x)
Make an array and random pick one
Okay, i ll try))
import random
myList = [2, 109, False, 10, "Lorem", 482, "Ipsum"]
random.choice(myList)
I'm afraid that is a bit misleading, they barelly know python :/
it would be better to learn the language first 
You don't learn Python. You hate it. 
well when discord was introduced, people were very interested in making bots regardless of programming knowledge, so they go straigh to coding discord bots rather than fully learning the language
{0.author} or?
That mentions the user who used the command.
Okay
await bot.say("{0.author} hugged you, {1.mention}!".format(ctx.message.author, member))
author.mention mentions the user, no?
Author and member != the same thing.
I want to add author tag and who was tagged in losy
it's still a user object, and needs the mention parameter
List
Author is the person writing the command
Member is the person you tag.

'Who was tagged in list'?
Aight, make one. I am lazy to do it on phone.
{0.mention} hugged {1.mention}
In list
I want to set this
Is okay?
Or is wrong
await bot.say("{0.author} hugged you, {1.mention}!".format(ctx.message.author, member))
what shivaco said
then the say message is that random command
Man, i want to add this in a responses list
import random
myList = ["{0.author} hugged you, {1.mention}!", "{0.author} hug that {1.mention}!"]
await bot.say(random.choice(myList).format(ctx.message.author, member))
I don't think spoon-feeding is a good idea
Or:
import random
resp = ['text1', 'text2']
response = random.choice(resp)
# etc
Me neither.
it's also in #rules-and-info
=)))
Google might help you next time, mate.
Okay
It's not a good idea to ask people to do all the stuff for you. Google still exists. 
you should learn the basics before trying to make things you dont know how to do xD there are many tutorials for that on the internet yeah
Only @halcyon torrent can be worse.
It really is. 
Python can kinda go literally retarded sometimes. Depends on your luck. 
Time to buy me a lottery ticket then 😃
HELP ME FOR THE COMMAND KICK PLSSSSSSSSSSSS
const content = msg.content.split("");
if (content[0] === "!" && content[1] === "k" && content[2] === "i" && content[3] === "c" && content[4] === "k") return msg.member.kick();
jk
if (msg.content === "!kick") return msg.member.kick();```
@earnest phoenix vsc?
@earnest phoenix LUL
XD
m4st3r c0de
#bot-details-page .bot-img {
box-shadow: none !important;
}
ty
Heyo
I have this in my code (python)
client.change_presence(game=discord.Game(name="Type !infos to list the commands"))
but it does not have any effect
Under the bot there is not display of the string
np
why #development
@south finch this meanie is bullying my christian development channel
I have some problems with making cross files functions ;/
anyone here good at it?
in my function test file
in index.js
my function file
Should I shard even if I didn't hit >2.5k guilds?
what is a shard?
^
@earnest phoenix @earnest phoenix Sharding is the method by which a bot's code is "split" into multiple instances of itself. When a bot is sharded, each shard handles only a certain percentage of all the guilds the bot is on.
ok
@earnest phoenix 1000 is recommended, but it's up to you whether to shard or not. 
🤔
tbh i will shard at 2k guilds
so it doesnt overload
@earnest phoenix sure wats the problem?
@earnest phoenix you can use hastebin for your code and error
?
what's yo js problem
?
Scroll up.
Hey so I wanna do my bot site like how @delicate zephyr does Phoenix, where the whole page is it, I can already do this if I wanted to but I wanted to know if there is any need to like talk to a mod first and maybe what else that needs to be included if I'm getting rid of all the other data on the page
@slim heart as long as you include all buttons including Report button i think you are fine
Alright thanks
@earnest phoenix could you elaborate?
hang on sending
np 
Is Amazon AWS EC2 a good place to host a bot?
I just realized I already have all dat except report
I didn't even know what i needed be4
@gritty bolt yes
what should i do
@slim heart oh don't remove ads!
I dont think dbl has ads 
@slim heart yes they have xd
I cant see any
thanks
in an incognito tab
i will do what you say
so no adblock
@slim heart yes
some times they show some times they don't
Anyways tho, also how would i submit stats so my website can use them 😮
@earnest phoenix well the error says that you don't 
Like bot stats
bad klaus

@slim heart make an api xd
Whne I call this function it gives me the error message "Cannot read property 'test' of undefined"
?
@earnest phoenix use .run instead
In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application software. In general terms, it is a set of clearly defined methods of communication between various software components. A goo...
const file = require("./modules/spacex.js")
file.run(spacex)
uhu?
wat
@slim heart which lang do you use?
js
@slim heart
- Make a web server (idk, express or something like that)
- Make a DB to store stats (sqlite3, mysql, postgres ....)
- Make a route where you will do a POST request with your bot with data (like you'd send to dbl) and save it to DB
uhm, wtf it doesn work?
Express: https://expressjs.com/
wdym it doesnt work
Oki and how would i go about making the website put the data from the db lmao
make a html page, serve it from the same server as you post stats, do html and insert data from db
(I'm not really your guy, I only know the surface of node.js)
oh, wrong screen shot
well the "const spacex" is actually spacex_function in code atm
@slim heart tutorial for express https://blog.risingstack.com/your-first-node-js-http-server/
You can learn how to fire up a simple Node.js HTTP server and start serving requests.
dank u
why cant I do like ths+
youve required functions twice 
ok
well it still does not work ;/
is there any errors
why are u requiring twice
require once then use the functions by passing the variables
yes, well It does not work...
thats not even a full error
Oh, wait
and also can you paste code instead of screenshots
I did forget to include "spacex" in my "run function"
The Spacex function file```module.exports = (spacex) => {
spacex.test = function(){
console.log("TEST OK");
return;
}
}
Index require: const spacex = require("./modules/spacex.js");
function call fileconst Discord = require("discord.js"); var time = require('time'); exports.run = (client, message, args, level, spacex) => { const settings = message.settings; //message.channel.send(new Date().toLocaleString('en-US',{ timeZone: settings.serverStandardTime })) var Time_Now = new time.Date(); Time_Now.setTimezone(settings.serverStandardTime); message.channel.send(`${Time_Now}`); spacex.test(); }
my .run cmd.run(client, message, args, level, spacex);
@topaz fjord
am I retarded?
did you make it run the function call file like the cmd 
the idea is that it will start some interval functions in the index, from spacex.js
can someone help me im using cryptocompare NPM and when i try to output prices in an embed it just says object Object
your output is an object. access the properties like for example object.price
cc.price('BTC', 'USD')
.then(prices => {
sendMessage('', {description: prices})
})
.catch(console.error)
Does your code look something like this? @desert bough
no
Send code
```if(command === ${prefix}value){
let coin = args[0];
if(!coin) return message.reply("Please specify a coin!");
cc.price(coin, ['USD', 'EUR', 'GBP'])
.then(prices => {
console.log(prices);
let CoinValueEmbed = new Discord.RichEmbed()
.setDescription(${coin} Value)
.setColor("32CD32")
.addField("Value: ", prices)
.setAuthor(bot.user.username);
return message.channel.send(CoinValueEmbed);
});
}```
Printing an object will show object
your object would contain USD, EUR and GBP properties
access those properties
so like prices[GBP] ?
that would work, just add quotes around GBP
What do you want to do?
i want it to display the coin prices in GBP USD and EUR
got it
thanks @bitter sundial
So access those properties directly
👍🏻
@spring ember thanks for the help
what format did you want to display them in btw
ill take a screenshot one sec
Value: 1 EUR, 1 USD, 1 GBP?
Np
oof bitcoin is not looking good rn
yeh i know

@bitter sundial i think u should approve my bot 😜
Lol tonkku doesn't approve bots afaik
dammit XD
@bitter sundial worth a shot tho 😁
Hi! One sneaky question, how can I access in Discord.js the UserProfile Thing?
I don't get it
UserProfile What do you mean?
UserProfile
Represents a user's profile on Discord.
are you talking about a userbot 
Where I can read Premium etc
SelfBots?
A bot using your login credentials
No, I'm creating an Moderation Bot
well I dont think you can read is someone is nitro from d.js
Yes,
That's what I mean
you cant
Huh
Ok, so I understand, but what I don't understand why it stands there 😄
Weird.
Thank's anyways!
because while Self-bot are against ToS its still documented @coral dock
Can someone help me?
I was doing the bot normally, but out of nowhere is giving this error now: /
?
/app/discordbot.js:386
2018-05-25T23:45:07.686986+00:00 app[worker.1]: });
error ^
unexpected } btw
?
You are missing some } @buoyant estuary
Or adding { where you're not supposed to
dont is this
What
i remove this
Are you still getting the error
Because your syntax was incorrect
how to remove this conflict
Like the error says, use send instead of sendEmbed 
My bot usually gets when you use the command !userinfo gives this agreement there
thx ❤
Hi, may I ask an question I think of a while but I don't have any Idea to make it
How do I get my Bot to only respond to my Prefix, I'm pretty new to Javascript
`let commandfile = bot.commands.get(cmd.slice(prefix.length));
if(commandfile) commandfile.run(bot, message, args);``
Well, messed up ^^
So thats how I get the Command
Do you need more?
let commandfile = bot.commands.get(cmd.slice(prefix.length));
if(commandfile) commandfile.run(bot,message,args);
That's what I got
so idk
Yea, but I tested it and you can use every Prefix that is One Char long
Is it possible to embed a gif?
How would you do this with snekfetch? curl -H 'Accept: application/vnd.twitchtv.v5+json' \ -H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \ -X GET 'https://api.twitch.tv/kraken/search/channels?query=starcraft'
im doing var { body } = await snekfetch .get(`https://api.twitch.tv/kraken/search/channels?query=${query}`) .query({ 'limit':5 })
but its wrong
400 bad request
i think i need authentication (with the client id) i have a client id but idk how to put it in snekfetch
wait
how to put these options in snekfetch instead of http?
const options = {
host: 'api.twitch.tv',
path: `/kraken/channels/${channel}`,
headers: {
'Content-Type': 'application/json',
Accept: 'application/vnd.twitchtv.v5+json',
'Client-ID': `${constants.TWITCH_ID}`,
},
};```
What do you need?
I need help coding
post issue
I just started
what language
Which one is better? C# or Node.JS
node is easier
if you want to use node go through these
https://goo.gl/iQ5xIB
Learn JavaScript | Codecademy
https://goo.gl/MvTxQv
Learn Node — The best way to learn Node.js, Express, MongoDB ...
in that order
or something similar
click the one that says JS
K I did
Are you here https://www.codecademy.com/learn/learn-javascript
No
ok go there then
sign up and follow the course
it will teach you javascript
then you can learn node.js
i don't have an account ._.
would this work? ```js
var snekopts = {
headers:{
'Content-type': 'application/json',
Accept: 'application/vnd.twitchtv.v5+json',
'Client-ID': Client.config.TwitchID
}
}
var { body } = await snekfetch
.get(`https://api.twitch.tv/kraken/search/channels?query=${query}`, snekopts)
.query({
'limit':5
})```
hey lose
Is coding hard?
@sturdy mortar then make an account
ive been coding for 3 years so
.
@earnest phoenix are you trying to do query params in snekfetch?
😦
I made two bots but I needa code them both
So what are you trying to do with snekfetch
Can someone code one?
how much?
Im pretty much trying to do this curl -H 'Accept: application/vnd.twitchtv.v5+json' \ -H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \ -X GET 'https://api.twitch.tv/kraken/search/channels?query=starcraft' but in snekfetch
what are you trying to do? @sturdy mortar
.set('Header name', 'value') @earnest phoenix
OHH
Okay
lemme try
so js var { body } = await snekfetch .get(`https://api.twitch.tv/kraken/search/channels?query=${query}`) .set('Accept', "application/vnd.twitchtv.v5+json") .set('Client-ID', Client.config.TwitchID) .query({ 'limit':5 })
my quotes tho
smh
And for query you can do .query({ query_name: value })
No need to do the ?query in the link
okay
still
(node:16204) UnhandledPromiseRejectionWarning: Error: 400 Bad Request
i have this js var { body } = await snekfetch .get(`https://api.twitch.tv/kraken/search/channels`) .set('Accept', 'application/vnd.twitchtv.v5+json') .set('Client-ID', Client.config.TwitchID) .query({ 'query':query, 'limit':5 })
Try removing the quotes around the names in .query
wat
@earnest phoenix
okay
nope 👀

you know it makes no difference right @topaz fjord
that's why I wated
its a js object doesn't matter if you quote the properties
I would really love to see that lol
uuh joe
does snekfetch allow you to read the body regardless of an http error?
if you read the body you'll see why twitch api is rejecting your request
The body will return empty/null iirc
idk
But then again I don't really use snekfetch that often
hm
I can try it locally real qucik
where do u get your client id from
my config.json
yes I mean
from twitch
send me link so I get mine and I can test it
xD
uhh lemme see where my friend got it 👀
oh
ok
add .catch(r => console.log(r.body))
and you'll see why it fails
oh okay
HHHHEEEELLLLLPPPP
{ error: 'Bad Request',
status: 400,
message: 'Invalid client id specified' }```
Stop with the caps pls
Lose, help me man
My Bot!
He ded.
learn to code? 
Congrats on your son 😃
Which is a bot.
Your his God.
Someone help me choose a system
C# or node.js
nodejs
Ntanis sry to bother again but js { error: 'Bad Request', status: 400, message: 'Missing required parameter "query"' }
but i have it

How do i get too the coding?
It's just a whole bunch of websites
what's in your query var
You can't even type anything --plus There's no one online
query = message.content.split(/\+/g).slice(1).join(" ");```
can u print it
yeah sure
its undefined 👀 wot
xddd
xddd
it works with my steam command
wtf
scope maybe?
No one is online i n that server
nobody's gonna immediately respond to you
there's a rule where if your question goes unanswered for 10 mins then you can ping the role that corresponds to that channel
kk now it works 😃

don't expect to be spoonfed code
go get basic knowledge of a programming language and come back
we'll wait
ur code snippet up there looks like js and python
value looks like js and the fact that you’re missing the var, let or const before query suggests python
is there a way to get the user id of the person that sent the bot command using discord.py in python?
ctx.message.author.id
that worked, thank you
I won't link
anyone know a link to a vid where i can make a discord.js music bot?
read about lavalink
idk about any videos but it is not that hard
since there are many libraries that support it
https://hastebin.com/esocacigov.css that's me error, its for my music command, tell me what else you need
ive done everything with ffmpeg to get it to work but my bot still says it cant find it
Are you on Ubuntu or windows
Did you set ffmpeg in your path
yes
don't use ffmpeg
what else can i use?
Set up the Lavalink.Jar, then find a wrapper for your lib
is there a tut for it?
Are you on d.js
yes
Setting up lavalink https://github.com/Frederikam/Lavalink
Lib: https://github.com/MrJacz/discord.js-lavalink
don't forget to launch the lavalink jar
If you're trying to setup ffmpeg with djs
You have to install ffmpeg-binaries from npm
That's what I did and it worked on first try
On a windows setup
But same goes for any dist
i did that and it didnt work
Are you sure you installed the correct package
And which version of djs are you using
the latest
the only error msg is that is isnt found
and im tryng to make a music bot
just reinstalled it
Post a screenshot of your error mesage or copy it
this is the only error
Have you googled it
fckin reinstalled it and it works fine now fml 😩
Because I can't help you much since I never got any errors related to ffmpeg
Ah
Nice then
thank you
(you were trying to unzip/zip a file with a corrupted header /function call)
The error message did mention zlib
So I thought it had to do with something about unzipping
But welp issue is solved now
if message.content.startswith('$test'):
await message.channel.send('u just used me. xd')``` why does this say channel has no attribute send
idk any other method
Rewrite or async?
rewrite
Oh wait you are
I doubt that.
My eyes ehh
https://discordpy.readthedocs.io/en/rewrite/ i installed this
You might have async version used in the code.
have you saved the file before running it? 
yes
Try putting await bot.send_message(message.channel, "u just used me. xd").
Instead of the await message.channel.send thing.
ok
they might do use rewrite, due to them having bot dev role already
@earnest phoenix delete that
"Channel has no attribute send"
that worked
You are using async.
?
@earnest phoenix your code has your bot's token
shit
how do i use rewrite
Uh. I guess you need to uninstall Python async first.
I am on phone. DEIVE HALP.
Code: https://hastebin.com/ocacevoqep.vbs
Error: https://hastebin.com/oxesugisem.css no token this time
Or just try to install rewrite again. 
discord.js btw
idk if you do need to uninstall current discord.py, but just doing pip install discord installs the rewrite version
ok
Oh, does it? @ruby dust
yes
@proud breach you need to handle errors
It doesn't connect @night imp
just add
.catch(error => console.error)
``` right after the ```js
if(cmd === `henryplay`) {}
Like it doesn't connect to the discord api at all?
?
Not the discord api
the voice channel
Check bot perms
Make sure your bot has the connect perms specifically
It does
What about speak
Didn't we tell you to keep the error event for that error
I just add my bots with admin perms because im lazy
mine has admin perms
To the dev servwr
Ah I see
@topaz fjord different bot
To figure out what the error object is you need bot.on('error')
Then get the result and log it or do smth with it
No
thx
@earnest phoenix just shortcuts
I use (err)
Ye
Yeah
bot.on("error", error => {
console.log(error)
})
``` I added that
but, nothing
Lol
I would do Client.on("error", (err) => { return console.log(err); });
Should work
ok
for me its bot btw
Yeah just change it
I use Client
nope
nothing
Nothing being print?
nope
Does the bot connect?
woops
The bot gets online
but doesn't join the vc
Are you using opus
opus?
Discordjs website has an easy guide to setup bots for vc
You need to install node-opus and ffpmeg-binaries
Oh
I have YTDL core
That's not enough
But check the website documentation
They have a guide there
It's pretty easy
ok
@earnest phoenix https://discord.js.org/#/docs/main/stable/topics/voice
ok
thx
Np
is it usual for ffmpeg-binaries to take forever?
probably ffmpeg should not be used
I already set it up
no big bot is using ffmpeg
Idk about it being hungry
For res
Besides if your bot is small it should do fine
As in it's included in few servers
but lavalink will still do better
I suggested ffmpeg because it's what it's recommended in d.js
again, nothing
no errors, no joining
Show us your code for connecting
To a vc
if(!message.member.voiceChannel) {
message.channel.send("You must be in a voice channel.");
return;
}
if(!servers[message.guild.id]) servers[message.guild.id] = {
queue: []
}
if(!message.guild.voiceConnection) message.member.voiceChannel.join().then(function(connection) {
play(connection, message);
});
Is your command trigger working?
Idk
Its the same I used on my other bot
and it worked then
Do a console log
its just
Also
if(cmd === `henryplay`){
}```
Where you have play()
Replace with a console.log
ok
It's easier to know if it's a problem with ytdl or discord
u probs got code from some outdated tutorial
console.error?
No
console.log("OK")
ok
It should print "OK"
When you type in henryplay
its only when its connected that it plays it
but no print
I think your play function is wrong
Ah I see
function play(connection, message) {
let server = servers[message.guild.id];
server.dispatcher = connection.playStream(YTDL(server.queue[0], {filter: "audioonly"}));
server.queue.shift();
server.dispatcher.on("end", function(){
if (server.queue[0]) play(connection, message);
else connection.disconnect();
});
}
my play function
don't use YTDL
Best one for JS is Lavalink or whatever it's called
But what matters here is that your bot doesn't join the vc
Not ytdl
ye
this bot is only for my server
I can try giving you working code for joining a vc
Something simple
remove all your code regarding the join command
ok
You'll have the if statement that triggers the command only right?
Ye
if (cmd.....
Ok
that?
Remove the last if
Ok
now what?
Now join a vc
ok
already in one
Now put below those ifs message.member.voiceChannel.join()
That should add the bot to thw vc
nope
No?
Nada
nozing
Do the other commands work
ye
actually
That's weird
Imma test that
I think it is starting to be a spoon feed

Ok
it works

not the vc thingy
But how I get the commands working
What do you mean
Nao is currently doing all the coding for you
Ik
But like I said
Lol
Its not working what their saying to do
What are you typing in the message
@earnest phoenix
the help or the vc thingy?
both
did you set a prefix
henryplayhttps://www.youtube.com/watch?v=YJVmu6yttiw
henryhelp```
woops
henryplay https://www.youtube.com/watch?v=YJVmu6yttiw
henryhelp```
that's what I send
LOL
what?
Show me your if statement for the vc join again
Im afraid I know why it wont work
// if(!message.guild.voiceConnection) message.member.voiceChannel.join().then(function(connection) {
// console.log("this works!")
//play(connection, message);
// });
No
Show me the line of the if
the henryplay thingy?
Yes
if(cmd === `henryplay`){
if(cmd === 'henryplay') will trigger only if you type in "henryplay"
Not when you type a link afterwards

if(!args[0]) {
message.channel.send("Please provide a link.");
return;
}
if(!message.member.voiceChannel) {
message.channel.send("You must be in a voice channel.");
return;
``` then that's useless?
So just type in "henryplay"
Yes
nope
no join nothing
Show me the code again...
Remove everything on henryplay
ok
Except what I told you to add
Before
By the way
args is not a variable in your code
That could be the reason why the command won't work
The bot tries to check for args[0] but args isn't defined
nothing
So it returns with exit code
Aaaaaaa
Idk anymore lol
me neither



