#development

1 messages · Page 704 of 1

quartz kindle
#

btw node-opus and opusscript are mutually exclusive, you're supposed to chose one

#

so dont try simply installing everything

deft oyster
#

Hmm.. Do you guys know how to make a bot stay online? I can't figure out how to set up Heroku.

inner sapphire
#

get a vps

#

lol

#

wasnt trying to be rude

deft oyster
#

?

#

I didn't see that as rude.

#

I just forgot to thank you lol.

#

I needed alternative ways.

inner sapphire
#

i can give u a vps

#

if you want lol

deft oyster
#

It's fine.

inner sapphire
#

OMG

#

OMGG

#

OMF

#

I FIXED IT

deft oyster
#

?

#

Fixed what?

#

I just joined this server.

#

Oh wait, I just scrolled up.

inner sapphire
#

yeah lol

deft oyster
#

Jesus, I'm not good with scripting..

#

I'm not even a teenager yet..

inner sapphire
#

ahaha

#

you seem a good lad

deft oyster
#

Unless 13 is considered a teenager.

inner sapphire
#

wanna friend up lol?

deft oyster
#

I don't understand any of this.

#

Sure.

fiery creek
#

Hello guys if I host my music bot online musics are ending immediately am not getting any error can some one help me why it is

#

But if I play through my system its running good

inner sapphire
#

@fiery creek you had the same problem i had

fiery creek
#

Ok so any solution

#

But if I run via system its working fine dude

inner sapphire
#

thats how i fixed it

#

lol

fiery creek
#

Wait let me look again

inner sapphire
#

it worked on my pc

fiery creek
#

So you install node-ous

inner sapphire
#

but no vps

#

i installed both

#

then it worked

fiery creek
#

Now it's working????

inner sapphire
#

mine is ye

#

want me to show proof?

fiery creek
#

After hosting

inner sapphire
#

i can dm u an invite to my server

#

yeah

#

lol

fiery creek
#

It's ok no pblm.. plz don't voilate any rules

inner sapphire
#

its working fine weirdblobparty

fiery creek
#

Okay I got your point what are the packages you are using,

inner sapphire
#

the ones i gave u in the link

fiery creek
#

Okay let me see

#

No am having opusscript

inner sapphire
#

?

fiery creek
#

Bot s okay dude mine but the song if I choose it will end immediately

inner sapphire
#
npm install discord.js opusscript
npm install discord.js node-opus
fiery creek
#

Okay dude

quartz kindle
#

I told you not to install both lol...

#

The preferred audio engine is node-opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose node-opus. Using opusscript is only recommended for development environments where node-opus is tough to get working. For production bots, using node-opus should be considered a necessity, especially if they're going to be running on multiple servers.

#

Read the docs

fiery creek
#

Thanks guys

glacial mango
#

Would someone like to help me with posting my bot server count to a website? I use mobirise to make my website

quartz kindle
#

If you are posting server count to dbl, you can literally copy paste the dbl widget link

snow urchin
#

Right, I am a really dumb person, and cannot see the problem I have made now:

res.json({status: "Success", members: g.members.array(), roles: g.roles.array(), emojis: g.emojis.array(), channels: g.channels.array()})

TypeError: Converting circular structure to JSON

quartz kindle
#

Guess .array() doesnt remove circular references

#

Try .map(t => true)

#

Instead of .array()

#

Djs v12 has .toJson() as well, idk about v11

#

Another way to deal with circular references is to use util.inspect

amber fractal
#

There's some good modules that solve circular json

young jungle
#

Does anyone know how to create a simple background task in discord.py (1.0) that just runs once then ends? All the tutorials and docs I find are for the old version

stray garnet
#

Uh, Somethings worng. Im Discord.js Version 11.5.1.
args[0] is or was the first Argument after the Command. Till Yesterday it was like this but now its args[1]. Now the Arguments Are weird. I dont use LowerCase but i can type it however i want. Also i dont have to type out the Provided Argument.

WTF

sudden geyser
#

code? Confused on what you're asking

lunar crystal
#

Ok thanks you very much @quartz kindle

#

However I put the rigth token and there is still an error

rapid geyser
#

Hello, I would like that my bot thank all the people who vote for him, for that I followed this doc:
https://discordbots.org/api/docs#jslib
but I can not find anything, it does not work, someone could enlighten me on how to do?

stray garnet
mossy vine
#

you dont need the () when declaring a class

stray garnet
mossy vine
#

whats the problem in that file

stray garnet
#

Secound Line

#

So according to the console

mossy vine
#

aaaaaaand whats the error

amber fractal
#

That's not how you make a class

quartz kindle
#

@lunar crystal then you are still doing it wrong

amber fractal
#

class Class{}

stray garnet
mossy vine
#

have you read what i said

stray garnet
#

you dont need the () when declaring a class

amber fractal
#

Other

#

aaaaaaand whats the error

mossy vine
#

yeah, so why are you still posting that file when it doesnt have the error you posted before

stray garnet
#

frick

#

its to big

mossy vine
#

the error?

stray garnet
mossy vine
#

you know the full stack trace isnt required

stray garnet
#

F to late

mossy vine
#

oh my god

amber fractal
#

...

#

That's the class error

mossy vine
#

we have already told you how to fix it

amber fractal
#

node_modules/discordrep.js's main file has that error

#

Idk what kind of module doesnt have tests because that would never work

mossy vine
#

looking at the source linked on the npm page of the package doesnt seem to have that error tho

quartz kindle
#

Does it have any recent commit?

mossy vine
#

10 days ago, no sign of such issue

amber fractal
#

Its inital commit doesnt have that error

indigo geyser
#

[discord.py] how to set the category on create_text_channel? i tried category = channel id but nope, channel name but nope

slender thistle
#

category arg requires a CategoryChannel instance (can be easily gotten with get_channel or utils.get iterating through either guild.channels or guild.categories)

lunar crystal
#

Ok @quartz kindle

slim heart
#

In EJS is it possible to have like a loading screen sort of thing? so that its not just sat their loading for a bit on a new thing?

indigo geyser
#

@slender thistle thanks

quartz kindle
#

@slim heart loading screens are only possible with multiple requests

#

Ie request the loading screen, then request the content via ajax or redirect

slim heart
#

hm ok thanks

lunar crystal
#

It's still not working I don't know why 😬

quartz kindle
#

How are you doing it?

#

Show your code (without the token)

distant oar
#

How hard is it to create a music bot?

scarlet phoenix
#

Thanks to things like lavaplayer, easy.

#

Assuming you know how to program

distant oar
#

wut

#

..

sudden geyser
#

Depends on your experience.

#

I've never created a music bot as I didn't want to bother, but I'd call it intermediate.

lunar crystal
#

Sorry for the quality client.login ("<token>")

distant oar
#

I learned scripting yesterday and i already got a bot working with a few commands but i need a music bot

amber fractal
#

And?

mossy vine
#

if you started learning coding yesterday, you have a loooong way to go before making a music bot

amber fractal
#

That isnt a question

distant oar
#

but it was a bit more to my question above

mossy vine
#

if you dont know what you are doing, very hard

distant oar
#

ok

amber fractal
#

Depends on how you good you want it really

#

I would say getting videos and playing them isn't that difficult

distant oar
#

how th do i have a discord app open without it being open

#

well bye...

quartz kindle
#

@lunar crystal

#

You're putting those extra <> in it?

#

Youre not supposed to

#

It should be .login("token") like .login("ienrnfkskmrnfjcndksi")

lunar crystal
#

No it was just for the exemple sorry

quartz kindle
#

And youre still getting incorrect login details?

lunar crystal
#

("token") *

#

Yep :a

quartz kindle
#

Then the token is wrong

#

Where did you get it from?

lunar crystal
#

From my discord develloper portal

twilit rapids
#

@lunar crystal does your token consist of only numbers?

#

like 3849389289883949

lunar crystal
#

Nope there is both

quartz kindle
#

Which part of the developer portal? The bot section?

lunar crystal
quartz kindle
#

You have to get the bot token

#

Not the client secret

lunar crystal
#

Omg really ?

#

So where I found my token ?

mossy vine
#

bruh

#

in the bot tab

lunar crystal
#

Ok lol thanks u very much :+

quartz kindle
#

Then yoire still doing something wrong lol

#

Did you get the correct bot token now?

lunar crystal
#

Yes lol

#

I haven't touch the command, I just deleted the old id & put the token

valid frigate
#

it's not the client id or client secret

lunar crystal
#

Yep

#

I have just Copy / paste the token and that's all

#

Ha you mean the command ok

quartz kindle
#

No, that is correct

#

Its the token that is wrong

#

Make sure you copied and pasted it correctly, that there are no accidental changes after you pasted it, regenerate it and try copying it again

willow magnet
#

Change the content in ('')

#

Like
('N3blablabla.blablabla')

#

Chabge N3blablabla.blablabla to the new token @lunar crystal

grizzled jackal
#

I see a guild.createChannel but I dont see a method to remove one, anyone wanting to point me in the right direction?

grim aspen
#

i'm assuming you're in discord.js

grizzled jackal
#

That's correct

grim aspen
#

wrong one

#

wait yes it is

grizzled jackal
#

Cheers

west spoke
#

Ok... this is more a question

#

me and peter are using the same version of my api (1.1.6.0) but his isnt working the same way as mine.

#

any reason?

grim aspen
#

Are you sure you don’t get the same error as Peter if you run the same code?

#

@west spoke

west spoke
#

I ran the same thing (top embed)

grim aspen
#

Try it again

#

I think someone messed with the code

west spoke
#

It was just installed

grim aspen
#

Then it has to do with the version

#

The code might not be up to date with the version

west spoke
#

We were both on 1.1.6.0

grim aspen
west spoke
#

Also

#

This has happened before

earnest phoenix
#

Okay so im now getting this error again but its related to a complete different section than before..

#
bot.on("messageUpdate", function(oldMessage, newMessage){

  if(oldMessage.content == newMessage.content) return
    const user = newMessage.author;

  let logsChannel = oldMessage.guild.channels.find(channel => channel.name === "message-logs");

    if(!logsChannel) return

    let messageEditEmbed = new Discord.RichEmbed()
    .setTitle("⚠️ A message was edited!")
    .addField("Sent by User", user)
    .addField("Before", oldMessage.content) <=== This is line 67
    .addField("After", newMessage.content)
    .addField("Edited In", oldMessage.guild.channels.get(oldMessage.channel.id).toString() + ` (${oldMessage.channel.id})`)
    .setFooter(`Author ID: ${user.id}| Message ID: ${oldMessage.id}`, bot.user.avatarURL)
    .setColor("#FFFF00")
    return logsChannel.send(messageEditEmbed)
});
#

anyone able to help me fix this at all

earnest phoenix
#

Test this @earnest phoenix

#

Wait

#
bot.on("messageUpdate", function(message, editedMessage){

  if (message.author.bot) return;
    if (message === editedMessage) return;
    if (message.channel.type !== 'text') return;

    let guild = message.guild;
  let logsChannel = guild.channels.find(channel => channel.name == "message-logs");

    if(!logsChannel) return

    let messageEditEmbed = new Discord.RichEmbed()
    .setTitle("⚠️ A message was edited!")
    .addField("Sent by User", user)
    .addField("Before", `${message}`)
    .addField("After", `${editedMessage}`)
    .addField("Edited In", message.guild.channels.get(message.channel.id).toString() + ` (${message.channel.id})`)
    .setFooter(`Author ID: ${user.id}| Message ID: ${message.id}`, bot.user.avatarURL)
    .setColor("#FFFF00")
    return logsChannel.send(messageEditEmbed)
});```
#

@earnest phoenix

#

Without the <=== This is line 67

#

okay thank you @earnest phoenix will try this

#

You're welcome

sage bobcat
#

One message removed from a suspended account.

slim heart
#

i need some css help,
the two red boxes are two seperate divs only have float: left; in order for them to be like seperate, the inside boxes are divs as well which float left inside the div
Im trying to move the second div to the blue box but nothing i seem to do can do it?

lament meteor
#

move it where?

earnest phoenix
#

At the blue box

slim heart
#

^

low wasp
#

@slim heart have display block and remove the float

slim heart
#

made no difference

earnest phoenix
#

`}
// eslint-disable-next-line no-mixed-spaces-and-tabs
const role = message.guild.roles.find(r => r.name === 'LEOPARDCLAN');
if (message.content.toLowerCase().includes('^leopardclan')) {
message.author.addRole(role);
message.channel.send('Role LEOPARDCLAN added!');

}`
#

Hey whats wrong with this code?

slim heart
#

.toLowerCase().includes(a string with an uppercase) hmm

earnest phoenix
#

ohhhhh

#

aight

#

still wont work

slim heart
#

what are u running

earnest phoenix
#

javascript

slim heart
#

command

earnest phoenix
#

node.js

#

^leopardclan

slim heart
#

oh

#

message.author.addRole

#

User#addRole is not a method

earnest phoenix
#

so what do i change to

slim heart
#

GuildMember#addRole is a method

#

@low wasp any idea?

earnest phoenix
#

i will just find role id. its ok

slim heart
#

thats not the issue

grim aspen
slim heart
#

?

wheat jolt
#

how I can send a buffer as an attachment in discord.js

#

I tried

await m.edit(`**Statisticile jucătorului ${statsJSON.nickname} :**`, {
                files: [{
                    attachment: buffer,
                    name: 'file.jpg'
                }]
            })
#

but the message doesn't have any image attached

slim heart
#

@wheat jolt

wheat jolt
#

@slim heart

#

it's still blank

#

like , no image

slim heart
#

What’re you doing now

wheat jolt
slim heart
#

You have to define attachment in file of MessageOptions

wheat jolt
#

ah

slim heart
wheat jolt
#

like this?

slim heart
#

That works even tho it can just be file: BufferResolvable

wheat jolt
#

still no attachment

#

the buffer is alr

#

I am writing it to a png file

#

and it's ok

slim heart
#

Do {file: buffer}

wheat jolt
#

i did

slim heart
#

Wait try sending it as a normal message to see if it works?

#

(Not edit)

wheat jolt
#

d.js is really strange xd

#

it works

#

thanks

slim heart
#

Probably discord

wheat jolt
#

🤷

slim heart
#

I don’t think you can edit with new files

viral spade
#

Hello,
how do people do commands with custom graphical user profiles in nodejs?

broken shale
#

you can't edit images in d.js

#

they probably make it with Canvas @viral spade

viral spade
#

node-canvas?

wheat jolt
#

ye

#

any ideea why this isn't writing text on my canvas?

zealous veldt
#

]]moreinfo @wheat jolt

covert turtleBOT
#

If you want people to be able to assist you, please provide more information, such as what library and language you're using, the code in question and what you are trying to do and/or what is causing the error.

wheat jolt
#

I am using node-canvas and I don't get any error

earnest phoenix
#

@wheat jolt what is stats.avatarURL

wheat jolt
#

I said I have a problem with filling text

#

stats.avatarURL it's just an url to an image

twilit rapids
#

Which one of the 5

wheat jolt
#

all

#

of them

twilit rapids
#

What if you just try "test" first instead of objects and shit

wheat jolt
#

i tested it

#

at the first line

#

and it's not printing the text

#

you can see that I put that '10.50' string

#

this is the output

#

and there needs to be 10.50

sick cloud
#

is there anyone here that knows react and such well enough to convert https://figicons.com (which only supports react) into something that'd work with normal html?

earnest phoenix
#
if(r.body.longdesc < 2048){
            var longdescc = r.body.longdesc
        } else {
            var longdescc = "Trop longue"
        }```
#
.addField("Description Longue: \n", `\`\`\`${longdescc}\`\`\``)```
#

reason: Cannot send an empty message

#

oktgenant please help me i don't understand

earnest phoenix
#

Anybody can help me?

fluid basin
#

@sick cloud js ok or pure css?

earnest phoenix
#

...

fluid basin
#

where is your send code lol

#

I don't see anything that produces that error message

#

its where you send the message to the channel

earnest phoenix
#
const embeddesc = new Discord.RichEmbed()
        .setTitle("Bot Descriptions")
        .setColor("#36393f")
        .addField("Petite Description: \n",  `\`\`\`${r.body.shortdesc}\`\`\``)
        .addField("Description Longue: \n", `\`\`\`${longdescc}\`\`\``)
        .setFooter("DBL API " + new Date().getFullYear())
        .setTimestamp()

        message.channel.send({embeddesc});```
fluid basin
#

oh

#

it must be embed

earnest phoenix
fluid basin
#
const embeddesc = new Discord.RichEmbed()
        .setTitle("Bot Descriptions")
        .setColor("#36393f")
        .addField("Petite Description: \n",  `\`\`\`${r.body.shortdesc}\`\`\``)
        .addField("Description Longue: \n", `\`\`\`${longdescc}\`\`\``)
        .setFooter("DBL API " + new Date().getFullYear())
        .setTimestamp()

        message.channel.send({embed: embeddesc});```
#

this should work

earnest phoenix
#

Oh okay i test this

#

Omg thank you :)

fluid basin
#

np

sick cloud
#

@fluid basin js is fine

fluid basin
#

welp

#

how about fonts? @sick cloud

#

like how font awesome does it

sick cloud
#

well, the icons are xvg, and i'm pretty sure fa uses js?

fluid basin
#

fa uses fonts I suppose

#

usually

#

since its faster

sick cloud
#

it isn't possible to use js i guess?

fluid basin
#

idk I just did it with the webfont method

#

using fonts

#

much faster and easier I suppose

#

I mean you can always try it yourself

#

just change the font size and the size should change

sick cloud
#

how do you use them as a font?

spark kelp
#

hi everyone i have some issue about ram usage im filtering lefted users from client.users and bots too why still i have almost 10k cached members and again why ram usage still increasing | please ping me if you have any clue

quartz kindle
#

because d.js caches everything

#

users, members, presence states, voice states, channels, roles, emojis

#

its not an easy feat to optimize djs but its certainly doable, i made a library that modifies djs and uses 50-60mb ram with 1600 guilds / 200k users (uncached), at the cost of losing some features

modest remnant
#

Any one know who to make music bot in python programming language

sinful lotus
#

although I dont recommend uncaching members / users now unless you are sure you wont hit the ratelimit

narrow kettle
#

so i just wanted to try simple commands and from some reason its not working... can anyone tell me what is the problem?

grim aspen
#

is there an error in the console?

narrow kettle
#

no

#

its sending this msg so it means everything is fine, the bot is online on discord too but commands dont work

grim aspen
#

i see why

amber fractal
#

console.log(args)

mossy vine
#

prefix.lenght

amber fractal
#

🔼

narrow kettle
#

wait... what do i need to do?

mossy vine
#

length

amber fractal
#

Spell

grim aspen
narrow kettle
#

... im so retarted, i have been trying to fix it for hours

#

and was just a typo

mossy vine
#

yeah, it sometimes do be like that

narrow kettle
#

tnx! its finally working

amber fractal
#

Log stuff when it fails

fluid basin
#

@sick cloud see the html file for examples, just put the css and the font files together (basically everything in the zip except the html)

amber fractal
#

If you logged args it could've been fixed easier

narrow kettle
#

logged? like build in visual studio?

#

im realy new to visual studio code so i dont know too much about it

amber fractal
#

Like console.log

narrow kettle
#

oh

amber fractal
#

It would've showed you args was incorrect

narrow kettle
#

tnx :>

amber fractal
#

:+1:

sick cloud
#

oh ok

modest remnant
#

Hello

spark kelp
quartz kindle
#

@spark kelp you cant

#

not without consequences

spark kelp
#

but i dont need that

#

there must be a way to clear or disable these caches

quartz kindle
#

there are ways, but they have side effects

#

for example, disabling role caching, will break all functions that check for permissions

#

disabling channel caching will break receiving and sending messages

#

so you need to deal with those effects accordingly

spark kelp
#

i got it so how can we clear useless caches inside these caches

#

u got what i meaning

quartz kindle
#

v12 has a .sweep() method in all their stores/collections

#

idk about v11

spark kelp
#

can i use v12 is it published?

quartz kindle
#

yes

spark kelp
#

okay i will upgrade it

quartz kindle
#

keep in mind that v12 has many changes from v11, so you will need to change your code

spark kelp
#

so how sweep works

quartz kindle
#

.sweep(function)

spark kelp
#

i cant find v12 docs

quartz kindle
spark kelp
#

there is no v12 too 🙂

#

let me ask djs guild

earnest phoenix
#

master is v12

quartz kindle
#

@spark kelp i just showed you lol, select master

sage bobcat
#

One message removed from a suspended account.

earnest phoenix
#

Pls help my next command skip all songs in queue

#

?

#

Someone

#

Pls

sage bobcat
#

One message removed from a suspended account.

hushed quarry
#

@earnest phoenix debug your code. you didn't even send all the relevant code, so there's not much we can do to help

earnest phoenix
#

I am noob about this

#

Pls can u join to this glitch project and see code?

hushed quarry
#

post the relevant code here

earnest phoenix
#

?

#

All code

hushed quarry
#

for instance, what is serverQueue

#

no, just the relevant code

#

any functions that correspond to the next command

earnest phoenix
#

Ammm all commands in 1 file

#

This is code so big

hushed quarry
#

did you write it yourself

earnest phoenix
#

No this is not my code this is code send for me 1 person

hushed quarry
#

if it's not your code, and you don't know how to debug and code, then yeah you'll have a hard time here

grim aspen
#

use hastebin

hushed quarry
#

you're expected to know how to code coming to bot development

#

at least the basics

#

are you able to write basic code?

earnest phoenix
#

Ammm only embed command and everything

grim aspen
#

oh i see why

#

dispatcher.end

earnest phoenix
#

I try dispatcher.skip

grim aspen
#

it ends the whole queue and leaves

earnest phoenix
#

This is not helped

grim aspen
#

it doesn't skip it

earnest phoenix
#

Yes I know

grim aspen
#

let me look back into bot

#

my

earnest phoenix
#

Ok

grim aspen
#

stupid keyboard

earnest phoenix
#

@grim aspen

#

What I need do?

grim aspen
#

mine is the same

#

did you try adding another song to the queue while it's playing?

#

and then skipping it

earnest phoenix
#

@grim aspen

#

I am trying

#

I am add 2 aongs

#

Songs

#

And try skip

#

1 time: all songs skiped

#

2 time: I replace end to skip = nothing he doesn't skip

wheat jolt
earnest phoenix
#

i doin my bot in discord bot maker

#

🙂

narrow kettle
#

im trying to add music option to my bot but everytime i tell him to play something he is dies(and i need to turn him "on" again)
The only important thing is the switch case 'play'

wheat jolt
#

lol

#

you can add your code in a hastebin

narrow kettle
#

hastebin?

wheat jolt
#

hastebin

narrow kettle
#

whats that?

wheat jolt
earnest phoenix
wheat jolt
narrow kettle
#

so if anyone can help my that would be awsome :>

valid frigate
#

are you getting any errors

narrow kettle
#

no

#

actually yeah, after i write a command on discord

valid frigate
#

what happens when you run the code

#

like

#

the exact error

sudden geyser
#

well if he dies there should be an error

narrow kettle
#

when i run it its clean, when i tell him to play a song there is an errow

#

error*

valid frigate
#

ah

#

is it something about ffmpeg not found

south kernel
#

How do I set it up?

narrow kettle
#

let me check real quick

twilit rapids
#

@south kernel what do you mean?

narrow kettle
south kernel
#

@twilit rapids Rules bot

twilit rapids
#

What is a "Rules bot"?

south kernel
#

I got it of discord bots and it took me here if I need help

twilit rapids
#

hot wrongserver

covert turtleBOT
#

This server is NOT the support server for ANY bot. You need to click on the "Support Server" button on the bot's page, not the "Join Discord" button at the top of DBL.

twilit rapids
#

^

narrow kettle
#

timo

twilit rapids
#

Yes?

narrow kettle
#

i gonna ask it here cuz you are already here, how do i get the bot developer role?

grizzled jackal
#

@narrow kettle message.member,voiceChannel.join() there's a comma

twilit rapids
#

Submit your bot to the site, and once it's approved you get the role

narrow kettle
#

comma?

twilit rapids
#

r,v

narrow kettle
#

site... you mean the discord bot site?

twilit rapids
#

Use . instead of ,

#

yes

narrow kettle
#

damn it, second time i have a typo...

lunar crystal
narrow kettle
mossy vine
#

you included everything but the error

narrow kettle
#

i sent the code too

#

unless i missed something?

#

anyone got any idea how to fix the error?

mossy vine
#

no because you didnt even send the error

amber fractal
#

That's a stacktrace

mossy vine
#

thats just the stack trace and a different error caused by the error you didnt include in the screenshot

narrow kettle
#

just found out i missed it yeah

#

sorry didnt check, was stupid of my self

#

is this one fine?

amber fractal
#

D.js version?

narrow kettle
#

yes

amber fractal
#

...

mossy vine
#

playStream

amber fractal
#

That didnt answer my question

#

Wow I didnt see that lol

#

Yeah capitalization matters

#

Also on master, it's just play

#

Which is why I asked for the version mmulu

narrow kettle
#

wait.., what should i do to fix it then>

#

i made the it from s to S

#

oh wait so i just need to do play instead of playstream?

grizzled jackal
#

we'd know if you told us your d.js version

narrow kettle
#

tnx guys it worked, is there anyway to make the sound better tho?

amber fractal
#

Wym

#

Is the quality bad?

narrow kettle
#

the sound is like, worse then groovy and bots like that

#

but its not realy bad

#

just not good

amber fractal
#

Higher bit rate

narrow kettle
#

how do i change the bit rate?

amber fractal
#

On stable? No idea

narrow kettle
#

do you have any idea how to do that it would check its a link?

amber fractal
#

In discord you need to change the bit rate of the channel

narrow kettle
#

yep saw that tnx

amber fractal
#

But I wouldnt say it will make a huge difference

narrow kettle
#

got any idea how to make it check its a link? (args2)

amber fractal
#

Regex

narrow kettle
#

oh

mossy vine
#

a good regular expression, gl making one tho

narrow kettle
#

Wow thats helpful

amber fractal
#

Or you can do a simple startsWith("http") mmulu

mossy vine
narrow kettle
#

tnx guys

short siren
#

1.3k character regex xD

lunar crystal
#

And know, now how do I do to create my own prefix

grim aspen
#

wdym

lunar crystal
#

Sorry what is "wdym" ?

mossy vine
#

what do you mean

grim aspen
#

what do you mean

#

fuck

lunar crystal
#

I don't know the english word, you know each bot has got his own prefix like !

#

or s/

mossy vine
#

okay, how is that relevant

#

(talking to that samet guy)

verbal basalt
#

Anyone here use pydroid3? Please dm me I am trying to set up a bot and I can't do it

earnest phoenix
#

var servers = {};
const queue = new Map();
var serverQueue = queue.get(message.guild.id);

const sddsc = new Discord.RichEmbed()

.setTitle("Musique")
.addField("Aucune musique", `:asterisk: Aucune musique en joue !`)
       
if (!serverQueue) return message.channel.send(sddsc);    
return message.channel.send(`:arrow_right: En joue : **${serverQueue.songs[0].title}** !`);

  }```
#

nowplaying command

#

Don't said the played music

#

I have already the embed

late hill
#

You're not adding anything to queue in the code above

#

It'll always be a new empty map

earnest phoenix
#

In the play command i have add a music...

late hill
#

Maybe you have, but if the code above is ran when you're checking the current music

#

It'll set queue back to a new map

#

Which will be empty

earnest phoenix
#

Oh...

#

How to solve this??

late hill
#

Is the play command in the same file

earnest phoenix
#

Do I have to put the orders in the same file?

late hill
#

No

earnest phoenix
#

For the custom prefix it wouldn't be fine

#

Oh

late hill
#

You just have to initiate the queue as a new map once

earnest phoenix
#

Mmmh

late hill
#

And then pass it on to your play command

#

or queue command

earnest phoenix
#

How to make this?

late hill
#

You can put the queue as a module export

#

and then access it from anywhere rly

#

You could extend your client object and add the queue to that

earnest phoenix
#
const pqueue = require("./play.js")
message.channel.send(`:arrow_right: En joue : **${pqueue.serverQueue.songs[0].title}** !`);```
late hill
#

Bunch of options

earnest phoenix
#

Working?

lunar crystal
earnest phoenix
#

@lunar crystal yes

late hill
#

Depends on what's in play.js

lunar crystal
#

talking about the prefix 🙂

earnest phoenix
#

The serverQueue is present

lunar crystal
#

@earnest phoenix Ok thank u

earnest phoenix
#

Np

quartz kindle
#

@lunar crystal no

#

its not correct

earnest phoenix
#

PREFIX = "7!"

quartz kindle
#

^

earnest phoenix
#

Not PREFIX "7!"

lunar crystal
#

Ok thank u 😄

quartz kindle
#

you should take a look at learning javascript

#

else you wont get far

lunar crystal
#

Oki

#

Do you have some website ? pls

earnest phoenix
#

YouTube with graphikart etc...

lunar crystal
#

Ok

#

ty

quartz kindle
#

youtube is not always a good place to learn lol

earnest phoenix
#

Oh

quartz kindle
#

they quickly get outdated, some give you bad practices and give you code without explaining correctly

earnest phoenix
#

Yes

#

How to get the queue from the play.js to use it in nowplaying.js?

quartz kindle
#

make it globally available, or save it in the main file and pass it as a parameter

earnest phoenix
#

const queue = new Map();
i want to export this :/

#

For the np command

warm marsh
#

Add it to the client.

#

so you just do client.queue.get(guild.id);

earnest phoenix
#

In the second file

#

?

#

I'm not make this in an index file

quartz kindle
#

why not?

earnest phoenix
#

The custom prefix...

quartz kindle
#

const client = new Discord.Client();

earnest phoenix
#

Yes i know this lol

quartz kindle
#

client.queue = new Map();

earnest phoenix
#

Oh thank you :)

#

ReferenceError: queue is not defined

#

Nope

twilit rapids
#
const queue = new Map();
client.queue = queue;
earnest phoenix
#

Thank you

quartz kindle
#

lol wut

#

@earnest phoenix we are making queue belong to client, so that there is only one global queue

#

so everytime you need to access it, you have to get it from client

twilit rapids
#

I'm confused why the thing you said didn't work though

quartz kindle
#

so you should replace all your queue.something by client.queue.something

earnest phoenix
#

Okay good :)

twilit rapids
quartz kindle
#

he probably tried doing ```js
client.queue = new Map();

queue.add()```

twilit rapids
#

Yeah that would make sense

earnest phoenix
#

Oh okay

west spoke
#

@livid pier deleting bulk messages wont exceed the api, as long as it doesnt go past 1000

earnest phoenix
#

100*

#

you can bulk delete a maximum of 100 messages per request iirc

west spoke
#

Ooh

#

I thought it was 1000
Okey

narrow kettle
#

a quick question, what happends if i dont put a limit?

earnest phoenix
#

where

narrow kettle
#

for deleting msgs with bulk

earnest phoenix
#

well you have to

#

it's a parameter

narrow kettle
#

oh ok

mossy vine
#

rtd

warm marsh
#

args[1] > 100 ? 100 : args[1] <= 0 ? 0 : args[1]

narrow kettle
#

also how can i make the bot answer with a random answer(after i tell him what answers he has, he choose a random answer)

#

tnx btw

warm marsh
#

Use an array of responses then Math.random the array.

#

My name is "somehash" Why?

earnest phoenix
#

because you have an annoying username to mention

warm marsh
#

95ec is hard?

earnest phoenix
#

ask dbl mods 🤷

warm marsh
#

Meh.

unique nimbus
#

Sometimes hash can hide a nsfw name

#

or an insult

warm marsh
#

Fair.

#

Also @narrow kettle probably want to parseInt your args value so that it's a number not a string.

#
let amount = !isNaN(args[1]) ? parseInt(args[1]) : null;
frigid torrent
#

Anyone knows how to add views thing in the music bot?

earnest phoenix
#

what

frigid torrent
#

example like this

earnest phoenix
#

youtube video views?

frigid torrent
#

yeah

earnest phoenix
#

depends on everything you're using for your music bot

frigid torrent
#

Aight thanks

narrow kettle
#

btw ty hash, didnt see it

warm marsh
#

Np.

narrow kettle
earnest phoenix
#

guild is not defined

narrow kettle
#

Yeah but how do I fix it?

slender thistle
#

define guild

#

as stupid as that sounds

#

You have message.guild

narrow kettle
#

I'm kinda retarted, can you show me that on my code?

slender thistle
#

line 73 on that page

#

Close attention to what you did there

narrow kettle
#

God, damn, it

#

Fifth time today

#

Tnx tho

slender thistle
#

👍

earnest phoenix
#

How to replace certain characters in an argument?

valid frigate
#

context?

earnest phoenix
#

Wait

#

logs 3 = define a logs channel

#

But i do type: >logs 3 name_fo_channels

#

And i want to identify the channel for define the logs channel

#

logs 3 #example

#

Example with a channel here:

logs 3 #logs

#

@valid frigate

valid frigate
#

wot

#

oh

#

assuming your args are ['3', '<#00000>']

earnest phoenix
#

No

#
if (toenable === "3") {
          const newlogs = args.slice(1).join(' ')
          const newlogschannel = newlogs.replace(/[^\x00-\x7F]/g, "");```
earnest phoenix
#

:/

sudden geyser
#

Dany it's kind of hard to understand what you're trying to get. Could you explain it possibly clearer?

sage bobcat
#

One message removed from a suspended account.

earnest phoenix
#

I have to type the channel name to define it but I would like to be able to identify it instead @sudden geyser

sudden geyser
#

because output is undefined?

unique nimbus
#

Did you define data @sage bobcat

sage bobcat
#

One message removed from a suspended account.

#

One message removed from a suspended account.

unique nimbus
earnest phoenix
#

How to delete characters you don't want in an answer?

Imagine that the answer is <154> and I only want to keep 154

#

Or simply <string>.replace("<#","").replace(">",""") but in javascript

warm marsh
#

your second replace method has an error.

#

Either meant to be "" or "\""

earnest phoenix
#

No

#

It's a python replacement

#

But

#

I want to do this in javascript for my bot

#

For my logs channel

#

Hi, I'm looking for a host for my bot can anyone recommend me any?

#

Free?

slender thistle
#

""" is for multiline strings

earnest phoenix
#

But i'm not coding in python..

#

@earnest phoenix you were answered in general

#

I want to do a similar thing for define my logs channel

broken shale
#
   <div class="quicklinks">
       <a href="#">Calender</a><br>
       <a href="#">Galleries</a><br>
       <a href="#">Newsletter</a><br>
       <a href="#">Contact</a>
   </div>```
```css
.quicklinks {
        background: #e3eaf2 url(./assets/qlink_arrow.png) no-repeat scroll 209px 23px;
        border-left: 4px solid #cddbe9;
        color: #001133;
        display: block;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 20px;
        font-weight: bold;
        height: 70px;
        line-height: 20px;
        margin: 0;
        text-transform: uppercase;
        position: relative;
        text-align: center;
        text-decoration: none;
        width: 246px;
        letter-spacing: 1.2px;
    }```
earnest phoenix
#

@snow urchin bot can't be in a group dm

broken shale
earnest phoenix
#

@slender thistle can you do a similar thing in js?

snow urchin
#

@earnest phoenix one of my friends managed to do it before, using that code

slender thistle
#

String.trim

earnest phoenix
#

@snow urchin a bot can't be in a dm group.... Don't try...

broken shale
#

Even if it's possible in stable, all user methods are going to be deprecated in master or when v12 comes out

earnest phoenix
#

Yes

#

And it's good

broken shale
#

Does anyone know how to solve my issue

earnest phoenix
#

@earnest phoenix Yes more if it's paid and not so expensive

#

@earnest phoenix ???

#

Host

#

For my bot

#

check pins

quartz kindle
#

@earnest phoenix you can use .replace() in js

#

what are you trying to do?

earnest phoenix
#

Wait i will use a tranlate app 😓

slender thistle
#

Can't they use .trim to remove something from a string

quartz kindle
#

trim removes whitespaces

earnest phoenix
#

When I want to define a channel of logs on my bot I have to mark the name of it(the name of the channe)

#

But

#

I want to be able to mention it

#

Example:

#

the mention will appear in it's format, not in the name of the channel

#

I am obliged to do
logs set logs

#

@earnest phoenix but it's possible to remove <#> after

#

With code

quartz kindle
#

just use a replace with a regex

earnest phoenix
#
var regextest = (/([<#>])/);```
#

?

quartz kindle
#

you can use regex directly

#

.replace(/\D/g,"")

earnest phoenix
#

What's the exact regex for replace <#>

quartz kindle
#

the one i sent

earnest phoenix
#

Okay thank you ^^

quartz kindle
#

\D matches all non-numbers

earnest phoenix
#

Okay good

quartz kindle
#

/g for global

earnest phoenix
#

Yes

quartz kindle
#

replace all matches with ""

earnest phoenix
#

.replace(/\D/g,"<#>")

#

?

quartz kindle
#

no...

earnest phoenix
#

Oh...

quartz kindle
#

replace with ""

#

replace with nothing

earnest phoenix
#

Oh okay sorry facepalm

#

`var p = args[0].replace(/\D/g,"")

message.channel.send(p)`

#

Thank you very much

#

😊

quartz kindle
#

👍

earnest phoenix
quartz kindle
#

@broken shale you're using a fixed height and a fixed line-height

#

your height is 70, while your line-height is 20

#

either make line-height equal to height, or use padding instead of both

opaque eagle
#

Also it's calendar

#

with an a

quartz kindle
#

you dont even need to define height, you can just use line-height or padding, and remove the height rule

#

you also dont need position:relative

snow urchin
#

rite so i have this db for prefixes, and same for log channels

            prefix = await db.fetch(`db.prefix.${message.guild.id}`)

and the code to set prefix is simply

db.set(`db.prefix.${message.guild.id}`, args[0])

and it works fine cause I can use the prefix that i set just fine, then when I go to use it in my nodejs express file the same code as above to fetch the prefix, returns undefined, and I have NO IDEA why

  app.get("/getInfoDASH", async function (req, res) {
    let parts = url.parse(req.url, true);
    let query = parts.query;
    prefix = await db.fetch(`db.prefix.${query.guild_id}`)

Any idea wat am doing wrong?

earnest phoenix
#

I have this bit of code ```js
fs.readdir("./commands/", (err, files) => {
if (err) return console.error(err);
files.forEach(file => {
if (!file.endsWith(".js")) return;
let props = require(./commands/${file});
let commandName = file.split(".")[0];
console.log(Attempting to load command ${commandName});
client.commands.set(commandName, props);
});
});

fs.readdir("./events/", (err, files) => {
if (err) return console.error(err);
files.forEach(file => {
const event = require(./events/${file});
let eventName = file.split(".")[0];
client.on(eventName, event.bind(null, client));
});
});``` but it's spitting out Cannot find module './events/commands', it's supposed to look for files, not other folders, for example i'd have a guildMemberAdd.js in the ./events/ folder, not another folder

valid frigate
#

you cannot call ./events/commands because it doesn't end in a .js file, so node assumes you're trying to use a module from node_modules iirc

#

try using ./events/commands/cmd.js

earnest phoenix
#

wasn't exactly it, but you did make me realize that I needed an if (!file.endsWith(".js")) return; in the fs.readdir events section, thanks :)

midnight glade
#

What do I do

#

I’m sooo confused

brittle plover
#

@valid frigate requiring ./events/commands will either try to require ./events/commands/index.js or ./events/commands.js

midnight glade
#

?

brittle plover
#

just a fyi

midnight glade
#

I need help making a bot

earnest phoenix
#

can i get some help with haveing my bot send links because I have it set to send a link and it doesn't send it

#

it justs skips it

midnight glade
#

Me to I need help

earnest phoenix
#

what

eternal mesa
#

dad faq 3 @midnight glade

covert turtleBOT
#
Frequently Asked Questions 📜

Click the link to get more information on the question:
3) How do I make a bot?

eternal mesa
#

@earnest phoenix that is a little vague

midnight glade
#

dad faq 3 @midnight glade

#

What’s that

eternal mesa
#

read what the bot said

midnight glade
#

What about it

earnest phoenix
#

@earnest phoenix

eternal mesa
#

@midnight glade it tells you how to make a bot?

quartz kindle
#

@midnight glade did you read what the bot said? also dont go around dming people

midnight glade
#

Oops

dusky marsh
#

And what exactly do you need help with

earnest phoenix
#

I can send a screenshot of the code that's supposed to send the link I think I'm using discord js

quartz kindle
#

twist smh

earnest phoenix
#

👀

quartz kindle
#

lmao

eternal mesa
#

👀

earnest phoenix
#

they think

#

when I look at discord js I think it's just normal JavaScript so I get them to confused

dusky marsh
#

Discord.js is normal js

#

It's just a library

earnest phoenix
#

oh right

#

I don't know very much about Java

dusky marsh
#

🤦

midnight glade
#

I’m soooooosooo confused

quartz kindle
#

what are you confused about? also how old are you?

dusky marsh
#

Jesus

midnight glade
#

?

quartz kindle
#

do you know what programming/coding is?

midnight glade
#

Yea

#

I’m learning

quartz kindle
#

making a bot requires knowledge of programming

midnight glade
#

I’m 12

quartz kindle
#

rip

earnest phoenix
#

goodbye

#

and good luck

midnight glade
#

I just want a bot

quartz kindle
#

come back when you're 13

dusky marsh
#

Rip

midnight glade
#

😳

#

I’m 13 now

earnest phoenix
#

lol

quartz kindle
#

@eternal mesa

earnest phoenix
#

?

midnight glade
#

Me is confused

#

Help

earnest phoenix
#

you are about to get beaned

#

💀

midnight glade
#

Beaned

eternal mesa
#

-b 622188328128872488 Under 13

gilded plankBOT
#

dblMod Banned XILΣD☫FAZE☔🌧#7063 (@midnight glade)

earnest phoenix
#

he now knows what beaning is

eternal mesa
#

@earnest phoenix JavaScript and Java are 2 very different things just so you know

earnest phoenix
quartz kindle
#

and your question is? lol

earnest phoenix
#

first off its not a valid link for invites

#

if its about the link

#

i think it is

#

it is

#

after the gg do a /

#

not a dot

#

ok but it just skips over the link also i put in the Slash

#

it's like it's not there

quartz kindle
#

what do you mean?

#

the rest of the message is there, just without the link?

earnest phoenix
#

ya ill show you

quartz kindle
#

do you have link preview disabled in your discord settings?

earnest phoenix
#

I'm on mobile so I don't know

#

but it does show another link when I do the command to show my bots invite link

quartz kindle
#

so other links work but that one doesnt? wtf

earnest phoenix
#

but the bots invite link is just on its own

#

I don't get why it doesn't do the server invite

eternal mesa
#

this is going to be a really stupid question. have you added that link in your code since restarting your bot

earnest phoenix
#

yeah I restarted the bot after I added the code

#

try again just to be safe idk

quartz kindle
#

make sure you save the file as well

eternal mesa
#

^

earnest phoenix
#

I made sure to save the file and I just restarted the bot and it still doesn't do the invite link

quartz kindle
#

check your streamer mode settings

earnest phoenix
#

I'm using discord mobile so I don't think it has streamer settings

quartz kindle
#

well idk what else to try

#

try adding spaces to the link

earnest phoenix
#

I'm an idiot I added the link to a different command

quartz kindle
#

Lol

earnest phoenix
#

sorry for wasting your time

toxic shale
#

Guys how do I make a bot?

earnest phoenix
toxic shale
#

Thanks

earnest phoenix
#

I wrote my script and copied my token in and everything, but when I go to run it I get
NameError: name '*****************************' is not defined

#

I'm using python and a bot template from the internet

grim aspen
earnest phoenix
#

the script for the bot itself looks fine

sudden geyser
#

is the star spam supposed to be a string

earnest phoenix
#
    client.run(NjI4NzI4MTczNjIxODA1MDc2.XZPfvg.FuJ3mkyGKYmwXJ07nvTZu8AkCp0)
NameError: name 'NjI4NzI4MTczNjIxODA1MDc2' is not defined``` is a bigger look at the error (I regenerated after I got the error so this token's no good for people look to steal 👀
sudden geyser
#

go reset your token
nvm

earnest phoenix
#

yeah I've tried that multiple times crossed

#

idk how you do that lol

eternal mesa
#

Its a string

sudden geyser
#

strong TohruStronk

search up python string.

eternal mesa
#

@sudden geyser shut your moth

sudden geyser
#

okay my mouth moth can no longer open

eternal mesa
#

Tnx

earnest phoenix
#

you think something before 147 is bad?

#

I found a page of python strings, not sure I follow what i need from it

#

OOOOOOOOOOhhh

#

I feel so dumb

#

I was missing the quotation marks

grim aspen
#

you shouldn't have to define the token

earnest phoenix
#

idk but i added quotation marks between the parenthesis and it worked

#

Says bots online

#

How do I add it to my server lol

earnest phoenix
#

its ya boy with another question about the same code, js fs.readdir("./commands/", (err, files) => { if (err) return console.error(err); files.forEach(file => { if (!file.endsWith(".js")) return; let props = require(`./commands/${file}`); let commandName = file.split(".")[0]; client.commands.set(commandName, props); }); }); Basically, say I have multiple folders to categorize commands, like ./commands/moderation, and ./commands/informational, would I do another forEach kind of deal, similar to how all of the files are recieved in the ./commands/ but for folders, or is there a different way to go about this that would be better?

sick cloud
#

basically yeah add another

zealous veldt
#

Not really answering your question (sorry), but you might want to change if (!file.endsWith(".js")) return; to something that checks if the file is a directory

sick cloud
#

the logic is plain simple:

forEach folder in /commands
forEach command in /commands/-folder-
load command

zealous veldt
#

^ this

earnest phoenix
#

would there be an advantage to changing that bit of code up, like is it faster, less prone to failure or something, etc. @zealous veldt

zealous veldt
#

Well, there are nested directories, no?

earnest phoenix
#

ye

#

wait

#

oh

#

nevermind

#

I get you

#

had a bit of a woooosh moment

zealous veldt
#

lol

tacit stag
#

2 questions: 1) Is there a way to have a bot output a link, but the link is shortened to some text, like "www.google.com" => "google"? 2) Is there a way to do something when a link is hovered, like show an image?

zealous veldt
#

You can use markdown inside of embeds to make text a link

#

but hovering is out of your control

tacit stag
#

ah ok. lemme see if i can find how to use markdown within discord.js

zealous veldt
#

It's not different for discord.js

#

discord text formatter is a markdown formatting engine

#

so if you send text with markdown, discord will handle it

tacit stag
#

I tried [url="https://somelink.com"]Link[/url], and <a href="https://somelink.com">Link</a>

#

Those didnt work

#

@zealous veldt

#

and in an embed using [https://google.com](Google), this did not work either

#

wait

zealous veldt
#

Other way round

tacit stag
#

ah ok. makes sense since the url would attempt to use the brackets

#

is there a way to create a non-static one? like so: `[${siteName}](${siteURL})`

#

I tried this, and it didn't work

#

@zealous veldt

sick cloud
#

thats because you have ` around it

#

cancelling it out

#
[`${name}`](${url})``` would work
tacit stag
#

okay. lemme test

#

That didnt seem to work. Basically I am creating an embed, and heres the whole code line: javascript .addField("**Link:**", `[${site}](${url})`, true)

#

Even putting backticks on the inside didnt seem to work

#

I guess the next best thing is: javascript '[' + site + '](' + url + ')'

#

but that doesnt seem to work either

#

no that does

#

i misspelled something lol

sick cloud
#

show what the first one puts out

unreal junco
#

my reload command wont work

#
if(!args[0]) return message.channel.send(`${emote.cross} Invalid Arguments **${prefix}help reload** for more information!`)

     let commandName = args[0].toLowerCase()

     try {
         delete require.cache[require.resolve(`./${commandName}.js`)] // usage !reload <name>
         bot.commands.delete(commandName)
         const pull = require(`./${commandName}.js`)
         bot.commands.set(commandName, pull)
     } catch(e) {
         return message.channel.send(`Could not reload: \`${args[0].toUpperCase()}\``, e.message)
     }

     message.channel.send(`${emote.tick} Successfully reloaded the command \`${args[0].toUpperCase()}\`!`)
     console.log(`Reloaded \`${args[0].toUpperCase()}\`!`)```
#

actually dw
i got it

stray garnet
#

is .setColor("") broken?

zealous veldt
#

]]moreinfo

covert turtleBOT
#

If you want people to be able to assist you, please provide more information, such as what library and language you're using, the code in question and what you are trying to do and/or what is causing the error.

stray garnet
#
const mongoose = require("mongoose");
const botconfig = require("../botconfig.json");
mongoose.connect(botconfig.database, { useNewUrlParser: true }, err => {
  if (err) console.error(err);
  console.log(mongoose);
});
const RP = require("../models/rp.js");

exports.run = async (neko, message, args) => {
  const user = message.mentions.users.first() || message.author;

  RP.findOne(
    {
      serverID: message.guild.id,
      userID: user.id
    },
    (err, bio) => {
      if (err) console.error(err);

      if (!bio) {
        const NewBio = new RP({
          bio: args[1],
          userID: user.id,
          serverID: message.guild.id
        });
        NewBio.save().catch(e => message.channel.send(e));
      }
      if (bio) {
        const Bio = new RP({
          username: user.username,
          userID: user.id,
          bio: args[0]
        });
        Bio.update().catch(e => console.log(e));
      }
    }
  );
};
module.exports.help = {
  name: "setbio",
  aliases: []
};

so i tried some ways now to update something if it already exists. None of them worked. Please Help

earnest phoenix
#

Send the error

knotty steeple
#

@zealous veldt you can set the text it says when you hover over a link

#

in markdown

stray garnet
#

@earnest phoenix there is none :/

slim heart
#

What’re discord tokens digested in?

stray garnet
#

well uh can any1 help me?

slim heart
#

I’m browser oauth how would do I redirect back to something after a login? Like rather than using sessionStorage, is there a way to pass on query through discord oauth

earnest phoenix
#

use your redirect uri

short portal
#

is it against tos to have a google command?

amber fractal
#

No