#development

1 messages Β· Page 321 of 1

earnest phoenix
#

hello

#

???

copper heath
#

@earnest phoenix

#

Making that bot you wanted for you now!

#

Got the audio files for it.

earnest phoenix
#

@copper heath nice

copper heath
#

ok

#

@earnest phoenix

#

Almost done

#

;

earnest phoenix
#

nicee

copper heath
#

add me

#

;P

earnest phoenix
#

u are the best

copper heath
#

so i can dm u

karmic parcel
tawny lava
#

lol nice

vital lark
#

@karmic parcel I was exicted too smh

karmic parcel
#

OwO

earnest phoenix
#

nice

karmic parcel
#

Mayo

#
client.on('ready', () =>
{
  client.on('message', (message) =>
  {
    console.log(`${message.content} posted by ${message.author}`);
    if(message.author.id === client.id)
    {
      message.edit('Editing liek a baws');
    }
  });
  client.sendMessage('352851932273967114', 'Edit me harder');
});
vital lark
#

"edit me harder" legacyBlobLewd

deft ginkgo
#

πŸ€”

karmic parcel
#
client.on('ready', () =>
{
  client.on('message', (message) =>
  {
    console.log(`${message.content} posted by ${message.author}`);
  });
  client.sendMessage('352851932273967114', 'Edit me harder').then((sentMessage)
  {
    sentMessage.edit('Promise edit');
  })
});
stuck ore
#

wtf are you doing

#

dude

#

thats so wrong

karmic parcel
#

what?

#

no dood

#

it's not

stuck ore
#

fml

#

client.on message in a client.on ready

#

what are you doing

karmic parcel
#

You don't know that it's what I'm using in my own lib that I'm making, do you?

tawny lava
#

hmm

stuck ore
#

Your own lib?

karmic parcel
#

yes, lol

tawny lava
#

he's making a lib

stuck ore
#

You're putting an event listener in an event listener

inland gull
#

That's aids...

#

That code it actually horrid.

#
listener.on
   listener2.on

πŸ‘ŒπŸΌ

#

Great idea... 🀦🏼

#

Also what the fuck editor are you using?

karmic parcel
#

lol

stuck ore
#

and your formatting is vile too

inland gull
#

That's fucking aids formatting.

stuck ore
#

lol? is this all you've got to say about your lib

inland gull
#

All you have to say to defend yourself is lol

inner jewel
#
}else
{```
stuck ore
#

πŸ˜‚

karmic parcel
#

I don't need to defend myself against autistic underaged kids

#

lol

inland gull
#

Underaged*

#

?

karmic parcel
#

I don't even care what you guys think

inland gull
#

You good?

stuck ore
#

Dude

inland gull
#

Then don't post shitcode.

stuck ore
#

Your lib is vile

inland gull
#

^

#

Guess our ages.

stuck ore
#

It hurts to read that

karmic parcel
inland gull
#

I'll tell you when you get mine right.

stuck ore
#
Quote from EdibleDerpy
Message Content

Guess our ages.

#

plz

karmic parcel
#

oh come on

#

I don't even care

#

tbh

stuck ore
#

Then dont post shit code

inland gull
#

You wanna call us underaged.

#

You must care.

karmic parcel
#

lol

vital lark
#

@karmic parcel is 24

karmic parcel
#

I really don't

#

Β―_(ツ)_/Β―

inner jewel
#

client.on('ready', ()=>client.on('message', this))

stuck ore
#

πŸ˜‚

vital lark
#

he can smack that monkey ass

inland gull
#

You know what, I'll just ignore your shit code and back away from this conversation. But I'm not underaged and cither is Cake.

stuck ore
#

πŸ‘Œ

inland gull
#

either*

inner jewel
#

cither

inland gull
#

Can't spell πŸ‘ŒπŸΌ

karmic parcel
#

like I stated already

inland gull
#

ik

karmic parcel
#

idc

#

lol

vital lark
#

same πŸ‘Œ

earnest phoenix
#

@inland gull Try out Visual Studio Code

#

It's a good code editor

inland gull
#

I'll stick with Atom.

#

But thanks for the suggestion.

earnest phoenix
#

atom is shit

stuck ore
#

how

inland gull
#

How so?

earnest phoenix
#

idk it's bad

karmic parcel
#

they're pretty similar, VSC seems to perform better

stuck ore
#

Performance maybe

#

But UI nope

earnest phoenix
#

Yeah performance

#

VSC is better

stuck ore
#

In some aspects

#

yes

#

not all

karmic parcel
#

oh and Mayo, how does this look for sending and editing a message you sent?

client.sendMessage(channelID, 'content').then((message) =>
{
  message.edit('new content');
});
inland gull
#

No but seriously, gonna stop about the actual code itself but why is your formatting so bad?

stuck ore
#
client.sendMessage(channelID, 'content').then((message) => {
  message.edit('new content');
});
#

plz

tawny lava
#

lol

inland gull
#
client.sendMessage(channelID, 'content').then((message) => {
  message.edit('new content');
});
karmic parcel
#

It's kind of a style thing, that's just the way I format my code

stuck ore
#

I dont wanna see the rest of your "code"

karmic parcel
#

if you are going to be autistic about the placement of a curly bracket, then you can actually eat some dick

tawny lava
#

well then don't look at this channel ULTRALUL

stuck ore
#

πŸ˜‚

#

Great comeback

inland gull
#

eat some dick

stuck ore
#

EAT:clap:SOME:clap:DICK

karmic parcel
#

uh, okay. Are you guys done?

earnest phoenix
#

Yes it's good Cyber

karmic parcel
#

please keep this relevant to development and not just being douchers.

stuck ore
#

πŸ‡©β€‹πŸ‡΄β€‹πŸ‡Ίβ€‹πŸ‡¨β€‹πŸ‡­β€‹πŸ‡ͺβ€‹πŸ‡·β€‹πŸ‡Έβ€‹

#

im done πŸ˜‚ You do you

#

πŸ‘‹πŸΎ

karmic parcel
#

if you keep it up, I'll mute the both of you. This seriously isn't the place for that, no matter who you are being stupid towards

stuck ore
#

I legit just said I was done

earnest phoenix
#

lol

karmic parcel
#

k, then uh stop sending messages

#

but yeah, mayo that look gud for editing?

#

I'm trying to kinda do a hybrid of d.io/d.js with that

vital lark
#

Atom is bae <3

amber glen
#

how do i make my bot?

vital lark
#

@amber glen ```

  • Which Lib?
  • Which Language
amber glen
#

umm

#

idk

#

wut u think

earnest phoenix
#

Discord.js, node.js

amber glen
#

discord.js

#

lol

#

im noob

#

Discord.js, node.js

vital lark
#

lol

karmic parcel
#

have you done any development at all? or are you saying you are noob at just Discord bot dev?

amber glen
#

ima noob at discord bot making

earnest phoenix
#

ah, ok

stuck ore
#

You ever made a single development project?

amber glen
#

nope

#

have yall made a bot?

stuck ore
#

yes

inland gull
#

Yep

earnest phoenix
#

so you have no programming knowledge?

stuck ore
#

go learn some basic js before you start working with d.js

earnest phoenix
#

^^^^

stuck ore
#

(Not being mean, its needed)

amber glen
#

ok

karmic parcel
#

Everyone that has a color has made a bot

inland gull
#

I would get the basics down first.

amber glen
#

i need a ideo

#

video

karmic parcel
#

but yeah, I agree. Getting the basics down is gud

stuck ore
#

What about people using Open source code?

earnest phoenix
#

what about them?

stuck ore
#

They've not made a bot

#

They've used other peoples code*

inland gull
#

They own one

#

So everyone with a color owns a bot

#

In a nut shell.

amber glen
#

oh

karmic parcel
#

or they are attributed as an owner of a bot

#

on the site

amber glen
#

ima start making a bot on the discord page

inland gull
#

Very true

amber glen
#

gimmie alink to discord page pls

karmic parcel
#

but yeah

stuck ore
inland gull
#

This one?

amber glen
#

yea thx

inland gull
#

This is where you should go if you wanna learn the actual library

#

I don't really have a good place for you to go to learn the basics of node. But Google is not a bad place.

amber glen
#

i need link again my pc crashed

karmic parcel
#

The link shouldn't have gone away tho

#

it's just up a few messages

amber glen
#

k

karmic parcel
#

unless someone changed a link they sent

inland gull
#

Nope, still up there.

amber glen
#

its like 400 lightyears away from me

inland gull
#

The link?

amber glen
#

yea

stuck ore
#

I dont even have to scroll

inland gull
#

Same

amber glen
#

thx

#

lol

#

idk

#

how

#

to

#

make

#

a

#

b

#

o

#

t

#

ima noob

tawny lava
#

lol

#

look it up

amber glen
#

oooookkk

shut remnant
#

codecademy can help too thinkingLul @amber glen

vital lark
#

my ass can help too

earnest phoenix
#

lul

jagged plume
#

prob more than codeacadamy would

craggy robin
#

Anyone think these are Asking for too Many Permissions, for a Reaction Based Menu System, Deleting its own messages, as well as peoples messages who did commands, the ability to Auto-Role, and Eventually Do Stuff on the Voice Channels.

quaint oyster
#

Does anyone know how to disable commands being used in DMs?

#

I am currently having a crash problem with ..membercount in DMs.

#

If anyone knows, hit me up with a ping.

jagged plume
#

what lib

quaint oyster
#

@jagged plume discord.js

jagged plume
#

if (<Message>.channel.type === "dm") return;

#

kek.

quaint oyster
#

@jagged plume Where do I exactly put that in?

dense herald
#

@quaint oyster message event

quaint oyster
#

@dense herald Thanks

dense herald
#

also do u know what he means by <Message>? @quaint oyster

jagged plume
#

What you defined message as

#

smh.

copper heath
#

hi.

quaint oyster
#

Does anyone have a kick command for discord.js?

#

With a reason

#

And with permission for the player to have "Kick"

tawny lava
quaint oyster
#

Thanks

tawny lava
#

np

karmic parcel
#

@tawny lava @earnest phoenix what do you guys think about an event that fires only when a new guild is created that you aren't in already? as of now the guild create event is fired with new and old alike

earnest phoenix
#

I would say, don't fire guildCreate event when the bot is starting up, only do it when it actually leaves or joins a guild.

karmic parcel
#

guildCreate is a Discord event tho, that fires when ready to give the data to each server

#

when you create the initial socket connection, you get a skeleton of guild data and then guildCreate is fired per server to fill in the rest of the info

bitter sundial
#

is this for your lib?

karmic parcel
#

yee

#

it'd be nice for people that want to do anything when their bot is added to a new server

#

like cough cough post stats to dbl

bitter sundial
#

aren't libs already doing that

karmic parcel
#

Discord.io primarily has the events that Discord provides

#

and that's what I'm using for my bot that I have rn

bitter sundial
#

guildCreate is also fired when a guild becomes available again

#

but you dont see bots repeating join messages, do you?

karmic parcel
#

I don't know of a bot that is on d.io that has join messages

#

hence why I said d.io and nothing else, because I'm unsure of the other libs

#

I could very well look, but I asked 2 people their opinions and left out anything about other libs

weary shoal
#

@bitter sundial The join event for dbl fired again and I got pinged a lot by toxics because my bot posted it's join message lmao

opaque bison
#

pengu!eval require("discord.js").Util.fetchRecommendedShards(client.token).then(d => msg.reply(d))

weary shoal
#

lmao

opaque bison
#

Returns: 2

#

in DMs

#

anyways

#

I am newb at sharding sooo gotta read La Docs now

carmine berry
#

@karmic parcel wym join messages. like a message when the bot joins a guild?

#

if so i do that on dio

karmic parcel
#

has it sent a message when a guild comes back from being unavailable?

carmine berry
#

no on start before ready event. i put all guilds into an array so when they come back from being unavailable it doesn't send the join message again

#

i should show you it if you desire

#

@karmic parcel

karmic parcel
#

naw, it's cool. I thought that was how someone would handle it

carmine berry
#

alright

karmic parcel
#

thanks, though

vital lark
#

@karmic parcel smh not tagging me for Dicksword development reeee

karmic parcel
#

lol, I can start

carmine berry
#

@karmic parcel repo?

#

:p

karmic parcel
#

for the lib? it's private right now

carmine berry
#

ah

karmic parcel
#

because it's in the initial stages and things aren't really too solid

carmine berry
#

how much you got done?

karmic parcel
#

it successfully connects and maintains the heartbeat, listens for messages, able to send and edit messages

#

copies the initial data for servers into cache

vital lark
#

now tag me

karmic parcel
#

and dms

carmine berry
#

i could help. im really bored

#

Β―_(ツ)_/Β―

karmic parcel
#

oh and I just set up the ping system today'

carmine berry
#

nice

karmic parcel
#

and added ping data

carmine berry
#

πŸ€”

#

is it going to use promises?

karmic parcel
#

it is using promises and supprots async/await

#

supports*

carmine berry
#

alrighty

karmic parcel
#
client.on('ready', async () =>
{
  let message = await client.sendMessage('352851932273967114', 'Edit me harder')
  message.edit('Async edit, too?');
});
carmine berry
#

lol

karmic parcel
#

the first one was just a promise

bitter sundial
#

you could make the functions async and they'd still be a promise

karmic parcel
#

but you can use either or, because async/await is built off of promises

bitter sundial
#

yeah

#

but you're going with Node 6?

karmic parcel
#

yup

#

all you need to do is use async/await if you have a newer version, I think 7 and above

#

it supports either or

bitter sundial
#

but why 6

karmic parcel
#

because that's what I'm using now

quaint oyster
#

@karmic parcel Not to sound rushed, but how long does it take for the bots to be approved/denied?

karmic parcel
#

often depends on the queue size, and how many bots are offline in that list

quaint oyster
#

Ah okay.

#

I posted mine about 10 hours ago

karmic parcel
#

Yeah, it'll vary. We try to test most if not all of the commands when we test as well

#

so it may take a little while

#

especially if the queue size is larger

quaint oyster
#

Mines at the very top

#

Just under the ones that have been already marked

carmine berry
#

πŸ€” id be good for this cause i legit do nothing all day

#

πŸ˜›

amber glen
#

hey again

vital lark
#

Hi

earnest phoenix
#

how do I edit a message? (dont answer dis pls)

tawny lava
#

you ask nicely

#

if you ask nice enough, the message will edit itself

quaint oyster
#

I have a server info command coded in discord.js

#

It doesnt seem to respond at all with no errors

#
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
             const embed = new Discord.RichEmbed();
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setColor(`0x006699`)
             .addField(`Name:`,`${guild.name}`)
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }```
karmic parcel
#

is it an embed?

#

o yeah

inner jewel
#

semicolon

quaint oyster
#

I have to remove that?

karmic parcel
#

rip, didn't make the embed properly

inner jewel
#

i guess so

karmic parcel
#

yeah

#

I agree

quaint oyster
#

Okay thanks

#

I will try it out

karmic parcel
#

let us know if it fixes it

quaint oyster
#

Nope

#

Didnt fix

#
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
             const embed = new Discord.RichEmbed()
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setColor(`0x006699`)
             .addField(`Name:`,`${guild.name}`)
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }```
#

@karmic parcel @inner jewel

inner jewel
#

does the code there execute?

quaint oyster
#

Should I test it with console.log? @inner jewel

inner jewel
#

yeah

karmic parcel
#

and an embed won't post with empty fields values as well

#

so if there is an issue with any of those string templates and it doesn't resolve to anything, it won't send either

quaint oyster
#
          console.log("1")
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
                       console.log("2")
             const embed = new Discord.RichEmbed()
                       console.log("3")
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setColor(`0x006699`)
             .addField(`Name:`,`${guild.name}`)
                       console.log("4")
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }```
#

This is how we do console.log? Right?

#

Just double checking

#

Cause nothing comes up on the console

karmic parcel
#

no

#

not in there

inner jewel
#

1 should show up

karmic parcel
#

you could just console.log the embed right after or before the message.channel.send

inner jewel
#

unless you configured the event handler wrong

#

"Cause nothing comes up on the console"

karmic parcel
#

2 should print as well

inner jewel
#

the code isn't running

quaint oyster
#

The code before does run

karmic parcel
#

so 1 should print

inner jewel
#

is there a return?

quaint oyster
#
           //Support - gives you an invite link to the support server of the bot.
             if (msg === prefix + 'SUPPORT') {
               const embed = new Discord.RichEmbed()
               .setColor('0x0099ff')
               .setTitle(":mailbox_with_mail:")
               .addField(`Support Server:`,`https://discord.gg/yNRwMjg`)
               message.channel.send({embed});
             }

          //Serverinfo - Gives you the main server information on that specific server.
          console.log("1")
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
                       console.log("2")
             const embed = new Discord.RichEmbed()
                       console.log("3")
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setColor(`0x006699`)
             .addField(`Name:`,`${guild.name}`)
                       console.log("4")
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }```
#

The top is the one before the serverinfo command

#

And it works perfectly

#

No issues

karmic parcel
#

you have msg as a variable in the top one, and you use message.content for the second one

#

is there something different with msg and message.content?

quaint oyster
#

I have another command more above with message.content

#

Works fine

#

So it shouldnt cause any problems

karmic parcel
#

I was just curious if there was a difference, like if you parsed it or something

#

are you testing that via PMs?

#

with the bot, or on a server

#

there may be something funky with a PM using that as well

keen anvil
#

Can you please do console.log(msg) and console.log(message)?

quaint oyster
#

Server

#

I disabled DM commands

#

@keen anvil Where should I put it?

keen anvil
#

doesn't matter, but I'm sure not both variables work unless you went out of your way to define both

#

if the bot is on github I could look easier

quaint oyster
#

It's not

#

I don't like leaking the whole source code

earnest phoenix
#

It's not leaking if you're the one posting it.

inner jewel
#

^

quaint oyster
#
           //Support - gives you an invite link to the support server of the bot.
                     console.log("2")
             if (msg === prefix + 'SUPPORT') {
               const embed = new Discord.RichEmbed()
               .setColor('0x0099ff')
               .setTitle(":mailbox_with_mail:")
               .addField(`Support Server:`,`https://discord.gg/yNRwMjg`)
               message.channel.send({embed});
             }

          //Serverinfo - Gives you the main server information on that specific server.
          console.log("1")
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
             const embed = new Discord.RichEmbed()
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setColor(`0x006699`)
             .addField(`Name:`,`${guild.name}`)
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }
#

No console log

#

No errors

#

No nothing

earnest phoenix
#

What's msg?

inner jewel
#

inb4 just edited the file and the bot is running an older version

keen anvil
#

Then your issue is somewhere else, and we can't help without seeing more code tbh

quaint oyster
#

@keen anvil I will just give you the github

#

One second

#

Let me put it on

keen anvil
#

k

keen anvil
#

@inner jewel @karmic parcel Figured out the issue looking at the code he posted on github. Basically, he didn't save it. serverinfo command wasn't in the code at all lmao

karmic parcel
#

riiiip

inner jewel
karmic parcel
keen anvil
#

yup lol

quaint oyster
#

Is there a way to add a space between the title

#

And then the fields?

inner jewel
#

add a zero width space

#

as description

quaint oyster
#
             .setDescription(``)```
inner jewel
#

paste a '‍'this there

quaint oyster
#

Like that?

inner jewel
#

there's a zero width space inside the quotes

quaint oyster
#

Confused

#
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
             const embed = new Discord.RichEmbed()
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setColor(`0x006699`)
             .addField(`\n`,`\n`)
             .addField(`Name:`,`${guild.name}`)
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Role Count:`,`${guild.roleCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }```
#

Add it for me please

karmic parcel
#

uh what

quaint oyster
#

The addfield with the /n was just a test lol

#

It didnt work

inner jewel
#

it's \n

#

not /n

quaint oyster
#

\n**

#

The code is correct dw

karmic parcel
#

after last time, uh idk

#

did you save it?

quaint oyster
#

I did save it

#

This was my error

#

So I am trying to figure out a way to add a space

#

Ive tried most things

#

You guys got anymore bright ideas?

karmic parcel
#

anymore bright ideas

quaint oyster
#

πŸ˜‚

inner jewel
#

just a space counts as empty

#

you can have two zero width spaces with a regular space in the middle

keen anvil
#

did you try the zero width space? Thonk

inner jewel
#

\u200D is the unicode for it

keen anvil
#

\u200D

inner jewel
#

idk if javascript can take 2 byte chars in a string like that

quaint oyster
#
            if (message.content.startsWith(prefix + 'serverinfo')) {
             var guild = message.guild;
             const embed = new Discord.RichEmbed()
             .setTitle(`**__Main info for ${guild.name}__**`)
             .setDescription('\u200D')
             .setColor(`0x006699`)
             .addField(`Name:`,`${guild.name}`)
             .addField(`Member Count:`,`${guild.memberCount}`)
             .addField(`Role Count:`,`${guild.roleCount}`)
             .addField(`Server Location:`,`${guild.region}`)
             message.channel.send({embed});
           }```
#

Like that?

#

I am just a beginner at coding, don't expect me to click onto things fully.

#

Sorry for the inconvience 😒

karmic parcel
#

did you try it tho

#

?

quaint oyster
#

Testing now

#

@keen anvil @karmic parcel @inner jewel Thanks guys

#

You are a big help to me

keen anvil
#

<3

tawny lava
#

WHAT DO YOU NEED HELP WITH??????

keen anvil
#

CAN SOMEONE PLS HELP WITH THIS ISSUE I HAVEN'T EXPLAINED!!!!!!!

karmic parcel
#

same

inner jewel
#

HALP MY BOT NOT WORKZ I DID ALL THE 2 YEAR OLD TUTORIAL FOR DED LIB SAID TO DO ITZ NOT LOGIUN

tawny lava
inner jewel
keen anvil
#

-botinfo Koya

gilded plankBOT
#

Please include a bot mention

north siren
#

Can you teach me to tell the bot to say welcome (koya), to a new member? I'm trying to set up my server

tawny lava
#

-botinfo @runic bridge

gilded plankBOT
#
Bot info
ID

276060004262477825

Username

KoyaBot

Discriminator

1050

Short Description

Powerfull multi-languages configurable bot, try ^^help to view my commands

Library

discord.js

Prefix

^^ & @mention & configurable

Upvotes

5

Server Count

1628 Servers

Owner(s)

@left wagon

Links
keen anvil
#

I can tell you what you need, but you'll need to check the docs yourself to get the code

#

You'll need an image manipulation library like jimp, canvas, or gm.
You'll need to create an image on a blank png with the user's avatar + whatever text you want.
???
Profit

tawny lava
#

I think he means that he wants to setup koya not do something similar lol

keen anvil
#

oh

#

ask @left wagon

tawny lava
#

smh

#

"join geral"

left wagon
tawny lava
#

delete it before you get banned ULTRALUL

left wagon
#

^^update

#

-botinfo @runic bridge

gilded plankBOT
#
Bot info
ID

276060004262477825

Username

KoyaBot

Discriminator

1050

Short Description

Powerfull multi-languages configurable bot, try ^^help to view my commands

Library

discord.js

Prefix

^^ & @mention & configurable

Upvotes

5

Server Count

1798 Servers

Owner(s)

@left wagon

Links
keen anvil
#

he's about to get banned

tawny lava
#

@left wagon he wants help setting up the bot

keen anvil
#

dm'd me an invite too

left wagon
#

yeah i got dm

#

thanks

tawny lava
#

kek

#

I didn't

umbral pelican
#

Thankong people that want help always sound like they've got daddy issues

quaint oyster
#

Where can I find a list of all the js guild. thingys?

#

I want to see how many things I can put for my serverinfo command

edgy ravine
#

uke

#

Hola

#

Hello

#

ola

earnest phoenix
#

@quaint oyster Your library's docs

quaint oyster
#

@earnest phoenix Where do I find those? lol

#

I am a beginner at coding

#

Don't know everything 100%

karmic parcel
#

google discord.js

#

if that's what lib you are uisng

#

using*

quaint oyster
#

Okay thanks

cosmic plover
#

tho most ppl asking for help on my guild are mostly chill about it

#

rather than "configure the bot for me thx"

#

but that happens too

quaint oyster
#

Anyone know how to display the users role(s)?

#

I use discord.js

#

I have a userinfo command

#

And I put it something like

${guild.role.name}```
#

But it didnt quite work lol

fierce raven
#

see the docs

inner jewel
#

there's not a single role per guild

fierce raven
#

that explains everything you should need to know for this

vital lark
#

same

tame furnace
#
message.guild.roles.map(r => r.name).slice(1, -1)```
#

@quaint oyster

earnest phoenix
#

please save us and do ```(lang)

thanks
mate

tawny lava
earnest phoenix
#

so ```py

craggy robin
#

Yo @bitter sundial can you delete that Other PokeWorld Bot, for me?

#

the one that was declined.

#

Shouldnt of made it so far ahead of time.

bitter sundial
#

decline = delete

craggy robin
#

Awesome thank you!

#

I tried to delete it myself @.@

#

But wasnt able too was like.

#

Damnit..

earnest phoenix
#

congrats on making the news btw @craggy robin

craggy robin
#

❀ Thanks

#

I thought the person pming me was Pulling my leg

#

legit, i played along. out of pure curiosity

#

went to sleep woke up and was like.... wtf... its REAL O_O

carmine berry
#

news?

keen nest
#

-_-

#

Welp

#

New mission time.

idle mountain
#

to get yourself on the news?

#

lol

#

also that's just the verge

#

but

#

w/e

keen nest
#

I like verge

#

Sometimez

idle mountain
#

was gonna say it's not really news but it kinda is isn't it? bingT

#

idk i've read the verge like once so

keen nest
#

Yea it is

idle mountain
#

lmao

keen nest
#

Welp

#

Casino prolly won't do it

#

Disnode maybe if a nice plugin comes along.

#

CAH could.

#

Hm

idle mountain
#

take a popular game and really well emulate it in discord

#

which is harder than it sounds

#

hence why that was on the verge

#

also use embeds

#

a lot

#

of embeds

keen nest
#

So our old Cards against humanity bot 🀣🀣🀣🀣

#

Meets all ur requirements

idle mountain
#

do it, man

keen nest
#

In the process of porting to our new bot.

#

As a plugin

#

With our new libs and shit

#

Our old.bot was written in our old.lib it was too memory intensive

#

Since it could work over Kik, Discord, And twitch all at once using the one plugin

keen nest
#

Wlp

#

That stat api loves to be bitchy.

jagged plume
#

no

#

it's fine

earnest phoenix
#

hellu

deft ginkgo
earnest phoenix
#

Master or rewrite?

#

Rewrite.

#

Just looked at the code.

#
  async run (msg, args) {
        const user = args.user
        Jimp.read(user.displayAvatarURL(), function(err, image) {
            image.quality(100)
            image.write("avatar.jpeg")
            return msg.channel.send({file: "avatar.jpeg"})
        })
    }
}```
what I'm doing wrong here?
earnest phoenix
#

well

#

const user = msg.author;

#

@earnest phoenix

#

@earnest phoenix args is defined

#

is args an array of command args?

#

Jimp just errors me: Cannot read property .quality of undefined

#

smth like that

#

@earnest phoenix

#

well that won't work

#

gtg

keen anvil
#

he didn't ask if args was undefined. He was pointing out that args.user probably isn't a thing

earnest phoenix
#

how do I login in Discord.Bat?

earnest phoenix
#

...

low hawk
#

bb

shut remnant
#

@earnest phoenix image.quality lol

#

btws dont write the file just use buffer

jagged plume
#

How does sharding work on eris? Can't find anything in the docs and I'm going to need to shard soon, if anyone can help me.

bitter sundial
jagged plume
#

Is that all i change?

bitter sundial
#

depends

jagged plume
#

Thanks.

#

a lot easier than d.js with that sharding manager crap

keen anvil
#

yes, that's all that needs changed. It's a godsend @jagged plume

jagged plume
#

wow

#

thanks

#

another question- i'm assuming it's all in one process and doesn't split itself?

earnest phoenix
#

I need some help

#

HELP

#

;-;

umbral pelican
#

Thankong looks like you haven't used the async keyword?

keen anvil
#

yup ^

earnest phoenix
#

how do I shard?

#

πŸ€”

vital lark
#

How do I shard @keen anvil?

jagged plume
#

kek

earnest phoenix
#

You get good

jagged plume
#

wew

carmine berry
#

would anyone know how to stream audio from twitch with js?

jagged plume
#

some have said that ffmpeg works but idk how

carmine berry
#

ah ill take a look.

earnest phoenix
#

gt

earnest phoenix
#

Ω„

neon pasture
#

-owner @raven monolith

gilded plankBOT
spare spruce
#

well gg guys

#

i made website for bot

#

with pulling out info

tawny lava
#

good job

spare spruce
#

ty

#

preview

#

so much hype made it

abstract mango
#

edge lulululul

weary shoal
karmic parcel
#

say no more, fam

karmic parcel
#

@weary shoal where is websocket docs

#

webhook**

weary shoal
#

ehh its fine

#

I decided not to use them

karmic parcel
#

lol

#

lemme know if you ever want moar, bby

vital lark
#

m

wanton plover
#

Anybody got errors similar to this on startup of their bot? Makes my bot not launch

surreal peak
#

@wanton plover probably because of the new channel categories

#

Ask in dapi if your lib has gotten a fix yet

wanton plover
#

hmm it did, time to try the snapshot version.

#

Updated to latest JDA and it helped. Thanks @surreal peak

surreal peak
#

no problem @wanton plover

bitter sundial
#

oh so thats why bots crash

#

a bit stupid to crash because of something like that

tawny lava
#

my bots seem to work fine Thinkong

#

no crashes

bitter sundial
#

yea depends on the lib

vital lark
#

It doesn't do with JS

sinful jolt
#

d.py did was updated fast

#

literally crashed all my bots

#

Other then the disco and js ones

idle mountain
#

will channel categories break older bots?

#

a friend of mine said they would but it doesn't look like that's the case...

#

well i guess that kinda answers my own question i gues

#

im tired af

supple shale
#

no

vital lark
#

I was wondering, How do I randomize pictures in richEmbeds on Discord.js Thonkang

jagged plume
#

you set it to a different image

karmic parcel
#

The channel topics are reeee

#

I should see if that rapes my lib later

faint cedar
#

RIP:

 {
    "error": "Required parameter server_count or shards missing"
}```
#

It hates me because I send server_count in both :/

faint cedar
#

-bots @strange lintel

gilded plankBOT
#
qwerty#2483
Bots <:certifieddev:308880841382297610>

@uneven vapor certifiedbot

faint cedar
#

-botinfo @uneven vapor

gilded plankBOT
#
Bot info <:certifiedbot:308880575379275776>
ID

321640172225691648

Username

Chen

Discriminator

1460

Short Description

A great bot for anime based servers, with osu commands, anime stuffs, currency, ranks, and more!

Library
Prefix
Upvotes

34

Server Count

171 Servers

Owner(s)

@strange lintel certifieddev
@steel bolt certifieddev

Links
tawny lava
#

pls

strange lintel
#

Alright

faint cedar
#

I'm just trying to post at this moment in postman

#

and its not working :/

earnest phoenix
#

Why postman?

strange lintel
#

Show what youre posting

faint cedar
#

Because its not working in code either

earnest phoenix
#

Can you show the code you have right now?

strange lintel
#

Show exactly what youre postinf

faint cedar
earnest phoenix
#

That's form-data

strange lintel
#

Yeah

earnest phoenix
#

Change content-type to application/json

strange lintel
#

You need it as a header

earnest phoenix
#

and type the data in as a raw body

strange lintel
#

^^^

earnest phoenix
#

Also, don't do it through postman.

strange lintel
#

^^^^^

faint cedar
#

;/

abstract mango
#

postman works it's just a bit weird.

faint cedar
#

Converted the exact thing over.

earnest phoenix
#

404 not found?

#

What address are you using?

faint cedar
#

The same one I posted.

earnest phoenix
#

@faint cedar multipart/form-data is not the same thing as application/json

faint cedar
#

Ik

#

Posting with Snekfetch with json

tame rivet
#

@fossil oxide whats 522? discordbots.org statistics returned 522 for {"server_count": 11508}

fossil oxide
#

connection refused

#

that was when we were upgrading the server

tame rivet
#

oh okay my end

#

timeout

fossil oxide
#

should be fine now

#

no it was our end

tame rivet
#

thonk

fossil oxide
#

5xx errors are server side

#

4xx errors are client side

tame rivet
#

522 is timeout

fossil oxide
#

ye

faint cedar
#

mhm

uncut slate
#

πŸ‘€

low niche
#

I was making a meme generator

#

|

uncut slate
#

What do you want your command syntax to look like?

low niche
#

was supposed to break the arguments to "tpcaption" (the top caption) and "btcaption" for the bottom

uncut slate
#

so something like

#
$generate top line | bottom line
$generate @user top line | bottom line

where the avatar of @user is used as the param of &alt?

low niche
#

yeah that

uncut slate
#

And if no user is mentioned, the avatar is the authors

low niche
#

yes

#

I got that part

uncut slate
#

okay so

#

this is good

#

first of all, this won't work

#

const user = message.mentions.users.first() || message.author;

#

if there is no mention, users will be undefined and it'll throw an error

#

r>ev f

#

can't use my bot here smh

#

msg.mentions.users.first() || message.author

message is not defined
#

msg.mentions.users.first() || msg.author

ClientUser {
  id: '284122164582416385',
  username: 'Aetheryx',
  discriminator: '2222',
  avatar: '27e5700872ea689b78bb1384012cafb7',
  bot: false,
  lastMessageID: '356760954853392385',
  lastMessage: [Object],
  verified: true,
  localPresence: [Object],
  _typing: Map {},
  friends: [Object],
  blocked: [Object],
  notes: [Object],
  premium: false,
  mfaEnabled: true,
  mobile: true,
  settings: [Object],
  guildSettings: [Object] }
#

oh, nvm

#

okay, that's fine

#
exports.run = async (bot, message, args) => {
    const user = message.mentions.users.first() || message.author;
    args = args.join(' ').replace(user.toString(), '').split(' | ');
    const tpcaption = args[0];
    const btcaption = args[1];
    message.channel.send(`https://memegen.link/custom/${tpcaption}/${btcaption}.jpg?alt=${user.displayAvatarURL}`)
}
#

Something like that

low niche
#

thanks

jagged plume
#

spoonfeed

uncut slate
#

you can also get rid of the tpcaption/btcaption altogether

raven comet
#

Hey, how can I invite my bot into this server for testing purposes if i can?

uncut slate
#

apply

jagged plume
#

add it to the bot list on the website

low niche
#

it takes time

jagged plume
low niche
#

i think

uncut slate
#

and we're not really a sandbox, for testing I would suggest you use your own server

raven comet
#

Yeah sure thank you

#

I understand, I want to test my bot with the community

#

Is there any limitations on what my bot can do such as kick / ban? For record as of today my bot only tags people and sends / views messages.

low niche
#

@uncut slate it only works if the user runs the command, not working with mentions

uncut slate
#

Your bot can do anything that isn't considered API abuse

raven comet
#

Awesome.

uncut slate
#

lemme see

raven comet
#

Come again?

uncut slate
#

@raven comet Your bot can do anything that doesn't violate Discord's API terms of service, or abuse it

#

@low niche it's working fine on my end

low niche
uncut slate
#

.test top | bottom

#

.test @low niche top | bottom

#
exports.run = async function (Elga, msg, args) {
    const user = msg.mentions.users.first() || msg.author;
    args = args.join(' ').replace(user.toString(), '').split(' | ');
    const tpcaption = args[0];
    const btcaption = args[1];
    msg.channel.send(`top: ${tpcaption}\nbot:${btcaption}\nurl:${user.displayAvatarURL}`)
};
raven comet
#

How would i save a string from a user permanently

#

would I have to use a database software?

#

in discord.js

uncut slate
#

Yes

raven comet
#

Hmm

#

Any way to save it to a JSON file or something similiar without having to use a database.

uncut slate
#

Yes, you can save an object to a JSON file as a "database" but it's kind of retarded

#

let alone horrible performance and reliability (fs.writeFile can and will fuck up often), using an actual database is probably easier than fucking with writing objects to json

#

I would still recommend using a proper veteran database but ^ does the job and is super, super simple

raven comet
#

Ok, thank you mate πŸ˜ƒ

supple shale
#

:^)

neon pasture
#

How can I make a cooldown for my commands & chat?

uncut slate
#

@supple shale mostly answered you

#

save unix time of a command, compare the current time against that saved time, just read his explanation

ornate carbon
#

i need help for hyberbot

earnest phoenix
#

do the -botinfo command and mention the bot you need help with after "-botinfo" (Ex. -botinfo @cosmic shoal) then ask the owners of the bot for help

low niche
#

@uncut slate the code you sent me yesterday only works if you do this ppmemegen [mention]top | bottom instead of ppmemegen [mention] top | bottom

uncut slate
#

can you send it again?

low niche
#
exports.run = async (bot, message, args) => {
    const user = message.mentions.users.first() || message.author;
    args = args.join(' ').replace(user.toString(), '').split(' | ');
    const top = args[0];
    const bottom = args[1];
    message.channel.send(`https://memegen.link/custom/${top}/${bottom}.jpg?alt=${user.displayAvatarURL}`)
}
earnest phoenix
#

@neon pasture just make a blocklist

low niche
#

give me a sec, i might have found the problem

neon pasture
#

blocklist for the level up messages?

uncut slate
#

I'm in class RN I'll take a look later if you don't figure it out

earnest phoenix
#

ohhh

#

i didnot see what u want XDDD

neon pasture
#

You tagged me?

earnest phoenix
#
setTimeOut(function() {
//code happen after 5 sec
}, 5000)
tawny lava
#

thonk

neon pasture
#

o the cooldown

tawny lava
#

TimeOut?

earnest phoenix
#

πŸ˜… yeah

neon pasture
#

but it's not a cooldown

earnest phoenix
#

setTimeout

#

XDD

neon pasture
#

It's just slowing the message 5 secs

earnest phoenix
#

hmm

#

i dont understand the cooldown

neon pasture
#

Or wait, I have a idea

#

thanks

earnest phoenix
#

like what?

#

np

#

GG

#

i guess

#

lol

#

hmm i want some funny command

#

any idea?

neon pasture
#

like quick fap?

#

that you get a random anime image in your dm

floral stump
#

Anyone wanna tell me how to make anti ad thing

earnest phoenix
#

XDDDD

#

random super ecchi image

#

i have my own already

#

random ecchi from pixiv

#

-$pixiv

#

some time very ecchi and some time normal

earnest phoenix
#

Having a bit of an issue with trying to post my server count to the api. I'm not very familiar with these types of things. The only other api I have posted to was https://discordlist.net/'s api. Upon trying to post my servercount I encounter this error.

<CIMultiDictProxy('Date': 'Tue, 12 Sep 2017 13:57:30 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '24', 'Connection': 'keep-alive', 'Set-Cookie': '__cfduid=d6df905d6590fa800ad77f724f156cb6d1505224650; expires=Wed, 12-Sep-18 13:57:30 GMT; path=/; domain=.discordbots.org; HttpOnly', 'X-Powered-By': 'Express', 'Access-Control-Allow-Origin': '*', 'Etag': 'W/"18-XPDV80vbMk4yY1/PADG4jYM4rSI"', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'Server': 'cloudflare-nginx', 'Cf-Ray': '39d3604eadb258cd-DFW')>``` 

The current code I am using is this...

```py
stats = {
  "server_count": len(bot.servers),
  "shard_id": 0,
  "shard_count": 3
}
url = "https://discordbots.org/api/bots/226132382846156800/stats"
resp = await aiohttp.post(url, data=stats)
resp.close()```
bitter sundial
#

you are missing a token

earnest phoenix
#

Fml, thanks.

inner jewel
#

@earnest phoenix you need the token

earnest phoenix
#

I have my token now.

inner jewel
#

send it on the Authorization header

#

also set Content-Type to application/json

earnest phoenix
#

Awesome, thanks. I got it now.

inner jewel
#

ads

#

banne

copper heath
#

why is this like

#

forbidden

#

when i try it in browser

#

;v

inner jewel
#

no Authorization header

indigo notch
#

@quartz gulch

copper heath
#

and im logged in my acc

#

no it

#

worked before

inner jewel
#

still no header

copper heath
#

it has

#

worked before

inner jewel
#

no it doesn't

copper heath
#

it has

#

.

inner jewel
#

it only gives unauthorized if the header is missing

copper heath
#

in my browser

inner jewel
#

or has an invalid token

copper heath
#

it isnt giving

#

unathourised

#

its giving

#

forbidden

uncut slate
#

for all we know it was changed

copper heath
#

?

#

does it

#

return a json doe?

#

yes?

bitter sundial
#

site login works for api too

#

you have to be an owner

copper heath
#

@bitter sundial

#

i am the owner

#

@bitter sundial

#

;v

#

and it returns no

#

wait

#

fixed it

winged jewel
#

how can i create a bot @lone obsidian

trim steppe
#

Have you tried discordblocks?

winged jewel
#

no

trim steppe
#

You can make bots with basically no knowledge of programming now

#

But if you want to seriously make one

#

You need to learn a language

#

And use that along with a discord API library

#

I suggest starting with discord.js and node.js

vital lark
#

banne dblBanne

winged jewel
#

ok thankyou @trim steppe

trim steppe
#

k

earnest phoenix
#

k

umbral pelican
#

k

earnest phoenix
#

i want invite

#

my friend

trim steppe
#

wat

#

you need to provide more information

#

to get adequate help

earnest phoenix
#

so, I'm trying to make a text command, allows you to send a text to someone (through twilio)

#

wew twilio

#

and I'm having issues splitting the args

#

or

#

getting the right one

#

see their youtube vids

#

they explain

#

@earnest phoenix what lang

#

wow

#

lol

#

I just fixed it

#

sigh

#

I had a total retard moment

#

forgot that arrays start at 0

#

i want to kick myself while dying

#

holy shit sudomoose

#

I'm never talking to you ever again

#

lol

#

I haven't coded in a few weeks

#

lmao

#

wew

vital lark
#

@earnest phoenix My args thing: js const args = msg.content.split(" ");

earnest phoenix
#

yeah

earnest phoenix
#
let content = [message.guild.roles.map(role => `**${role.name}**\n${role.id}\n\n`).join("")].sort(role => role.position)

How do you sort roles by Role Position?

bitter sundial
#

I believe the sort fuction gives you role a and role b and you have to compare those two

#

you are sorting after mapping. role is a string now and has no position prooerty

#

do the sort first, then map

tawny lava
#

^

earnest phoenix
#

Ok

#

It still didn't quite work. Some of them are correct some are just randomly placed

uncut slate
#

@earnest phoenix

msg.guild.roles.sort((a, b) => b.position - a.position)
earnest phoenix
#

Ok

#

Appreciate the help Aeth. I didn't exactly know how Sort worked I had never used it

uncut slate
#

Me neither, but I googled it

#

πŸ˜‰

earnest phoenix
#

Lol I didn't know Google knew that shit πŸ˜›

uncut slate
earnest phoenix
#
let sortedRoles = [];
for(let role of message.guild.roles.values()) {
    sortedRoles[role.position] = role;
}
let content = "";
for(let role of sortedRoles) {
    content +=`**${role.name}**\n${role.id}\n\n`
}
content.trim("\n\n");

My other dev said this is faster in terms of ms

uncut slate
#

Could very well be

#

let's bench it

#

hmm

earnest phoenix
#

Post your server count to our API
I have no idea how. Lol

tawny lava
earnest phoenix
#

So pretty much while the bot is on that'll constantly update and post stats?

tawny lava
#

you put that code in your ready, guild join and guild leave events

earnest phoenix
#

Ok

#

I am unsure what I use.
discord.js

jagged plume
#

any of the js ones work

#

doesnt matter

earnest phoenix
#

What one would be best

jagged plume
#

any js one..?

earnest phoenix
#

I know I don't want to get one if there is one better than it

neon pasture
#

I'm using discord.js aswell, and the counter is working just fine. So you can just use discord.js

earnest phoenix
#

The only one that has Discord.js is the Sharding one

#
const snekfetch = require('snekfetch')
const dbotstoken = "YOUR TOKEN"

client.shard.fetchClientValues('guilds.size').then(result => {
const guildsizes = result.reduce((prev, val) => prev + val, 0)
    snekfetch.post(`https://discordbots.org/api/bots/${client.user.id}/stats`)
        .set('Authorization', dbotstoken)
        .send({"server_count": guildsizes})
        .then(() => console.log(`dbotsstats updated successfully`))
        .catch(err => console.error(err))
})
tawny lava
#

use any js one*

earnest phoenix
#

But this is the only discord.js. So any Javascript. But I rather not take the chances

tawny lava
#

smh

#

try them lol

#

worse case scenario it doesn't work

earnest phoenix
#
client.shard.fetchClientValues('guilds.size').then(result => {
const guildsizes = result.reduce((prev, val) => prev + val, 0)
    snekfetch.post(`https://discordbots.org/api/bots/${client.user.id}/stats`)
        .set('Authorization', dbotstoken)
        .send({"server_count": guildsizes})
        .then(() => console.log(`dbotsstats updated successfully`))
        .catch(err => console.error(err))
})

So put this in Ready, GuildCreate and GuildDelete?

neon pasture
#

But you using now a sharded one

tawny lava
#

if you're not sharded that won't work, otherwise yes

earnest phoenix
#

Ugh I won't bother with the API then

tawny lava
#

thonk

neon pasture
#

I'm using this

tawny lava
#

omg

#

hide the token lol

#

use config.json to store it

neon pasture
#

lol

tawny lava
#

and change it now

neon pasture
#

I hided the wrong part

#

Biggest noob ever here

earnest phoenix
#
dblclient.postServerStats({serverCount: "Your library's method of getting guilds size/count"}).then((stats) => {
        console.log("Dbl server count updated DBL isnt down dont spam oliy");
    }).catch(e => console.log(`DBL down Spam Oliy#0330 ${e}`));

This works then?

neon pasture
#

Error: SQLITE_BUSY: database is locked. Why 😦

earnest phoenix
#
let dblclient = new dbl.Client({
        token: "Your Discord Bot List token you get from https://discordbots.org/api/docs",
        id: "Your bot user id make sure this is your bot or it wont work"
    });

Shouldn't the let be const?

tawny lava
#

@neon pasture you have the databse open somewhere else

jagged plume
#

it's not that hard

#

not sharding: <Client>.guilds.size
sharding: fetchClientValues

earnest phoenix
#
"value" required in setHeader("Authorization", value)

What does this mean.
How do I setup the Token?

#

I'm so lost

jagged plume
#

grab the token

earnest phoenix
#

I already have it

jagged plume
#

then put it in..?

earnest phoenix
#

I put it in but it still says that

tawny lava
#
snekfetch.post(`https://discordbots.org/api/bots/${client.user.id}/stats`)
        .set('Authorization', <yourDbotsToken>)
        .send({"server_count": client.guild.size})
        .then(() => console.log(`dbotsstats updated successfully`))
        .catch(err => console.error(err))
})
#

this should owrk

earnest phoenix
#

I'm not using that

#

So

jagged plume
#

make sure you're putting the token in quotes bloblul

earnest phoenix
#

"Authorization", token?

tawny lava
#

ye

earnest phoenix
#

Ok cool

#
let dblclient = new dbl.Client({
        token: "Authorization", "token"
        id: "305203825931845632"
    });

Apparantely it doesn't like "id:"

#

I added the "," at the end of "token" but it didn't like that either

jagged plume
#

wait what are you doing

earnest phoenix
#

The API

jagged plume
#

if you are using that then you just put the token in

#

no thats a wrapper, but anyway

earnest phoenix
#

So I don't need the ID?

jagged plume
#

id?

tawny lava
#

no

jagged plume
#

nooooooo

earnest phoenix
#

The example had it thonk

jagged plume
#

token: "token"

#

pls

tawny lava
#

"Authorization", "token" => "token"

jagged plume
#

not hard

earnest phoenix
#

?

bitter sundial
#

the best js example is at the very top of the channel

earnest phoenix
#

Ok I'll use that

jagged plume
#

oh my god just put token: "your token"

#

and it will work