#development

1 messages ยท Page 526 of 1

quartz kindle
#

missing permissions happens when your bot doesnt have permission for something

#

it can be many things, your bot trying to send a message where it cant, etc...

earnest phoenix
#

How can I extend this to reveal more information of the rejection?

    Logger("[UNHANDLED REJECTION] " + (error.stack == undefined ? error : error.stack), "warn");
})```
#

issue is its constantly spamming my console

quartz kindle
#

i dont think you can, at least i havent been able to either. you have to track the issue yourself by making sure you handle all possible permissions and catch all possible errors

#

for example always use .send().catch()

earnest phoenix
#

its annoying lol

quartz kindle
#

yeah it is

#

my bot still has that error like once every now and then

#

and i havent been able to solve it yet

#

and i also get unknown message sometimes

earnest phoenix
#

Bruhh

#

its literally every 5 seconds

quartz kindle
#

yeah, pay attention to permissions. what kind of commands does your bot do?

#

for example, if you're sending embeds, you need the embeds permission

earnest phoenix
#

role perms to anything but no is using the bot as its standalone in one server (beta version)

quartz kindle
#

you can try testing all permissions and finding out which ones are missing

earnest phoenix
#

:/

#

its annoying

#

LOL

#

it seems to be the guildMemberAdd/Remove but theres no permissions in there

[ USER LEFT ] "Tevezplays655" (ID:"462301170904334345") has left "Discord Bot List (Server ID: 264445053596991498)"
[ WARNING ] [UNHANDLED REJECTION] DiscordAPIError: Missing Permissions
    at item.request.gen.end (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:79:15)
    at then (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\node_modules\snekfetch\src\index.js:215:21)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
west raptor
#

huh

#

what are you trying to do

earnest phoenix
#

Im trying to find where the issue is for permissions

#

Its spamming the console every few seconds

quartz kindle
#

what does your bot do on guildmemberadd/remove?

earnest phoenix
#

does logs

#

sends a log to the logs channel if it exists

quartz kindle
#

does it have permissions for the logs channel?

earnest phoenix
#

Every event is disabled

quartz kindle
#

does it send embeds?

earnest phoenix
#

and its still doing it

west raptor
#

huh

#

what are you doing on message event

earnest phoenix
#

nothing its disabled

quartz kindle
#

what about the ready event?

#

are you doing anything like setting nickname, etc?

earnest phoenix
#

nopr

quartz kindle
#

well idk then

#

post your entire code or good luck xd

topaz fjord
#

Show us your guildMemberLeave event @earnest phoenix

quartz kindle
earnest phoenix
#

eyw

#

hmm

#
const Discord = require("discord.js");
const Logger = require("../functions/log.js");
module.exports = (client, member) => {
    Logger(`"${member.user.username}" (ID:"${member.user.id}") has left "${member.guild.name} (Server ID: ${member.guild.id})"`, "userleft");

    const logChannel = member.guild.channels.find(c => c.name === client.config.log);
    if (!logChannel) {
        return Logger(`The guildMemberRemove log channel does not exist in the server named '${client.guilds.get(member.guild.id).name}'`, "warn")
    }
    if (member === client.user.id) return;

    let userleft = new Discord.RichEmbed()

        .setTimestamp()
        .setTitle(`User Left Server`)
        .addField(`User Left: `, `${member.user.tag}`)
        .setColor("RANDOM")
        .setFooter("User Left Server")
    logChannel.send(userleft)

    if (member.guild.channels.find(c => c.name === "new-members")) {

        let embed = new Discord.RichEmbed()

            .setTimestamp()

            .addField(`Goodbye,`, `\nWe hope you enjoyed your stay here.\nWe are sorry to see you leave.`)
            .setFooter("BETA-MODE ENABLED | Future Feature in v1.7 without this footer.")

        member.guild.channels.find(c => c.name === "new-members").send(`<@${member.user.id}>`, embed)
    } else {
        return;
    }
}
#

@topaz fjord

topaz fjord
#

You might not have perms to send in a channel

tight heath
#

EMBED_LINKS ๐Ÿค”

earnest phoenix
#

Hmm

topaz fjord
#

^^

earnest phoenix
#

Hmmm

#

OK so every event is disabled

#

now its stopped tf

topaz fjord
#

Well ofc

#

Because it has to be code in an event that is causing the error

earnest phoenix
#

Now to go through each event enabling them one by one and seeing which causes it

inner jewel
#

you could just add permission checks

#

before sending the messages

topaz fjord
#

^

tight heath
#

if (msg.channel.permissionsFor(msg.guild.me).has(['SEND_MESSAGES', 'EMBED_LINKS']))

topaz fjord
#

msg isn't until guildMemberLeave u weeb

tight heath
#

idgaf

earnest phoenix
#

OK, so its not the events

#

its gotta be the main.js file

#

I think its this client.on('channelCreate', (channel) => {

#

since i disabled that its completely stopped

quartz kindle
#

so whats the code in it?

earnest phoenix
#

It checks for a channel name for the global-chat functions

#

but it has a checker to see if channel exists if not then return else do the func

quartz kindle
#

show the code

earnest phoenix
#

its similar to channeCreate

#
client.on('channelDelete', (channel) => {
    if (channel.type === "dm") return;
    if (channel.name === "global-chat-network") {
        let embed = new Discord.RichEmbed()


            .setAuthor(`Guild Left The Global-Chat Network`, channel.guild.iconURL ? channel.guild.iconURL : client.user.avatarURL)
            .setThumbnail(channel.guild.iconURL ? channel.guild.iconURL : client.user.avatarURL)
            .addField("Guild Name:", channel.guild.name)

        client.channels.filter(c => c.name === 'global-chat-network').map(ch => ch.send(embed))


    } else {
        return;
    }

})
#

but that seemed to be issue

quartz kindle
#

well yeah, you're sending a message to all guilds that have that channel

#

how can you be sure other guild's channels have the right permissions?

#

you need to check for permissions on each guild that you send to

earnest phoenix
#

I might make it do a cmd to create its own channel with name

#

like

#

r joinGNC

#

why aint this working

     var customprefix = new db.table('Prefix');
 var prefixsetting = customprefix.get(message.guild.id, 'Prefix');
    if (message.content.indexOf(config.prefix) !== 0 || (message.content.indexOf(prefixsetting) !== 0||!message.content.startsWith("@heavy thistle "))) return;
night imp
#

Error?

earnest phoenix
#

it does not do anything when i run a command

night imp
#

Then your if statement is returning false

earnest phoenix
#

im tryna test the db part, but the config.prefx is set to -- and wehn i go to use it it does nothing

night imp
#

Console.log the data to make sure it's what you expect

earnest phoenix
#

ffs, my args are messed up

#

ok i fixed my issue

#

anyone got any idea as to why when using args it uses the command too, but ignores the prefix???

night imp
#

Can you post where you defined args

#

You are probably slicing the prefix off

earnest phoenix
#

anytime i do --config set prefix --- it return (node:21205) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions in log, but it shouldnt need perms to do anything other than do db in the actually files and send a message saying success

night imp
#

@earnest phoenix code pls

tight heath
#

is that success Message an embed

earnest phoenix
#

@tight heath ye why?

#

@night imp i have sliced the prefix off, and i want to slice the rest of the command off but it doesnt seem to want to

tight heath
#

because embeds need a permission

night imp
#

Code pls

tight heath
#

called

#

EMBED_LINKS

earnest phoenix
#

omg, BOTS IN THIS SEVRER HAVE THAT PERM

#

๐Ÿคฆ

#
 const args = msg.content.slice(prefix.length).trim().split(/ +/g);```
#

i think it has something to do with that

tight heath
#

but do they have it in that channel

#

you toidi

earnest phoenix
#

YES

#

omg

#

all bots are doing embeds

#

.

#

and my bot sent the embed so its not that ๐Ÿคฆ

#

Ok, so it seems to be this server its havving issues with IDK why

tight heath
#

maybe this

earnest phoenix
#

maybe

#

probably

#

definitly

tight heath
#

now don't scream at me you ungrateful

earnest phoenix
#

every command works, but for commands such as rock,paper,scissors, it picks up the rps part of the command and what ever you say

tight heath
#

smh

earnest phoenix
#

ermmm ```fix
[ CRITICAL ] [UNCAUGHT EXCEPTION] TypeError: Cannot read property 'id' of undefined
at module.exports (E:\BotDevelopment\Rxiqi BETA\events\userUpdate.js:5:52)
at Client.client.on (E:\BotDevelopment\Rxiqi BETA\rxiqi.js:147:84)
at emitTwo (events.js:126:13)
at Client.emit (events.js:214:7)
at PresenceUpdateHandler.handle (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\src\client\websocket\packets\handlers\PresenceUpdate.js:24:14)
at WebSocketPacketManager.handle (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65)
at WebSocketConnection.onPacket (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
at WebSocket.onMessage (E:\BotDevelopment\Rxiqi BETA\node_modules\ws\lib\event-target.js:120:16)
at emitOne (events.js:116:13)

night imp
#

Try

let args = msg.content.split()[0].delete()

#

Not at computer so can't test

earnest phoenix
#

????

#

you got rid of the prefix tho

#

i have this for args

    var args = message.content.slice(config.prefix.length).trim().split(/ +/g);
#

if it helps

night imp
#

Wait do you want to keep it?

earnest phoenix
#

erm

#
 const args = msg.content.slice(prefix.length).trim().split(/ +/g);```
#

this is starting again

[ USER LEFT ] "BimJohny" (ID:"394063500483362816") has left "Discord Bot List (Server ID: 264445053596991498)"
[ WARNING ] [UNHANDLED REJECTION] DiscordAPIError: Missing Permissions
    at item.request.gen.end (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:79:15)
    at then (E:\BotDevelopment\Rxiqi BETA\node_modules\discord.js\node_modules\snekfetch\src\index.js:215:21)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
#

its supposed to have prefix, as then args doesnt include the prefix too

night imp
#

Remove the splice

#

Just split it

earnest phoenix
#

but i need to slice out the command part too, so for example; my prefix is gs!, and a command is called gs!roll. I need to cut out the roll part too

#

ye, i have slice too, and its needed

#

hmmmm

quartz kindle
#

if you dont need the command, just do msg.split(" ")

earnest phoenix
#

wait what?

#
 const args = msg.content.slice(prefix.length).trim().split(" ");
#

so like that?

quartz kindle
#

you dont need to slice anything

#

just split on spaces

earnest phoenix
#

sooo:

quartz kindle
#

and you'll have ["gs!roll","arg1","arg2"]

earnest phoenix
#
 const args = msg.split(" ");
#

???

quartz kindle
#

yeah

earnest phoenix
#

okidoki

#

@quartz kindle yeh, that doesn't work as it isnt a function, needs to be msg.content.split(" "): doesnt it?

quartz kindle
#

yes

earnest phoenix
#

okidokili

#

@quartz kindle that doesnt work mate

#

i asked someone else and thye gave me this: js let args = message.content.trim().split(/ +/g).slice(1);

#

what they sent me works perfectly

quartz kindle
#

its not a matter of working or not

#

its a matter of what do you want to do

earnest phoenix
#

it is

quartz kindle
#

i told you what what i sent you did, if that is not what you want, then modify it accordingly

silk dome
#
message.content.split(" ");
``` that makes the message content into an array @quartz kindle
#

args is considered the text after the command word

#

So - slicing off the first property in the array would make it work

quartz kindle
#

thats exactly what i said

silk dome
#

But he wanted to define args

#

not the complete array ๐Ÿ˜‰

quartz kindle
#

it gives him the args he wants, up to him how he wants to access them

#

i told him what he would have if he did that

#

i was going to say something like "if you dont want the command itself, just remove the first item", but i thought it would be self-evident

silk dome
#

Just a matter of someone not knowing how arrays and strings work etc @quartz kindle ๐Ÿ˜›

earnest phoenix
#

what you did wasnt exactly helpful tho

quartz kindle
#

how wasnt it helpful lol, i told you exactly what you would get if you did it

earnest phoenix
silk dome
#

Lacking permissions....

#

For what though

#

Might be for not having permissions to send to the log channel? @earnest phoenix

#

I wouldn't know otherwise

quartz kindle
#

why do you have 3 ifs lmao

slate kayak
quartz kindle
#

you could just do if(oldMember.voiceChannel || newMember.voiceChannel)

slate kayak
#

is that for me @quartz kindle ?

silk dome
#

No

quartz kindle
#

nope, for supernova

#

what do you want to do with that?

#

@slate kayak

slate kayak
#

i just want to add radio to my bot @quartz kindle so that it can play any radio stations

quartz kindle
#

as far as i can see, that package doesnt do that

slate kayak
#

hmm ok any idees please ๐Ÿ˜ฆ

quartz kindle
#

Get internet radio stream details via Node.js. Node.js module to get Now Playing information from an internet radio stream in the form of the following object:

#

it just gets the stream details to get "now playing" information

slate kayak
#

ok can i DM you tim ?

quartz kindle
#

what for?

slate kayak
#

just wanted to ask personal if thats ok with you ๐Ÿ˜ฆ

quartz kindle
#

ask here

slate kayak
#

well i cant post my code here tim and wanted to know if it looks ok to add it to my bot

quartz kindle
#

why cant you post here?

earnest phoenix
#

Does anyone know any tutorials on how to make a Web Dashboard for a Discord.JS Bot please?

quartz kindle
#

idk about tutorials, but you can use an express server or something

slate kayak
silk dome
#

Did you not read the package description?

#

Get internet radio stream details via Node.js. Node.js module to get Now Playing information from an internet radio stream in the form of the following object:

quartz kindle
#

hes talking about ytdl now

silk dome
#

My bad

tight heath
#

yes you can add ytdl

#

but I don't recommend it

#

ยฏ_(ใƒ„)_/ยฏ

slate kayak
#

ok but will it work for radio ?

#

ok anything that can work please give me link to it please ๐Ÿ˜ฆ

pearl olive
#

Heyyy

#

Question how do you make a bot put a into command prompt and then make it copy it and paste it into a discord channel

tight heath
#

readline

pearl olive
#

Are you talking to me or Panda?

tight heath
#

you

desert slate
#

Heeeeeeeeeeeelpppppppppppp @.@

#

I don't even know where to begin with fixing this, because it's got perms in the chat.

#

Now it's just entering break when it happens.

deft prism
#

@bitter sundial I just added a donatebot checkout, is there anything else I have to do to enable the donate button for when the bot goes live?

#

this is my first rodeo and I need some guidance

quartz kindle
#

your server must be in the dbl servers list

#

then it should enable the donate button on your bot's page automatically

bitter sundial
#

for a bot you just need to add an id in the edit form

deft prism
#

I've done that

#

I've added a donatebot

#

I've added the server

#

I've added the guildID for that server

#

the donate button is enabled on my server, just not my bot

limpid hearth
#

hi

#

what is the server format? pls help

#

@bitter sundial

keen drift
#

heck is a server format

#

can you show screenshot

limpid hearth
keen drift
#

alright scroll down

limpid hearth
keen drift
#

server this bot is in

#

incorrect

limpid hearth
#

what i have to do

keen drift
#

delete it

limpid hearth
#

mmm

#

ok

#

finished

earnest phoenix
#

how make porn cmd

sacred bronze
earnest phoenix
#

:starbait:

#

@earnest phoenix
Good Thinking, I Like Let's Do

brittle nova
#

@earnest phoenix Make a request to an nsfw api

earnest phoenix
#

make me nsfw api

brittle nova
#

google one

earnest phoenix
#

i find pornhub

keen drift
#

cornhub

brittle nova
#

they probably have an api

mossy vine
#

reddits api is pretty good

#

and there are plenty of nsfw subreddits

quartz kindle
#

a dude i know used efukt

#

idk if its a real api or just scraping, but his bot had the most horrendous things

slender thistle
#

That's efuktive

idle mountain
#

@desert slate do you know how to use try{}catch{}?

#

oof that message was almost three hours ago

desert slate
#

I've used it but not integrated it.

#

I was thinking of doing that.

idle mountain
#

that's how you'd go about doing that

desert slate
#

But it's now fcking working for some dumb reason.

#

_>leaves one server

Bot stops breaking_

idle mountain
#

you can also check the bot's own permissions beforehand, and return if the bot doesn't have the needed permissions

desert slate
idle mountain
#

it's because your bot doesn't have the permissions to send the message in the channel

#

it's an error you want to deal with

#

otherwise, your bot will crash whenever some dipwit messes up permissions

desert slate
#

Yeah, found that one out the hard way just now @.@

#

They may have muted her because of the level up messages, because I haven't integrated a stoptimer yet.

west plank
#

Tixhelp

desert slate
#

nani

#

Now no commands are working. think2

#

Oh wait.

#

They're just slow as hell for some reason.

#

And there we go.

#

Issue again.

west raptor
#

try{}catch{}

idle mountain
#

yeah try catch my dude

#

if you want to be really lazy (like me) you can just put one in your entire command handler, and then console output errors

#

ezpz

desert slate
#

I find it weird that last night it worked like normal for three hours.

#

And then suddenly it's doing this.

idle mountain
#

people rarely have issues with permissions

#

they're pretty straight-forward

west raptor
#

some people don't like giving certain perms to bots

idle mountain
#

but some dipwit will come along, not understanding how they work, and give you errors

#

yeah but this is a message perm lol

#

then again, mute roles

#

especially in certain channels

#

seems your bot has levelup messages(?) and people wouldn't want those in like, a serious channel or anything

#

so it makes sense

west raptor
#

oh message perm? lol

desert slate
#

Yeah.

idle mountain
#

it's your issue to deal with

desert slate
#

If I'm understanding this right, I should be try{}catch{}'ing the levelup messages?

idle mountain
#

yes

#
try
{
    //code
}
catch(Exception ex)
{
    Console.WriteLine(ex.ToString()); //optional, if you remove this you can remove the "(Exception ex)" too
}```
#

You can also test for the type of exception, I'd make it log anything that isn't a missing permissions error

#

likewise:

#

as I said before

#

you can also ask for the bot's permissions, make sure it has all the needed ones, and then return if it doesn't

#

that'll help your ratelimiting, but I don't use that method and I don't notice any real issues

desert slate
#

Got it.

brazen gust
idle mountain
#

syntax highlighting is like this:
```cs
//stuff
```

#

"cs" is for C#

#

but there's a cheatsheet somewhere out there

#

so here lemme test this

= blue? =
test
[Orange?]
test :: grey```
#

hey that worked

#

so that's what i typed for that

brazen gust
#

thx a lot ^^

idle mountain
#

npnp

#

there's plenty of other ones out there but this one was made specifically for Discord so

brazen gust
#

thx ^^

#

oh and btw there is a way to hide bot from the user list ?

slim heart
#

client.user.setStatus('offline')?

#

wdym by hide

brazen gust
#

basic users aren't able to see it

slim heart
#

well you can make it so there is no perms for the bot in that channel, but then it wont have perms in that channel lol

idle mountain
#

You can stop a bot from seeing a channel, and users won't see it in that channel, but there are still ways to tell the bot is in the server

#

so short answer: no

brazen gust
#

ok

#

thx

tight heath
desert slate
#

Didn't break this time.

earnest phoenix
#

im having an problem here

desert slate
#

Hmm?

earnest phoenix
#

when i import array from .json

desert slate
#

Oh wait wrong place

earnest phoenix
#

ill explain in human

#

the 3rd line gives me error, but its correct

#

i mean file is there, array is there

#

didnt have this problem before

tight heath
#

console.log activity.aclist

earnest phoenix
#

how is that going to fix it

#

this function changes bot "activity" every 5 mins, when array was in main file it worked just fine, but looked ugly and took too much space

tight heath
#

I wanna see if that array is actually what you want it to be

#

because

earnest phoenix
#

activity isn't defined if i know glitch well

tight heath
#

in line 3 you use a different array than in line 4

#

which is hella confusing

earnest phoenix
#

ignore line 4

#

are you sure activity is defined

#

since it doesn't seem to be

#

yes, idk why i get that error

#

i import settings from json

#

hm ok

#

and it works, but this shit doesnt

#

also unrelated but i think the code for random selection is without the -1 and the +1

tight heath
#

maybe indexOutOfBounds

#

but that shouldn't error

earnest phoenix
#

i dont think it matters now that i think about it

tight heath
#

just return null

earnest phoenix
#

what error is he getting

#

no error

#

just doesnt work

tight heath
#

maybe your random function

#

the problem is

#

if you share like 0 code

earnest phoenix
#

try removing the -1 and +1

tight heath
#

noone can help you debug it

earnest phoenix
#

wait ill show you both file codes

#

yeah heart

tight heath
#

I don't know what 3 of the variables in that are

earnest phoenix
#

we know that

#

thats all the code

#

and where do you define activity

#

and aclist

tight heath
earnest phoenix
#

can i upload here?

tight heath
earnest phoenix
#

yeah, hastebin

tight heath
#

copy-paste

#

then ctrl+s

#

share link

#

ezpz

earnest phoenix
tight heath
#

ay thanks

earnest phoenix
#

idea: use the right variable names

tight heath
#

okay found it

#

yeah

earnest phoenix
#
const activitylist = require('./activ.json')
``` use this
#

im shit with js tho ;d

#

use activitylist, not whatever else you're using rn

#

sec

tight heath
#

thos should be

earnest phoenix
tight heath
#

I shared the correct variant smh

earnest phoenix
#

spoonfeeding smh

tight heath
#

no it's literally 2 lines

#

also L13-16 shouldn't work since dotenv isn't configured

earnest phoenix
#

glitch does dotenv for you

tight heath
#

oh, cool mb then

earnest phoenix
#

@tight heath works, tnx

tight heath
#

yw

#

:-)

#

not like

#

reading

#

but

#

reading and trying to understand

#

&

earnest phoenix
#

i did read

tight heath
earnest phoenix
#

always get confused

#

trust me i learnt how to build bot on idiots guide ;d

#

problem is im really shit with javascript

#

yeah thats a problem

#

learn the prerequisites :P

tight heath
#

I launched into it with 0 js knowledge and none of these guides

#

just from d.js docs

#

so

#

and look where I am now

west raptor
#

no need to flex smh

tight heath
#

not flexing; it's a private project lmao

deft prism
#

Sturdybot10's gonna go offline and online a bit while I get the dblapi.js stuff working

earnest phoenix
#

what

#

ok

keen drift
#

ok cool, but you don't need to tell us that

earnest phoenix
#

can anyone help me fix this?

#

ik it sounds like its easy to fix

#

but it with sharding

smoky spire
#

we gotta see some code

earnest phoenix
#

well it doesnt specify where in the code

#

if you read the error

keen drift
#

what are you doing to get that error

#

an eval?

smoky spire
#

What did you do before this error was thrown

earnest phoenix
#

no

#

its in the console/pm2 logs

#

or you mean something els

keen drift
#

so unknown trigger?

earnest phoenix
#

idk

keen drift
#

you don't know your own bot SWEATSTINY ?

earnest phoenix
#

yea i do

#

what do you mean by unknown trigger XD

keen drift
#

is this d.js stable or master

earnest phoenix
#

stable

keen drift
#

unlucky

earnest phoenix
#

?

#

why?

keen drift
#

I don't think that branch has the call stack implemented so you can identify origin

earnest phoenix
#

it does say this

#

thats the other part

keen drift
#

yeah that doesn't help

earnest phoenix
#

hmm

#

should i change to d.js master

keen drift
#

eh, not really, unless you want to face the changes

#

which is a lot

brittle nova
#

You used client somewhere without defining it

earnest phoenix
#

๐Ÿคฆ

#

thats not it

brittle nova
#

wait what

keen drift
#

it says undef in the djs lib

brittle nova
#

looked at wrong thing

keen drift
#

but I have no idea where it could actually origin from

brittle nova
#

must have not scrolled down lul

earnest phoenix
#

are they gonna implement it ?

#

soon?

keen drift
#

implement what

earnest phoenix
#

wait

#

didnt you say they have to implement something?

keen drift
#

yeah

#

async stacks

#

which is already done in master

#

but it's not on stable

earnest phoenix
#

yea are they gonna do it with stable

#

?

keen drift
#

if you talking about the v11, no

earnest phoenix
#

rip

#

im prob gonna change it to master

#

sometime next week

#

ugh no time

keen drift
#

lots of breaking changes

#

that means lots of code changes

earnest phoenix
#

yea ik

#

its worth it tho

smoky spire
#

And internal sharding GWvertiPeepoSalute

earnest phoenix
#
  .shapes-background shapes-1 {
    display: none !important;
}
``` Can somebody tell me is there a typo in this code? Because the shapes background still appears.
keen drift
#

the background shapes is just .shapes-background

#

not sure why you targetting shapes-1 as element as well

earnest phoenix
#

oh thanks

glacial umbra
mossy vine
#

You need to actually post the server count

glacial umbra
#

?

mossy vine
#

You need to post the server count in your ready event

glacial umbra
#

Oh okey

#

Thanks

keen drift
#

Huh

#

@glacial umbra The bot needs to be in this server, ignore what Cyber28 said

glacial umbra
#

But why is a bot not invited?

keen drift
#

Can you provide your bot's id

glacial umbra
#

483304736435470336

keen drift
#

Can't find anything in mod-log, ask @coral trellis to invite it

glacial umbra
keen drift
gleaming geyser
#

AttributeError: '<class 'discord.ext.commands.bot.Bot'>' object has no attribute 'guilds'

#

This is the error I get on trying to post server count

#

hm just changed guild to servers and it works

slender thistle
#

Async instead of rewrite

potent anchor
#

im using discord.js

#

s

#

${Date.now() - message.createdTimestamp}```
#

is that the same

#

as

#
client.ping```
lament meteor
#

no

mossy vine
#

no of course not

violet dagger
#

xd

knotty steeple
#

first is message response time

#

second is websocket ping

amber junco
#

Do you recommend a certain video to help make a economy module?

sick cloud
#

no

#

you just make one

tight heath
#

๐Ÿ‘

lofty hamlet
#

Hi

#

Is it possible instead of pushing to replace?

#

Ex :

#

For json

#
Dresseur.SacH.replace(FinalRand) by Dresseur.SacH.push(FinalRand2)
lofty hamlet
#

@tight heath can you help me ? :)$

tight heath
#

what lang is that

knotty steeple
#

js

tight heath
#

the heck

knotty steeple
#

i know its weird

tight heath
#

@lofty hamlet what are you exactly trying to accomplish

lofty hamlet
#

I want that when I perform the evolution of the command by replacing the pokemon then write the arg after the command

#

@tight heath

tight heath
lofty hamlet
#

Mmmmhhhh ...

ruby dust
#

rewrite's AutoShardedBot object

slender thistle
#

on_ready... iirc it fires per shard

#

Aight nope

ruby dust
#

so it's a one time thing

#

fires when all shards are connected?

lament meteor
#

internet issues i presume

earnest phoenix
#

I have been trying to get my bot to announce when someone Upvotes it on my VPS... I don't know anything about webhooks, can someone please send me an example code?

lament meteor
#

what coding lang @earnest phoenix ?

earnest phoenix
#

JS

#

I checked on the API Docs on this servers website. But I cannot seem to figure out whats wrong

lament meteor
#

so u did this?

earnest phoenix
#

Everything should be correct. Apart from I do not know what I would put in the URL Box in the Bot Edit Page on the site

lament meteor
#
const DBL = require('dblapi.js');
const dbl = new DBL(yourDBLTokenHere, { webhookPort: 5000, webhookAuth: 'password' });
dbl.webhook.on('ready', hook => {
  console.log(`Webhook running at http://${hook.hostname}:${hook.port}${hook.path}`);
});
dbl.webhook.on('vote', vote => {
  console.log(`User with ID ${vote.user} just voted!`);
});```
earnest phoenix
#

Yes

#

I want to run it on my VPS though

lament meteor
#

run the code on your vps and insert the url that it says the webhook is running on

earnest phoenix
#

hm okay

#

help me, how to host discord 24/7

#

with heroku

#

is working yet?

#

@lament meteor I'm getting errors

#
events.js:183
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::5000
topaz fjord
#

Port 5000 is being used by something else

earnest phoenix
#

ah

topaz fjord
#

Use another port or kill the process using port 5000

earnest phoenix
#

What port can I run it on?

lament meteor
#

a port that you don't use

earnest phoenix
#

Can it be a random number?

#

@lament meteor

topaz fjord
#

yes

#

Try 5001

earnest phoenix
#

okie ty

ruby lichen
#

Hello

#

The token in the API of Discordbots is my bots token, right?

#

@hushed berry Why is my bot muted? He did nothing

earnest phoenix
hushed berry
#

lmfao

#

No, your DBL token is not your bots token

earnest phoenix
#

@topaz fjord It's still giving me the same error

#

@earnest phoenix try another port

#

Fam

topaz fjord
#

What are u using to host

earnest phoenix
#

GalaxyGate

topaz fjord
#

Galaxy gate has all ports open

earnest phoenix
#

Okay?

topaz fjord
#

It might be a system process using those ports

ruby lichen
#

what is my dbl token?

topaz fjord
#

Try a lower number

ruby lichen
#

Where can i see it?

lament meteor
#

go to the website

earnest phoenix
#

It still says about the 5000 port

hushed berry
#

under the api page

ruby lichen
#

found it thanks#

topaz fjord
#

Try port 2879

#

Extremely random but should woek

#

Work

earnest phoenix
#

unless you're running a minecraft server, 25565 will definitely work

lament meteor
#

@earnest phoenix are u changing both the code and the link in dbl?

earnest phoenix
#

yus

#

It still says 5000 is in use...

#

dafuq

topaz fjord
#

Did you save your code

earnest phoenix
#

Yus

#

well then you didnt change it

topaz fjord
#

Are you sure

earnest phoenix
#

if it's 5000 again

topaz fjord
#

Because it looks like you didn't change it

#

Also are what are u using for reverse proxy

#

if you are

earnest phoenix
#

Maybe the code didnt change on all my shards? Do I need to fix dat or something?

topaz fjord
#

A webserver shouldn't have anything to do with shards

#

The problem is you aren't changing the code and saving it

earnest phoenix
#

Yeah

#

When changing the code. It normally only updates it in the current shard

#

It seems to load the first shard, which I am in, but not the others

topaz fjord
#

Wait are you running this sharded

earnest phoenix
#

My bot is sharded

topaz fjord
#

Then you will probs run into errors with this

earnest phoenix
#

๐Ÿ˜ฎ

topaz fjord
#

each shard connects to discord and executes code

#

Therefore each shard will start it's own webserver

earnest phoenix
#

awh

#

So I cannot do this?

topaz fjord
#

and they will clash since they are using the same port

#

You can do this

#

But don't put the webserver code with the bot

earnest phoenix
#

So what do I do?

topaz fjord
#

Make it a separate thing

earnest phoenix
#

??

topaz fjord
#

Make a separate webserver
Store votes in db and they come
Bot checks db everytime a vote only command is run to see if the user voted

earnest phoenix
#

o wait

#

?????????

#

@topaz fjord How would I make a seperate webserver lul?

quartz kindle
#

@earnest phoenix if you're getting that error regardless of what port you use, check if your bot is not trying to access that port more than once

#

for example if that file is being called in two different places or something

earnest phoenix
#

@quartz kindle It tries to run it on each shard

quartz kindle
#

then thats the problem, you're not supposed to do that

#

you have to run it on the same file that manages the shards

earnest phoenix
#

ahhhh

quartz kindle
#

else each shard would be trying to send their own server count

earnest phoenix
#

It's not a server count... It's upvote webhooks

quartz kindle
#

ah yeah

#

but still, your main file will receive the votes, and you have to find a way to send the votes to your shards, or access them from your shards

#

using a database will be helpful

earnest phoenix
#

๐Ÿ˜ฆ

ruby lichen
#

I use the DBL API now, but my page is still normal with no information. No Server Count visible

knotty steeple
#

do you post server count?

ruby lichen
#

Yes

#

@knotty steeple

tight heath
#

Any of y'all using PowerPoint for your Discord bots?

knotty steeple
#

no

#

wtf

quartz kindle
#

i've seen that like a million times

#

i love it

tight heath
#

๐Ÿ˜‹

quartz kindle
#

btw @ruby lichen what language/lib? i dont recognize that code

ruby lichen
#

Java

#

@quartz kindle

brittle nova
#

How can I communicate between processes without having my messages being json stringified which leads to weird results? (i.e. not using node's ipc)

#

I don't think my dashboard should be in the same process as my bot

#

It's sharded

quartz kindle
#

the best approach to a dashboard would be to use a database and exchange information that way

#

have both processes use the same database

ruby lichen
#

@quartz kindle it is still not working^^

quartz kindle
#

and sorry, i cant help you with java

#

rovako

ruby lichen
#

:c

#

But what is wrong i've read the docs

hushed berry
#

whats up?

#

im experienced with java

ruby lichen
#

Yes

hushed berry
#

Add a callback and see if it errors lol

ruby lichen
#

My page is not updating but i've setted the API up

hushed berry
#

Add a callback and see if it errors

brittle nova
#

@quartz kindle What if I want to access the Client variable

ruby lichen
brittle nova
#

That's really all I need tbh

ruby lichen
#

@hushed berry

hushed berry
#

Add a callback and see if it errors

quartz kindle
#

what do you need from client?

#

maybe there is a better way to do what you want to do

ruby lichen
#

@hushed berry Wdym with callback? try catch?

hushed berry
#

No

brittle nova
#

bot.commands & bot.db (mongodb) @quartz kindle

hushed berry
#

all calls within the dbl java api are asynchronous

ruby lichen
#

okay

brittle nova
#

storing the commands in a db seems pretty dumb

hushed berry
#

you should just be able to do .toCompleteableFuture().get()

#

@ruby lichen

ruby lichen
#

the bot id is just the normal id with rightclick, right?

#

@hushed berry

hushed berry
#

should be

ruby lichen
#

yeah

hushed berry
#

for the majority of bots

ruby lichen
#

and whats wrong?

hushed berry
#

DUDE

#

YOU NEED TO TELL ME THE ERROR

#

"not working" doesnt help me

ruby lichen
#

There is no error

hushed berry
#

.................................................

ruby lichen
#

But the site is not updating

hushed berry
#

Are you even listening to me?

ruby lichen
#

Yes

hushed berry
#

The code is async so it won't error on that thread

ruby lichen
#

Yes

hushed berry
#

If you do

#

.toCompleteableFuture().get() after the setStats method

#

it should block

ruby lichen
#

Ah ok i look

#

Thanks

#

No error displays but the site doesnt update too

#

@hushed berry

hushed berry
#

did you run that

ruby lichen
#

yes

hushed berry
#

did it error

ruby lichen
#

no

hushed berry
#

do you want me to try posting it

ruby lichen
#

What do you want to post? @hushed berry

hushed berry
#

Coudl you send me the dbl token

ruby lichen
#

in a public chat?

hushed berry
#

in dms

ruby lichen
#

Okay

signal saffron
#

if (user.presence.game.name === 'Spotify' && user.presence.game.type === 2) {

earnest phoenix
#

user.presence.game is null

signal saffron
#

User gives an error when he not listens to spotify

earnest phoenix
#

check if it's null, and if it isn't, continue with the code

signal saffron
#

fixed, thanks

earnest phoenix
#

ywnp

quartz kindle
#

@brittle nova what do you mean storing commands in a db? why do you need to access commands from the dashboard?

#

you want to execute commands through the dashboard?

brittle nova
#

no

#

there will be a /commands page and I don't want to update the bot's code and the website

signal saffron
#

@earnest phoenix He says you don't listen when I listen to the song.

earnest phoenix
#

what?

#

im confused as to what you're trying to say

signal saffron
#

I'm listening to the song but you're not listening to the song gives error

#

bad english i sorry

earnest phoenix
#

@signal saffron selam

#

its ok

#

Ozelden yaz bana

signal saffron
earnest phoenix
#

I have just gotten this in the console... Not sure what it means

Error [ERR_IPC_CHANNEL_CLOSED]: channel closed
signal saffron
#

can you help me?

earnest phoenix
#

@signal saffron

#

@signal saffron what are you trying to do and what is the error

signal saffron
#

Spotify Track Info command

quartz kindle
#

@brittle nova you will have to. i mean, you're not gonna post your code on the website, are you? you're gonna maintain a help list/guide, no?

earnest phoenix
#

and what's the error

#

@quartz kindle Can you help me please?

signal saffron
#

I said above

brittle nova
#

@quartz kindle I wanted to somehow generate tables with bot.commands

#

instead of manually doing it

earnest phoenix
#

I have just gotten this in the console... Not sure what it means

Error [ERR_IPC_CHANNEL_CLOSED]: channel closed

JavaScript

quartz kindle
#

you can generate them in the bot process into a database

#

or a json file

#

there are many websites that use generated json files for their docs pages

#

@earnest phoenix is that a voice channel error? if so, i cant help you, i've never used voice

earnest phoenix
#

No it isnt

quartz kindle
#

idk i never saw that error before

brittle nova
#

I could fill up a commands array in the other process

#

just like I do with bot.commands

earnest phoenix
#

Can someone help me?

#

My bot keeps spamming responses in a specific shard but not in the others...

#

JS

sullen path
#

๐Ÿค”

west raptor
#

Make sure there are not multiple instances running

earnest phoenix
#

It was giving me an error saying something about Channel Closed

#

@west raptor

west raptor
#

Hmm

#

Try killing all instances and restart the bot

earnest phoenix
#

I had 4 Shards. Shard 1 Seemed to have been the cause. Channel Closed error only popped up when using a command in that shard

west raptor
#

Hmm

wanton walrus
#

Are the testing webhooks supposed to send a body in the post?

#

The docs say it sends it in a json format, I would have assumed it was in the body..? but the body is always empty

topaz fjord
#

@wanton walrus what are you using for the webserver

#

kirb

wanton walrus
#

express

topaz fjord
#

are you using body-parser

earnest phoenix
#

.setFooter('RexSky', client.user.avatarURL)

#

Help me

knotty steeple
#

what

wanton walrus
#

oh fucking duh thats what I forgot

#

thank you

earnest phoenix
#

client.user.avatarURL) => error

knotty steeple
#

what is the error

topaz fjord
#
const bodyParser = require('body-parser');
app.use(bodyParser.json({}))
earnest phoenix
#

I don't know bil

knotty steeple
#

Provide all possible information so people know what's up. Just saying "I get an error" doesn't give us enough information on your problem.

earnest phoenix
#

I see an error here and I can't figure out why I am

quartz kindle
#

what error

earnest phoenix
#
const Jimp = require('jimp'); 

exports.run = (client, message, args) => {
    var figlet = require('figlet');
    figlet(args.join(' '), function (err, data) {
      if (err) {
        console.log('Bir ลŸeyler yanlฤฑลŸ gitti...');
        console.dir(err);
        return;
      }
      message.delete()
      const embed = new Discord.RichEmbed()
      .setColor('RANDOM')
      .setTitle('Ascii;')
      .setDescription('```fix\n' + data + '\n```')
      .setFooter('RexSky', client.user.avatarURL)
      .setTimestamp()
      message.channel.send(embed);
        });
    };

exports.conf = {
  enabled: true,
  guildOnly: false,
  aliases: [],
  permLevel: 0
};

exports.help = {
  name: 'ascii',
  description: 'ฤฐstediฤŸiniz ลŸeyi bota yazdฤฑrฤฑr.',
  usage: 'yaz [yazdฤฑrmak istediฤŸiniz ลŸey]'
};
knotty steeple
#

tfw ur translating everything

#

not the code

#

error

earnest phoenix
#

i don't konw bill!

quartz kindle
#

google translate

#

bir hata olduฤŸunu sรถyledin. hata nedir

earnest phoenix
#

hocam

#

hata

#

atomda gozukuyo

#

tam bu satฤฑrd bir hata varmฤฑลŸ

#

ama bilmiyorum

#

calฤฑsmฤฑyo da komut

#

console hata da vermiyor

#

@quartz kindle

wanton walrus
#

I was using: app.use(bodyParser.text())

#

and not json

quartz kindle
#

google translate:

teacher
error
gozukuyo
there was an error in this line
but I do not know
command
console does not give error

wanton walrus
#

ah yes

quartz kindle
#

ok...

earnest phoenix
#

ne dedi

#

evet dedi

#

cevap vermedi mi ลŸerefsz

quartz kindle
#

go back to google translate, im not gonna translate everything you say lol

earnest phoenix
#

ok

quartz kindle
#

if console shows no error, what is not working?

earnest phoenix
#

i don't know bill

quartz kindle
#

well i dont know either

#

not enough information

earnest phoenix
#

bilsem bende soyleyecem ama

#

kodlarฤฑ verem mi

#
const Jimp = require('jimp'); 

exports.run = (client, message, args) => {
    var figlet = require('figlet');
    figlet(args.join(' '), function (err, data) {
      if (err) {
        console.log('Bir ลŸeyler yanlฤฑลŸ gitti...');
        console.dir(err);
        return;
      }
      message.delete()
      const embed = new Discord.RichEmbed()
      .setColor('RANDOM')
      .setTitle('Ascii;')
      .setDescription('```fix\n' + data + '\n```')
      .setFooter('RexSky', client.user.avatarURL)
      .setTimestamp()
      message.channel.send(embed);
        });
    };

exports.conf = {
  enabled: true,
  guildOnly: false,
  aliases: [],
  permLevel: 0
};

exports.help = {
  name: 'ascii',
  description: 'ฤฐstediฤŸiniz ลŸeyi bota yazdฤฑrฤฑr.',
  usage: 'yaz [yazdฤฑrmak istediฤŸiniz ลŸey]'
};
#

Kodlar bunlar

#

birde

#

burda da hata var

#

exports.run = async (client, message, params) => {
  var channel = client.channels.find('name', 'canlฤฑdestek')
    const asdf = await client.channels.get(message.channel.name).createInvite()
  message.delete();
  const embed = new Discord.RichEmbed()
  .setTitle("ยป RexSky | Canlฤฑ Destek")```
loud salmon
#

this is what i do for my bot that is sharded

#

i declare an instance of the dblapi the same way you do

ruby lichen
#

i dont need shards cause my bot is on under 30 server lol

#

@loud salmon I use this in my main method

#

Wtf is wrong?

loud salmon
#

generate a new token

#

worked for me after i did that

ruby lichen
#

done

west raptor
#

what IDE is that?

ruby lichen
#

IntelliJ pretty cool, ha?

gilded blaze
#

What response are you getting from DBL?

ruby lichen
#

no

west raptor
#

F jetbrains doesnt like me sometimes

#

i3 just completely fucks me with that

ruby lichen
#

@gilded blaze I get no responses

loud salmon
#

uhh i would just manually post it if the api doesnt work

#

also oof i tagged you in the wrong channel

gilded blaze
#

You will always get a response, but the library might not expose it?

loud salmon
#

mhm

ruby lichen
#

I've setted the LATEST version up

#

@gilded blaze What is wrong?

gilded blaze
#

I don't know.

ruby lichen
#

I get no errors

topaz fjord
#

@wanton walrus hecking idiot

wanton walrus
#

pong

#

yes

quartz kindle
#

if all else fails, just POST it yourself using http

#

or whatever java's counterpart is

tight heath
#

why does make take so long ๐Ÿ˜ฉ

earnest phoenix
#

sucks

tight heath
#

oh okay

earnest phoenix
#

I sharded my bot, for some reason, randomly it says channel closed... Anyone able to help me? JavaScript

#

Error [ERR_IPC_CHANNEL_CLOSED]: channel closed is the line

zealous veldt
#

Thats not a Discord channel lul

earnest phoenix
#

ik...

#

What does it mean though?

#

I already looked on google but it doesnt come up with anything useful to me

#

@zealous veldt

zealous veldt
#

IPC is inter process communication

#

It's how the shards communicate with each other

west raptor
#

Are you using pm2?

earnest phoenix
#

yes

west raptor
west raptor
#

@earnest phoenix Did that solve your issue?

earnest phoenix
#

Think so haha

#

No commands have been used since then so. We gotta wait hahaah

#

@west raptor If it didn't work i'll be back either later tonight or tomorrow ๐Ÿ˜‚

silk gust
#

How long until Luca bot clears its cache?? I posted my bot initially with a random "Detailed description" just to get it posted (got rejected for spam), but now no matter what i post it's getting instant rejection.. I posted a real full writeup on my bot.

knotty steeple
#

you can clear ur cache

#

quick google on how to do that

silk gust
#

not sure how clearing my cache will effect what the bot/person checking my post will see

#

but i can try again

sick cloud
#

@silk gust read #mod-logs maybe and see what your getting denied for? blobLUL

silk gust
#

Same error each time

#

spam

sick cloud
#

then.. don't spam??

silk gust
#

Only wrote spam the first time..

#

every time after its been 100% legit

#

also while its pending if i refresh it randomly shows the first page i posted with the spam - cleared all my cache and forgotabout discordbots.org

queen sentinel
#

@silk gust Were you the guy that shoved 300 minimum 300 minimum 300 minimum in your description

west raptor
#

lol

sick cloud
#

TypeError: Class constructor Client cannot be invoked without 'new' whats up here

quartz kindle
#

new Client() ?

west raptor
#

^

earnest phoenix
#

ok

#

so dumb jda question

#

but im using this tutorial

#

and

#

the current code i am using is not currently working

#
import net.dv8tion.jda.core.hooks.ListenerAdapter;
import net.dv8tion.jda.core.events.message.guild.GuildMessageReceivedEvent;

public class hi extends ListenerAdapter {
    public void onGuildMessageRecieved(GuildMessageReceivedEvent event) {
        String[] args = event.getMessage().getContentRaw().split(" ");
        
        if(args[0].equalsIgnoreCase("Hello")) {
         event.getChannel().sendMessage("hey nerd").queue();
        }
   }
}
#

can someone explain to me why that is not working

west raptor
#

I mean

#

what's the error

earnest phoenix
#

null

topaz fjord
#

whats null

earnest phoenix
#

none

#

there is no error

keen drift
#

most likely the equal func

sick cloud
#

@quartz kindle i am

#

const self = new Client( ... );

hushed berry
idle mountain
#

UwU

coral trellis
#

idk what to say to you Nik

idle mountain
#

groovy

coral trellis
#

Absolutely disappointed

idle mountain
#

u big dumbo

sullen path
#

@earnest phoenix did you register the listener?

last marten
#

May sound like a dumb question. but i'm wondering how i can add a reaction to this message: TextChannel gameFinderChannel = event.getMessage().getGuild().getTextChannelsByName("game-finder", true).get(0); gameFinderChannel.sendMessage(embed.build()).queue(); discord JDA btw

misty rune
#

where can i find a exemple payload of vote by webhook?

lament meteor
#

the docs

inner jewel
#

use @Override

#

it'd make that a compilation error

#

because of the wrong method name

topaz fjord
#

wait does override override the already made method in the lib?

knotty steeple
#

probably

inner jewel
#

no

#

it just ensures you actually override the method

#

if you add it on a method that doesn't actually override

#

you get a compilation error

knotty steeple
earnest phoenix
#

Can somebody tell me a way to make CSS ignores some '<' or'>'? Example: ```css
<code>><setup</code>

inner jewel
#

that's not css

#

that's the html parser

#

replace < with &lt; and > with &gt;

earnest phoenix
#

the <> at the code or at the setup?

inner jewel
#

inside the code tag

modern sable
#

at the setup

earnest phoenix
#

example please.

inner jewel
#

<x>1 &lt; 2 and 2 &gt; 1</x>

earnest phoenix
#

ok thanks

smoky bobcat
#

Hi everyone ๐Ÿ˜ƒ

What's the recommended way to send a server count to Discord Bot List once sharding is implemented?

bright spear
#

There are multiple ways

#

You could just send server count and shard count

#

Or you could send shards, an array of server counts

#

Or you could send shard id, shard count, and server count, then each shard can post stats separately

rancid perch
#

hi guys I'm new and I'm coding my first bot. I used repl and python but after a while the bot goes offline. I just knew that repl is temporary. I have to use a different host? witch one? can you help me? I'm not an expert

mossy vine
#

read pins

ivory marlin
#

Hey guys Im using IntelliJ to code my bot in Java, anyone know of some good reference material for incorporating a database preferably SQLserver?

worldly obsidian
earnest phoenix
#

right here

hollow fulcrum
#

I can do better py async def badReact(self,ctx,msg:int,*,react:str): a = await ctx.channel.get_message(msg) b = react.replace(" ","") c = b.split(",") for x in c: try: await a.add_reaction(x) except discord.errors.NotFound: await ctx.send(f"Reaction `{x}`` was not found. It's possible you have just mistyped it.")

lofty abyss
#

uhh

#

annoying

hollow fulcrum
#

Are your emojis valid?

#

if they're userinput, try removing spaces

lofty abyss
#
    "emojis": {
        "upvote": "๐Ÿ‘",
        "downvote": "๐Ÿ‘Ž"
    },

ruby lichen
lofty abyss
#

to what ik it works

#

but eh

#

idk

ruby lichen
#

wtf

#

xD

hollow fulcrum
#

just do :thumbsup: and :thumbsdown:

#

prehaps your api doesnt like unicode

earnest phoenix
#

is there way to send numbers from 1 to 100? one by one

hollow fulcrum
#

which language

earnest phoenix
#

js

#

i did it in c lang but js is fucking me

hollow fulcrum
#

In python, this is how I would do it:py #1 to 10 list = [1,2,3,4,5,6,7,8,9,10] for i in list: await ctx.send(i)