#development

1 messages Β· Page 1370 of 1

waxen tinsel
blissful coral
#

Do you speak another lang? @pale sapphire

#

if so what

pale sapphire
#

πŸ˜‘

earnest phoenix
#

we literally explained how to fix it

pale sapphire
#

You checking my another bot

blissful coral
pale vessel
waxen tinsel
#

Yes I was checking the bot that got you green roled

#

Because I was making sure you were not a troll

pale sapphire
#

Ok

#

Ty

waxen tinsel
#

Try what

blissful coral
#

??

pale sapphire
#

Nohing

earnest phoenix
#

this is why I'm less active in #development and more active on among us because people aren't THIS WORSE

blissful coral
#

My bot be like KEKW

waxen tinsel
#

Lmfao

pale sapphire
#

It's ty means thanks you for help

blissful coral
#

"Try" and "ty" are 2 different things. Please type it correctly before sending a message

pale sapphire
#

πŸ˜‘

#

Mistakes happen

earnest phoenix
#

ty means thank you and someone might misunderstand it

#

especially if you're eating their brain

blissful coral
#

Name is this for a reason :)

rocky hearth
#

Ok we'll see u later ZACH. Bye πŸ–οΈ

pale sapphire
#

Lmao did we started a legit conflict because of a bot
I say sorry πŸ˜… pls don't fight with me i apologize

crystal wigeon
#

hey guys

#

umm

#

if i find a glitch or bug on discord

#

where do i report it?

#

its not like a major bug or anything

earnest phoenix
#

discord testers

blissful coral
crystal wigeon
#

will i get compensations? xD

blissful coral
#

No

crystal wigeon
#

i dont want them to fix it because im abusing it

#

but i feel guilty

blissful coral
#

Then don't report it?

crystal wigeon
#

guilt ;-;

rocky hearth
#

can u share it with me. I'll not tell anybody, I swear

crystal wigeon
#

xD

blissful coral
crystal wigeon
#

nuuu

rocky hearth
#

How can I fetch only the owner of the guild?

blissful coral
#

<guild>.owner.fetch() iirc

rocky hearth
#

but that <Guild>.owner returns null also

crystal wigeon
#

weird

pale vessel
#

you can use const owner = <Message>.guild.owner || await <Message>.guild.members.fetch(<Message>.guild.ownerID);

rocky hearth
#

Aah I see thx, I forgot there exist a members

pale vessel
#

<Message>.guild.ownerID always exists so you can use that for fetching the owner itself

rocky hearth
#

But y not <Guild>.owner does that and always return a member

solemn jolt
#
let a = message.channel.send("test");
Reva.run(message)
a.delete()

Why i have a error in a.delete()

rocky hearth
#

u need to await send()

#

that returns a promise

solemn jolt
#

Ok thank you 😁 πŸ‘

waxen tinsel
#

@solemn jolt you will need to await delete too probably

solemn jolt
#

@waxen tinsel okπŸ‘

pale vessel
#

But y not <Guild>.owner does that and always return a member
@rocky hearth it tries to get the member from the cache

#

btw now that i think of it, you can just use const owner = await <Message>.guild.members.fetch(<Message>.guild.ownerID); since fetch() looks in the cache first

#

so if it's not in the cache, it will fetch it

#

no need to use <Message>.guild.owner

rocky hearth
#

yes, thats even better that before

#

Is it valid to override a Parent class property to a getter??

pale sapphire
#

Will all the bots made after October 7 2020 will not be verified?

blissful coral
stable eagle
#
const client = new Discord.Client({ ws: { fetchAllMembers: true, intents}})```

RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number.

??
pale vessel
#
  1. fetchAllMembers shouldn't be in ws, put it outside it
  2. remove 'GUILD_MEMBER_ADD', 'GUILD_MEMBER_REMOVE', 'GUILD_MEMBER_UPDATE', these aren't intents, they are events. they are fired if you have GUILD_MEMBERS intent on
neon heart
#

if my bot don't use nekos.life api endpoints, how about @earnest phoenix ?

crystal wigeon
#

is there no way i can do something about the image flickers? ;-;

young flame
#

uh

earnest phoenix
#

i already told you no

#

multiple times

gilded ice
#

is there a way to speed up a playstream on ffmpeg

#

currently browsing the docs but theyre beeg

young flame
#

bruh

#

my dms are full of simps smh

gilded ice
#

same :sad:

young flame
#

fr look

gilded ice
#

wrong channel moon

young flame
#

ik but like

#

discord crashed hh

gilded ice
#

@low orbit yes, are you using any frameworks at the moment or just pure css?

#

alr

#

how are you displaying the elements

#

i meant at your frontend

#

css grid or what

crystal wigeon
#

i mean

#

if there's no way

#

how is anigame not flickering? ;-;

gilded ice
#

@crystal wigeon what are you trying to do

crystal wigeon
#

pvp card battle thing

#

but

#

everything works

#

except the image reloads and flickers

#

screen

#

everytime i edit "only" the description to update the health

restive furnace
#

html + css? not even like bootstrap or smth

leaden rover
#

I'm making a meme command, but I don't want any NSFW memes, here is my code:

    @commands.command(name="meme")
    async def meme(self, ctx):
        submission = reddit.subreddit("memes").random()
        if submission.over_18:
            return
        else:
            await ctx.send(submission.url)```
#

Will this work?

gilded ice
leaden rover
#

ok

gilded ice
#

it may be submission.nsfw

leaden rover
#

ok

stoic hull
#

I have a dashboard, but if i try to go to the servers page, it redirects me to a blank index.html? Anyone know what is causing it?

gilded ice
#

@stoic hull code

stoic hull
#

For?

code

#

@gilded ice

pure lion
#

All

#

Index

stoic hull
#

Its created with react, it has no static index.

earnest phoenix
#

then send the whole code

stoic hull
#

It works, on localhost. But as soon as i deploy it, it says '301 Moved Permanently' (The server page).

fluid basin
#

sned code or we cant really help

stoic hull
#

Which part do you want me to send....

fluid basin
#

the index?

stoic hull
#

There is no index.

fluid basin
#

huh

stoic hull
#

React app.

fluid basin
#

react has a index.js

#

or your main js

stoic hull
#
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import * as serviceWorker from './serviceWorker';
import { ThemeProvider, CSSReset } from "@chakra-ui/core"
import { BrowserRouter as Router } from 'react-router-dom'

ReactDOM.render(
  <React.StrictMode>
    <ThemeProvider>
      <CSSReset />
      <Router>
        <App />
      </Router>
    </ThemeProvider>
  </React.StrictMode>,
  document.getElementById('root')
);

serviceWorker.unregister();

index.js

fluid basin
#

so either your router isnt working properly

#

or the server isnt configured properly

#

make sure your react app is on the root of your server domain/ip

stoic hull
#
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]```
fluid basin
stoic hull
#

.htaccess.

#

Its in root.

fluid basin
#

did you build the react page

stoic hull
#

Yes.

fluid basin
#

or are you still in dev

stoic hull
#

Already ran npm run build.

fluid basin
#

ok

#

then did you copy the dist/build folder to the correct page?

stoic hull
#

Yeah, its in the root.

fluid basin
#

hrm weird then

stoic hull
#

Like, every part works, but as soon as you auth with discord. It just redirects to a blank index.html.

#

Saying the page was moved permanently.

fluid basin
#

auth with discord
uh do you have a server running?

#

or are you using client side oauth

stoic hull
#

What do you exactly mean by that?

fluid basin
#

are you redirecting the user through oauth with react

#

or your server

stoic hull
#

It just redirects to the oath page of discord, then redirects back to the website. But instead of showing a list of all the servers, it returns an blank index.html.

fluid basin
#

ok do you have a testing url

#

might be easier for me to find the problem instead of asking

stoic hull
#

Uh you want to auth?

#

And see yourself?

fluid basin
#

well yeah I guess

stoic hull
#

Try mechabot.xyz and click on the 'dashboard menu' text, i still got to fix that button.

fluid basin
#

uh ok

stoic hull
#

And?

fluid basin
#

brb ill try it in a bit

restive furnace
#

didn't react need index.html too? with div of the class you used in the dom? (root in this case)

stoic hull
#

didn't react need index.html too? with div of the class you used in the dom? (root in this case)
@restive furnace Yeah, it has an index.html but its one line of code. Only to make the app work.

rocky hearth
#

how do I get the client id?

pale vessel
#

what do you mean?

#

client.user.id?

solemn jolt
#

how do I get the client id?
@rocky hearth

<client>.user.id
restive furnace
#

@stoic hull show the oneline of code

rocky hearth
#

But <Client>.user returns a null value too

pale vessel
#

no

#

what

leaden rover
#

How do I make a discord.py dank memer tax command? I know the tax rates, but how do I use it so if the amount is under 20k, it would be normal, 20k-50k would be 1% etc.

solemn jolt
#

But <Client>.user returns a null value too
@rocky hearth
What the key you get on discord by value Discord.Client()

surreal sage
#

I'm using the get method to a specific website page and it's just giving me the html instead of the stringed json that i'm looking for.

rocky hearth
#

wdym

stoic hull
#

@stoic hull show the oneline of code
@restive furnace let me go to my pc in a bit.

surreal sage
#

the bin get method

#
        request.get({
            uri: `https://dev.filebin.net/${bin_id}`,
            headers: {
                'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
                'Accept-Encoding': 'gzip, deflate, br',
                'Accept-Language': 'en-US,en;q=0.9,fr;q=0.8,ro;q=0.7,ru;q=0.6,la;q=0.5,pt;q=0.4,de;q=0.3',
                'Cache-Control': 'max-age=0',
                'Connection': 'keep-alive',
                'Upgrade-Insecure-Requests': '1',
                'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'
            },
            gzip: true
        }, function (err, res, body) {
            console.log(res)
        })````
#

maybe remove the text/html

#

nop

pale vessel
surreal sage
#

what's with it

#

add the application/json to it?

pale vessel
#

not add

#

just change it to that

surreal sage
#

change what

pale vessel
#

the accept header

surreal sage
#

yes

pale vessel
#

also, your headers is a mess

surreal sage
#

replace everything?

pale vessel
#

where did you get those

#

you dont need most of them

surreal sage
#

no idea actually

#

ok skip that

#

what do i need to replace

pale vessel
#

remove all headers

surreal sage
#

ok

pale vessel
#

only add accept

#

headers: { accept: "application/json" }

surreal sage
#

eyy

#

that works.

#

Thank you!

#

Now i need to parse the response so it becomes normal json right?

pale vessel
#

yes, if its a string

surreal sage
queen kelp
#

can i auto nickname Joined users
with a bot ?

pale vessel
#

ye

queen kelp
#

which Bot

rocky hearth
#

what which??

queen kelp
#

bot

rocky hearth
#

flaze is a client always fetched in a server

#

@queen kelp U hv to create one

queen kelp
#

:c

rocky hearth
#

wat do u want then?

queen kelp
#

how can i create

#

i don't have script

solemn jolt
#

@queen kelp if you wan i can create for you

queen kelp
#

I'lll be glad if you can ReVa

solemn jolt
#

@queen kelp come to privet

fluid basin
#

@stoic hull just tried and it works?

stoic hull
#

Do you see the servers page?

fluid basin
#

yup

#

with the setup bot buttons

#

so might be your browser cache

#

clear cache and cookies

stoic hull
#

Lets clear browser cache.

#

That might be it yeah.

#

Oh cool, it works.

fluid basin
#

great

stoic hull
#

I'm so dumb that i didnt think of that.

earnest phoenix
#

it happens πŸ˜”

#

router level cache is even worse

solemn jolt
#
client.on("guildMemberAdd", async member =>{
  console.log("test")
  member.setNickname(β“Œβ“‰ ${member.author.username}).catch(err=> console.log("we have some err "+ err))
})

This code don't work and don't give me any error in log

quartz kindle
#

did you enable the server members intent?

sick fable
#

Bruh I am gonna die reading this JavaScript code ngl

solemn jolt
#

did you enable the server members intent?
@quartz kindle i don't now

sick fable
#

^^same

quartz kindle
#

in your developer portal

#

turn on "server members" intent

solemn jolt
#

Ok

#

@quartz kindle i dont see server member

quartz kindle
analog kettle
#

bottom one

solemn jolt
#

Ok

#

@quartz kindle i turn on this but the code is don't work

quartz kindle
#

did you restart your bot after turning it on?

fluid basin
#

it needs a bit of time for discord to update the settings

rocky hearth
#

Hey Tim

#

the <Guild>.me does return a null value. But it is not mentioned in the docs

tacit sundial
#

anyone knows about python and praw?

quartz kindle
#

@rocky hearth it shouldnt ever return a null value

#

unless you manually remove yourself from the member cache

rocky hearth
#

I'm using typescript

pale vessel
#

typings maybe

quartz kindle
#

techincally yes, its a nullable value because its a getter

#

its also marked as nullable in the docs

#

but in practice it should never happen, unless you manually remove it from the cache

solemn latch
#

feels nullable man

sinful belfry
#

@hasty mulch anything within the a tags will be turned into a link

hasty mulch
sinful belfry
#

wdym

hasty mulch
#

The top.gg widget for my bot isn’t embedding

sinful belfry
#

can you show what you've tried so far?

#

and where are you trying to put it?

hasty mulch
#

Only tried the ID.svg end part and the :ID.svg part with the ID being the bot ID

#

And I have it at the bottom of the long desc

sinful belfry
#

you need to insert it as an image then

#

and if you want it to be clickable, then you use a tags

#

so <img src="ID.svg">

#

and wrap that with a tags, if you wanna link it somewhere

hasty mulch
#

Alright, I’ll try that and lyk

analog kettle
#

im so dumb- i wasnt getting a reply from commands bc i forgot to use message.channel.send(insert text here)

solemn latch
#

dumb is part of bot development

analog kettle
#

oh wait no i messed up the command all together so i deleted it hehe

hasty mulch
#

so <img src="ID.svg">
@sinful belfry Thank you, it worked

honest perch
#

how would i be able to send a canvas image in a discord embed?

pale vessel
#

turn it into buffer and upload it as attachment

honest perch
#

could you please explain the attachment part

#

im buffering it but it would return a body too big error

pale vessel
#

like channel.send({ embed: { image: { url: "attachment://image.png" } }, files: [{ attachment: canvas.toBuffer(), name: "image.png" }] });

honest perch
#

TypeError: Found non-callable @@iterator

pale vessel
#

i edited it

#

needs to be an array

honest perch
#

ah right

#

getting the error i was getting before The resource must be a string, Buffer or a valid file stream.

pale vessel
#

show your code

honest perch
pale vessel
#

so you're doing attachment: client.cardGen('param1', 'param2')?

honest perch
#

message.channel.send({ embed: { image: { url: "attachment://image.png" } }, files: [{ attachment: client.cardGen('aa', 'aa'), name: "image.png" }] });

#

yeah

river thistle
#

<client>.on("guildMemberUpdate") is only fired when the bot itself is updated, is this normal ?

#

like whenever I add a role to myself or anyone else this isnt fired

pale vessel
#

well, do you have the guild members intent

river thistle
#

do I need to ?

pale vessel
#

ye

river thistle
#

tf are these tho

pale vessel
#

for guildMemberAdd, update and leave

river thistle
#

is this new ?

pale vessel
#

and for fetching guild member list

#

and yes

river thistle
#

ah thats why

#

thanks

#

Discord.Intents ?

pale vessel
#

@honest perch i have no idea

#

did you restart your bot

honest perch
#

ah right thanks for the help anyway

pale vessel
#

also need the intent enabled in developer portal

#

if your bot is verified and its not whitelisted, you need to request for that intent

#

oh wait @honest perch

#

you didn't await the method

#

it's an async function

honest perch
#

ah right ill try that

pale vessel
#

yes, itll 100% work

honest perch
#
mb!eval (async()=> {
message.channel.send({ embed: { image: { url: "attachment://image.png" } }, files: [{ attachment: client.cardGen('aa', 'aa'), name: "image.png" }] });
})()
``` like this?
pale vessel
#

sure

#

add await

#

attachment: await client.cardGen('aa', 'aa')

honest perch
#

ah that works

#

thank you so much

hollow elbow
#

Guys

#

I need help

#

I am coding from a website named Glitch.

#

I need ban, unban and mute, unmute codes.

pale vessel
#

we dont spoonfeed

#

we only help so you have to do most of the coding

earnest phoenix
#

i have some code that sends a message in the channel and then dms the person and for some reason the message gets sent twice but the person only gets dmed once

hollow elbow
#

And Δ± want to ask anotherthing. @pale vessel

When did you get DM from discord for verify your bot?

pale vessel
#

when it hits 75+ servers

hollow elbow
#

Oki doki

#

Thx

#

Have a nice day.
Goodbye

pale vessel
#

bye

earnest phoenix
#
bot.on('message',msg, () => {

)};```
#

is this the correct method parameters?

vale robin
#

i made an bot XD

pale vessel
#

@earnest phoenix no

vale robin
#

it called Cloudyce

earnest phoenix
#

@pale vessel what are they

pale vessel
#

it's 'message', msg => {})

earnest phoenix
#

ok

#
bot.on('ready', () => {

});```
#

then why does this method have ()

pale vessel
#

yes like that

earnest phoenix
#

what does that mean

pale vessel
#

but add message inside

earnest phoenix
#

Oh

pale vessel
#

it means that it is a function

earnest phoenix
#

yeah ik but like

#

idk nvm

pale vessel
earnest phoenix
#

not used to js

#

i come from lua

solemn latch
#

() => {}
The () is just the args passed onto {}

earnest phoenix
#

also

#

does discord.js use strict mode

#

can i just do x = 5, or do i have to do var x = 5

rocky hearth
#

what is postinstall in package.json

solemn latch
rocky hearth
#

Ooh! that is just a package. lol

solemn latch
#

Random things appearing in package is just the best

earnest phoenix
#

does js have a string.sub() or string.split() method?

rocky hearth
#

Then how do I move a package from dependencies to devDependencies

pale vessel
#

it's string.substring(), i guess?

#

and string.split() exists

earnest phoenix
#

well

pale vessel
#

Then how do I move a package from dependencies to devDependencies
@rocky hearth like { "dependencies": {}, "devDependencies": {} }?

earnest phoenix
#

I made a kick sorta thing in lua, ill show what i did and see if this is possible in js

#

if msg:sub(1, 6) == "/kick " then

rocky hearth
#

does js have a string.sub() or string.split() method?
@earnest phoenix Theres a yt playlist of LearnWebCode called "10 days of javascript"
That will walk you through all the js concepts easily

#

Yes flaze

#

should I just move the packagename in json file

pale vessel
#

maybe like if (message.content.substring(1, 6) == "kick") {}

#

idk why you would want until 6 though

earnest phoenix
#

the point of the sub is so it ignores the kick message

pale vessel
#

oh

#

ic

earnest phoenix
#

and the other arguments after it are taken in

pale vessel
#

so the prefix + the args

earnest phoenix
#

yea

#

so like

pale vessel
#

yeah that's def possible

earnest phoenix
#

/kick bob
it ignores the prefix and so now it has only bob, which makes things easier

pale vessel
#

it should be 1, 5

#

otherwise the space would also be included

earnest phoenix
#

/kickbob

#

1,5 would be like that ^

blissful coral
#

Collection [Map] {}

#

I get this

earnest phoenix
#

wait

blissful coral
#

When doing console.log(<channel>.members)

earnest phoenix
#

Do arrays start at 0 or 1 in js @pale vessel

pale vessel
#

0

earnest phoenix
#

ok

pale vessel
#

well, no cached members that can read the channel

blissful coral
#

I am in it

pale vessel
#

are you cached

blissful coral
#

Yes

#

Because my other shit with me is logging on cache calls

pale vessel
#

can you try guild.members.cache.get("300438546236571658") just in case

earnest phoenix
#
client.on('message', msg => {
    if (msg.content.substring(0, 5) === "/kick") {
        var User = msg.content.substring(0, 6);
    }
});```
#

so would something like this work?

pale vessel
#

but if you're removing the first character, there would be no /

earnest phoenix
#

oh oops

#

ok so like that?

pale vessel
#

yes

earnest phoenix
#

got it

#

thanks

#

wait one more thing

tight cradle
#

Hey guys

earnest phoenix
#

if i said /kick @someUser, would it interpret User as just a string, or would it recognize that as someUser?

#

@pale vessel

tight cradle
#

Anyone know how to code bots?

pale vessel
#

as a string, since message.content is always a string

earnest phoenix
#

So how would I convert it to a ping

tight cradle
#

Anyone know how to code bots?

pure lion
#

My music bot isn't working again, it's joining and says it's playing but no sound comes out

pale vessel
#

you have to parse the string (a mention or an id) to a member

quartz kindle
#

@tight cradle only about 10000 people here know

pale vessel
#

but thats not enough πŸ˜”

pure lion
#

flaze do you know why

pale vessel
#

did you try debugging

tight cradle
#

@tight cradle only about 10000 people here know
@quartz kindle lmfao idk how to i want to code a bot

pure lion
#

I don't wanna ssh

quartz kindle
#

did you try begging

prisma bramble
#

hey im makin a backup command, not sure what i should put as the required permissions

pure lion
#

did you try begging
I am beg

#

Okay fine I'll ssh

pale vessel
#

try client.on("debug", console.log);

pure lion
#

UUUUUUUUUUGH

quartz kindle
#

@tight cradle have you ever coded anything in your life? do you have any experience with any programming language?

prisma bramble
#

would have just done Admin but then my bot won't be accepted lol

tight cradle
#

@tight cradle have you ever coded anything in your life? do you have any experience with any programming language?
@quartz kindle i have never coded anyting in my life

prisma bramble
#

damn

quartz kindle
#

so the first step would be to learn a programming language and get an online course

prisma bramble
#

you're in the wrong channel mate

quartz kindle
#

there are good websites where you can learn, such as codecademy and others

tight cradle
#

there are good websites where you can learn, such as codecademy and others
@quartz kindle Ok

quartz kindle
#

you will need to pick a programming language to start with

#

good languages for starters are javascript, python and C#

earnest phoenix
#

@tight cradle I would try to get a decent understanding of atleast scripting logic before u attempt to make a bot

tight cradle
#

@tight cradle I would try to get a decent understanding of atleast scripting logic before u attempt to make a bot
@earnest phoenix Ok

#

ill try coding bots

#

i want that early verified bots

quartz kindle
#

you cant get that anymore

tight cradle
#

Nooooooooooo

#

yal know any website i can code bots?\

earnest phoenix
#

Uhh

#

Visual studio

#

Notepad

solemn latch
#

I would recommend an ide

quartz kindle
#

you need to learn how to code first

tight cradle
#

Notepad
@earnest phoenix i have NotePad

earnest phoenix
#

don’t use notepad though

#

it’s uh

#

not really good for scripting

quartz kindle
#

if you want to make a bot without coding, look into discord bot maker or bot designer

lean wing
#

how to update this to v12 ??

client.users.size
solemn latch
#

client.users.cache.size

earnest phoenix
#

How do I keep my bot online?

solemn latch
#

VPS's are great options

earnest phoenix
#

If I do node . It only stays on for like a few hours

solemn latch
#

it stays on as long as your system is on and the bot doesnt crash

#

a process manager can keep it up through crashes.

#

a VPS or proper server can keep it up without depending on your system being on.

tight cradle
#

Yo Guys so like i am watching yt how to code bots and i am doing it with them but i am coding with notepad but like is it still gonna code my bot?/

solemn latch
#

like valurim said, notepad is a bad idea

#

you should look into getting visual studio

#

or any IDE you like

tight cradle
#

like valurim said, notepad is a bad idea
@solemn latch o

#

yo @solemn latch can i code bots with github?

solemn latch
#

github is a platform for devs to work together.
you should really use an IDE

#

Maybe something like Visual studio code

#

πŸ€·β€β™‚οΈ

tight cradle
#

Kk

#

im installing visual studio

#

Hey guys i just intsalled it

earnest phoenix
#

It converts the image in the URL twice.

function isUrl(s) {
    var regexp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/
    return regexp.test(s);
}
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'rainbow.png'));

if (isUrl(args[0])) {
    const {
        body
    } = await request.get(encodeURI(args[0]));
    const data = await loadImage(body);
    const canvas = createCanvas(data.width, data.height);
    const ctx = canvas.getContext('2d');
    ctx.drawImage(data, 0, 0);
    ctx.drawImage(base, 0, 0, data.width, data.height);
    const attachment = canvas.toBuffer();
    if (Buffer.byteLength(attachment) > 8e+6) return message.channel.send('Resulting image was above 8 MB.');
    return message.channel.send({
        files: [{
            attachment,
            name: 'dosya.png'
        }]
    });
}
#

I just want it to transform once, what should I do.

#

hmm check if more than one attachment is sent

#

i did, no problem

#

message.attachments.first().url converting. converting user avatar. but it converts the URL 2 times.

#

Can I create a Webhook URL with heroku (free) and if yes how can I access to it ? or no, how can I create one for cheap pls

quartz kindle
#

yes you can

#

the url is YOURPROJECTNAME.herokuapp.com/dblwebhook if you use dblapi.js

rocky hearth
#

I'm trying set a process.env variable like in console - set NODE_ENV=development&&yarn start, but it is not being set

pale vessel
#

what did you try?

rocky hearth
#

I'm trying to deploy the app to heroku. I've used the dotenv till now.
Now I want not to run the if block on heroku

This is my config.js

honest perch
#

also flaze, one more thing, how would the image thing look if done with an embed constructor instead

pale vessel
#

use new Discord.MessageEmbed().setImage("attachment://image.png").attachFiles({ attachment: buffer, name: "image.png" });

honest perch
#

thanks

#

im guessing buffer should be defined as client.cardGen(params)

rocky hearth
#

I think that is a mac issue.

earnest phoenix
#

@quartz kindle do I have to create a webhook like this? if yes, I've enter the link like you said for webhook url and when I press "test" , nothing append pensive

honest perch
#

though im getting TypeError: Cannot read property 'path' of undefined which im guessing is something with discordjs?

pale vessel
#

havent used the embed constructor in a long time

sudden geyser
#

I think that is a mac issue.
@rocky hearth well, is the NODE_ENV environment variable set to development or not

pale vessel
quartz kindle
#

@earnest phoenix no

honest perch
#

yeah that works but outside the embed for some reason

quartz kindle
#

@earnest phoenix is your bot made with discord.js or discord.py

pale vessel
#

can you show your code?

#

nice video btw

rocky hearth
#

@sudden geyser thx, it just worked. On windows set is used but on mac export is be used

sudden geyser
#

I don't think you need to prefix it with export

#

You should be able to set it as any KEY=VALUE

honest perch
earnest phoenix
#

@quartz kindle discord.js

pale vessel
#

i edited the message xd

#

thats why i linked it

rocky hearth
#

@sudden geyser Nope, it is giving errors that way.

sudden geyser
#

interesting

honest perch
#

oh right

#

thanks

quartz kindle
#

@earnest phoenix do you use dblapi.js?

earnest phoenix
#

someone can help me with lavalink?

pale vessel
#

maybe

#

just ask your question

earnest phoenix
#

yes @quartz kindle

#

just ask your question
@pale vessel so simple, how i can add lavalink in my discord bot

quartz kindle
#

then all you need to do is enable a web dyno in heroku and configure your dblapi.js for webhooks

pale vessel
#

well first, you need a lavalink node

#

once you get your node working, you can get a lavalink wrapper for your bot

#

a good one is shoukaku

#

some use erela.js or whatever its called

earnest phoenix
#

....

honest perch
#

personally i use erela.js, its gotten much better over the time

earnest phoenix
#

so how

honest perch
#

what flaze said

pale vessel
earnest phoenix
#

so @quartz kindle , I only need to activate this option on heroku webhook ?

and complete this (yourDBLTokenHere means top.gg token ?)

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!`);
});```
rocky hearth
#

how lavalink will work with heroku??

pale vessel
#

you need to host a node server somewhere

#

its possible to host it on heroku but it needs the web worker, which sleeps

#

so its not ideal

#

note that you shouldnt even do this in the first place

#

heroku is not good for these types of things lol

honest perch
#

you need a very stable connection for lavalink

#

one that wont drop

#

else the song also drops

rocky hearth
#

does yarn not work with heroku?

earnest phoenix
#

Yarn works with Heroku

rocky hearth
#

it says it does not recognize yarn

pale vessel
#

do you have the yarn.lock file

quartz kindle
#

@earnest phoenix you dont need heroku webhooks

#

you just need heroku web dyno

#

the same web dyno you use if you want to run a website in heroku

pale vessel
#

it needs it in order to detect yarn

rocky hearth
#

ooh shit! I added that to gitignore 😦

#

what next?

pale vessel
#

whats in your package.json

#

oh lmao wait

rocky hearth
blissful coral
#

So say goodbye to your brains

#
connection.query(`SELECT * FROM publicguilds WHERE status = 'true'`, (err, publicguilds) => {
            var bar = new Promise((resolve, reject) => {
                publicguilds.forEach(r => {
                    amount = 0;
                    client.shard.broadcastEval(`this.guilds.cache.get('${r.id}')`)
                        .then(gs => gs.filter(g => g)[0])
                        .then(g => {
                            var bar2 = new Promise((resolve, reject) => {
                                g.channels.forEach(c => {
                                    const channel = client.channels.cache.get(c)
                                    if (channel.type === 'voice') {
                                        amount = func.calculator(amount, '+', channel.members.size)
                                        resolve()
                                    }
                                })
                            })
                            bar2.then(() => {
                                if(amount === 0) return;
                            guilds = `[${g.name}](${r.invite}) | ${g.members.length} | ${amount}\n`
                            resolve()
                            })
                        })
                    })
                })
#
bar.then(() => {
//end code here
})```
#

Trying to make it wait for the foreach to end with the promise before doing the rest

#

Not waiting for some reason

pale vessel
#

does yarn use package.json?

earnest phoenix
#

@quartz kindle so I just need to activate that ? (sorry if it's not again that pensive )

pale vessel
#

oh it does

rocky hearth
#

yes, I work with yarn

quartz kindle
#

@earnest phoenix yes

pale vessel
#

btw isnt heroku linux?

#

dont you have to use set

#

oh nm

#

its export

rocky hearth
#

but I dont need that for heroku

#

thats only for development

earnest phoenix
#

@quartz kindle okay thx u very much, I will try it and I will keep you informed

pale vessel
#

seems like its still using npm for some reason

#

are you sure you committed the yarn.lock file?

rocky hearth
#

@blissful coral you could directly return the bar2, and use one more then

safe creek
#

Can we go more deep into this @willow mirage

willow mirage
#

@safe creek you don't need it

blissful coral
#

@rocky hearth wdym

safe creek
#

Oh ok

willow mirage
#

just don't

rocky hearth
#

@pale vessel nope I didn't, I told before that I added that file to gitignore

willow mirage
#

you don't need

safe creek
#

But what does it serve?

willow mirage
#

idk 2

pale vessel
#

you have to do that in order for heroku to use yarn

rocky hearth
#

This is the procfile worker: npm run build && npm start now

pale vessel
#

otherwise it will use npm by default

willow mirage
#

@pale vessel

#

how u registered .js.org

pale vessel
#

and why npm when you're using yarn

#

create a pr

willow mirage
#

pr ?

pale vessel
#

read their repo README

#

they show you the process

willow mirage
#

ok

rocky hearth
#

bcoz previously it was not working, so I did that

#

ok

pale vessel
#

you should use either one, not both lol

#

do you want to use npm or yarn

willow mirage
#

@pale vessel do i have to create a branch have name gh-pages?

rocky hearth
#

but aren't they are just to run the scripts
ok lemme switch back to yarn

pale vessel
#

@pale vessel do i have to create a branch have name gh-pages?
@willow mirage nah

willow mirage
#

ah ok

pale vessel
#

master would work

#

it's for your website repo right?

willow mirage
#

@pale vessel

#

do i have to edit here?

#

ah not

#

so just add the name.js.org to custom domains

#

that is ?

#

wtf

pale vessel
#

follow their format

#

did you read the README?

willow mirage
#

yes i did

pale vessel
#

then it should be clear

willow mirage
#
Step 4
To finish the procedure, make a pull request in this GitHub repository that adds your subdomain to the list of existing JS.ORG domains. Your new URL should go live within 24 hours (keep an eye on your pull request in case of a naming conflict).
#

i don't understand this step

blissful coral
#

@blissful coral you could directly return the bar2, and use one more then
@rocky hearth Just going to use Promise.allSettled()

pale vessel
#

you have to fork the repo and modify that file

willow mirage
#

what

pale vessel
#

add your site in the correct order and make a pull request

#

weary

#

sorry man, thats the best i can explain to you

#

im really tired

tired panther
granite canopy
tired panther
#

with the field?

pale vessel
#

what specifically

#

inline? codeblocks?

tired panther
#

Does anyone know the cause of the problem?

[Python]
If anything happens, just label it.
@granite canopy you do not have return

willow mirage
#

ah

#

i understand it

#

so

#

i have to add the domain in add custom domain

#

and then make a pull request of their repo

#

@pale vessel right?

granite canopy
#

@granite canopy you do not have return
@tired panther how so?

pale vessel
#

yes

#

the cnames_active file

willow mirage
#

ok

#

thx

pale vessel
#

did you create your repo yet?

#

the one for the github pages

granite canopy
#

For some reason it sends the message 3 default

willow mirage
#

@pale vessel yes

#

im using it for my website

pale vessel
#

is it working?

willow mirage
#

yes

pale vessel
#

all right then

willow mirage
#

nvm

pale vessel
#

yeah, you changed the CNAME, right?

willow mirage
#

not yet

#

let me change t

pale vessel
#

you have to before creating the PR

willow mirage
#

like this ?

pale vessel
#

yes

willow mirage
#

and then just clone there repo

#

git clone https://github.com/js-org/js.org.git

#

?

pale vessel
#

fork it

willow mirage
#

how

#

what is the command

pale vessel
#

clone it first, yea

willow mirage
#

and then?

rocky hearth
pale vessel
#

im pretty sure theres no fork in git itself

#

try cloning it first

#

i don't even know why you're using the terminal

#

just use github web

willow mirage
#

@pale vessel how u did it

#

where did u pressed

pale vessel
#

click the fork button on the repo lol

#

as simple as that

willow mirage
#

ah

#

i saw it

#

@pale vessel and then wait ?

pale vessel
#

wait for?

#

the fork? i guess

#

it shouldn't take long

willow mirage
#

no

#

i forked

#

now what

pale vessel
#

edit the file

willow mirage
#

what file

pale vessel
#

i dont think you read the README

willow mirage
#

ah

pale vessel
willow mirage
#

@pale vessel

#
  "moddy": "cutiecat6778.github.io/ModeratorBot-web-gpages"

#

like this?

#

ah shit

#

imma fix the name

#

@pale vessel like this?

pale vessel
#

that looks right

willow mirage
#

ah it works now

#

@pale vessel thx bro

pale vessel
#

oh lord

#

@willow mirage the comma!

#

you forgot a comma

blissful coral
#

oh lord

pale vessel
#

im braindead

blissful coral
#

He's fucked

#

LMAO

pale vessel
#

he didnt create a pr yet

blissful coral
#

@willow mirage

#

fix

#

before posting it

willow mirage
#

oh shit

pale vessel
#

wait did you delete your fork?

willow mirage
#

ye, i think imma give up. Imma use freenom

blissful coral
#

??

#

lol

pale vessel
#

you were so close lmao

supple turret
#

hi

willow mirage
#

@pale vessel no

pale vessel
#

well, you do you man

willow mirage
#

yes

#

but

#

i think subdomain is not good

pale vessel
#

i see

willow mirage
#

so i gave up

#

i use freenom

blissful coral
#

No

pale vessel
#

go to fiverr or freelancer, not here

supple turret
#

It takes longer to make a bot then a hour with some

pale vessel
#

well, just not here

supple turret
#

Im back.

earnest phoenix
#

@quartz kindle huh so I try for port 5000 and 3000 and It doesn't work pensive (the yellow error is when I test the webhook with top.gg)

pale vessel
#

you need to use process.env.PORT

#

heroku has that specific port open for you

supple turret
#

Flaze is right

#

Were all the bots read?

#

Because it stoped

#

at 1:13 pm

blissful coral
#

?

#

Wdym

supple turret
#

It stoped reading apps

#

Maybe it is my head'

#

idk

blissful coral
#

Has to have custom commands

craggy pine
#

Is it possible to color the selected star amount when reviewing a bot with CSS? I can do a hover effect and change the fill color of the stars themselves, but I'm unsure about adding a secondary color to represent the amount chosen for the review. Has anyone played around with this yet?

supple turret
#

botghost

#

Where do I get custom commands

blissful coral
#

You make them

#

We are actually coders not people that sit behind a dashboard that does it for us

#

So we do not know how it works

supple turret
#

So I go to botghpst website?

#

Or the dev

blissful coral
#

So we do not know how it works
@blissful coral

craggy pine
#

^

supple turret
#

Botghost website is broken

#

So I can't

blissful coral
#

So we do not know how it works
@blissful coral

supple turret
#

It says 404

#

Bidden

blissful coral
#

So we do not know how it works
@blissful coral

#

We do not know

#

How it works

craggy pine
#

Read the message, we don't know how Botghost works. Better to ask somewhere else MagiYT.

blissful coral
#

Or what is wrong iwth it

#

We are developers, like the people who made botghost

supple turret
#

502 Bad Gateway
nginx/1.14.0 (Ubuntu)

blissful coral
#

Dude

#

This channel is meant to help with coding

#

Not with a dashboard to code for you

supple turret
#

Oh ye

pale vessel
#

Is it possible to color the selected star amount when reviewing a bot with CSS? I can do a hover effect and change the fill color of the stars themselves, but I'm unsure about adding a secondary color to represent the amount chosen for the review. Has anyone played around with this yet?
@craggy pine probably needs javascript for that

craggy pine
#

PepeHands I miss my JS abilities.

pale vessel
#

ah, wait you mean the bot page?

craggy pine
#

Yas.

earnest phoenix
pale vessel
craggy pine
#

Eh not quite. I'll make you a gif.

#

these

#

Like if I wanted to change the blue to something different.

pale vessel
#

ah, when reviewing

craggy pine
#

I've gotten the pretty much everything in review customized besides those.

sage bobcat
#

One message removed from a suspended account.

#

One message removed from a suspended account.

pale vessel
#

there's the shardReady event that provides the shard id as it goes ready

sage bobcat
#

One message removed from a suspended account.

#

One message removed from a suspended account.

rocky hearth
#

Can a bot avatar be changed after getting verified?

sage bobcat
#

One message removed from a suspended account.

#

One message removed from a suspended account.

rocky hearth
#

but not name right?

sage bobcat
#

One message removed from a suspended account.

rocky hearth
#

u sure?

pale vessel
#

@craggy pine i tried playing around with it, it seems that it needs javascript since it checks for the data-stars attribute to set the blue color

sage bobcat
#

One message removed from a suspended account.

earnest phoenix
#
@client.command()
async def getspam(ctx):
    if ctx.message.channel.id == 764903888054517761:
        with open("spam.json", "r") as f:
            spamloaded = json.load(f)
        listing = spamloaded.keys()
        n= len(listing)
        num = random.randint(0, n-1)
        spammm = listing[num]
        await ctx.send(spammm)
    else:
        channel = client.get_channel(764903888054517761)
        await ctx.send(f"You are only allowed to use this command in {channel.mention}.")    

no error but it doesnt send anything

tranquil copper
#

Anyone an idea how to catch if the bot cant add reactions to a message? (JDA)
As error is shown ContextException but when i try to catch it with ContectException the IDE says me: The exception is never thrown in the try block

pale vessel
#

it should be under spamloaded

hasty mulch
pale vessel
#

find a python driver for mongodb

#

you can ping shiv for help, maybe

#

i'm not familiar with these in python

hasty mulch
#

I’m friends, so I might just message him

tranquil copper
#

Anyone an idea how to catch if the bot cant add reactions to a message? (JDA)
As error is shown ContextException but when i try to catch it with ContectException the IDE says me: The exception is never thrown in the try block
@tranquil copper anyone?

tardy hornet
tranquil copper
tardy hornet
#

ty

earnest phoenix
#

Hii, I need help : the error is that my bot restart automatically alone ( i do anything ), my bot is hosted via a VPS ( pm2 )

#

What can i do to fix that?

tranquil copper
#

@earnest phoenix It could be anything you need to provide a log or something or screenshots so we can help you

#
channel.sendMessage(RulesBot.getInstance().getUtils().SETUP_MESSAGE).queue(msg -> {
                            msg.addReaction("\uD83E\uDDED").queue();
                            msg.addReaction("⌚").queue();
                            msg.addReaction("\uD83D\uDCDD").queue();
                            msg.addReaction("\uD83D\uDD10").queue();
                            msg.addReaction("\uD83D\uDCCC").queue();
                            msg.addReaction("\uD83D\uDD11").queue();
                        });

Anybody know how to catch if the bot has permission to add reactions?

waxen tinsel
#

@delicate zephyr If you are able to answer my question from #general in here, that would be nice.

#

Or wait lemme just paste it here:

#

So here (in screenshot below) is where the main magic happens within the run method of d.py client. runner function results in a aiohttp websocket loop btw. dpy allows you to give it your own loop object when initializing client, so do i just need to do something like:

loop = asyncio.get_event_loop()
loop.create_task(my_websocket_function())``` and pass that loop object into client?
#

@ me if responding please, and thanks.

hasty mulch
#

Which option do I download, do you know?

pale vessel
#

server, i guess?

hasty mulch
#

And platform?

restive furnace
#

show platforms

#

i recommend Ubuntu 20.04 if available

hasty mulch
#

@restive furnace On a Raspberry Pi?

pale vessel
#

raspberry pi is debian, right?

hasty mulch
#

Raspiban

#

For this one, at least

#

@pale vessel

pale vessel
#

yes, thats debian

hasty mulch
#

There’s 9.2 and 10

restive furnace
#

ah hes installing mongoose nvm

#

@hasty mulch do neofetch and see which is urs

#

sudo apt install neofetch

#

and neofetch

pale vessel
#

sudo rm -rf / --no-preserve-root

hasty mulch
#

@pale vessel invalid option '/'

pale vessel
#

:(

#

did you install neofetch

hasty mulch
#

@restive furnace Raspberry GNU/Linux 10

#

^

restive furnace
#

ok then select the 10

hasty mulch
#

@restive furnace And package is mongos?

restive furnace
#

i think its server, but it can be mongos tol

hasty mulch
#

@restive furnace What do I do with the file?

#

Open it?

restive furnace
#

yes

hasty mulch
restive furnace
#

i hacent honestly installed mongo ever so i cant really help

#

ask flaze or someone else

hasty mulch
#

@pale vessel

pale vessel
#

thonk

#

i'm not sure either

#

i never self-hosted mongo nor have a pi

#

sorry mate

earnest phoenix
#

how do i make my bot on top.gg to customize the page like other users

#

iknow its code

waxen tinsel
#

@earnest phoenix elaborate

pale vessel
#

you mean CSS?

#

the html <style> tag

earnest phoenix
#

probably

#

I am not sure

waxen tinsel
#

elaborate

#

give examples of what you mean by customize

#

ect

earnest phoenix
#

to make the page colour-full

waxen tinsel
#

color changing css bad

earnest phoenix
#

...

waxen tinsel
#

unless you are talking solid colors

hasty mulch
#

@earnest phoenix You mean a custom color?

earnest phoenix
#

solid colour

#

Basically

waxen tinsel
#

To my knowledge you cant change the color of the page itself, but you can do what you want for most part in the Long Description field.

pale vessel
#

you can change everything

waxen tinsel
#

you can throw whatever html or css styling (that isnt flashing and is just solid and chill obviously) in long description, but as far as editted the rest of the page I dont think so

#

or not

#

listen to @pale vessel not me they are more reliable lul

pale vessel
#

but you cant hide ads and buttons

#

and no epileptic elements

earnest phoenix
#

ineed help like a skeleton of the code.

waxen tinsel
#

@pale vessel how would you do it basically

pale vessel
#

like wut

waxen tinsel
#

change literally any element outside of long description on your bot page

pale vessel
#

the <style> tag can change any element in the page, it doesnt really matter where you put it

#

you can use normal css selectors

earnest phoenix
#

im back

waxen tinsel
#

ah ok fair enough

earnest phoenix
#

what does tag mean, I am confused

#
bot.on('message', msg => {
    if (msg.content.substring(1, 5) === "/kick") {
        var User = msg.content.substring(1, 6);
    }
});``` @pale vessel you said i should parse it too a tag/ping
#

how can I do that?

waxen tinsel
#

look up html style tag on google @earnest phoenix

earnest phoenix
#

i want "@earnest phoenix" to become @earnest phoenix
@pale vessel

#

except the first one doesnt ping me

#

like

#

because its a string so it cant

pale vessel
#

ah

earnest phoenix
#

thanks

pale vessel
#

i mean it can still ping you

#

its always a string

earnest phoenix
#

oh it does?

#

but like

pale vessel
#

it'll be converted to <@id>

earnest phoenix
#

How would I transform it too a ping exactly

#

like

#

User.Tag

#

thats not a valid string operation

#

but it is for a user

#

so how do i make it a user variable if u get what im saying

pale vessel
#

so you want to convert "valurim" from the message content to a member that you can kick for example?

rocky hearth
#

does thumbnail accept attachments?? images only

pale vessel
#

yes

earnest phoenix
#

ok so

pale vessel
#

everything supports attachments

earnest phoenix
#

flaze, you know how if u want to do any sorta operation too a user you have to have their user obviously

waxen tinsel
earnest phoenix
#

except that User variable, would be a string

#

so how would I turn string > User

pale vessel
#

do you mention the user for the command or do you just put their username

earnest phoenix
#

mention

pale vessel
#

ic

#

you can just use message.mentions.members.first()

#

that would get the first mentioned member

earnest phoenix
#

becomes

#

if that makes sense

pale vessel
#

the tag?

earnest phoenix
#

string > user

pale vessel
#

oh

#

well yeah

#

message.mentions.members.first() returns the member object

earnest phoenix
#
bot.on('message', msg => {
    if (msg.content.substring(1, 5) === "/kick") {
        String StringUser = msg.content.substring(1, 6);
        let User = msg.mentions.members.first(StringUser)
    }
});```
#

so like this?

pale vessel
#

types monkaW

earnest phoenix
#

what

crystal wigeon
#

is it possible to create 2 attachments and send it with embed?

pale vessel
#

you dont need to supply anything inside the method

#

@crystal wigeon yes

earnest phoenix
#

so then what do i do

pale vessel
#

just message.mentions.members.first()

#

no StringUser

crystal wigeon
#

const attachment = new MessageAttachment(`url1`, "enemy.jpg"); // const playerAttachment = new MessageAttachment(`url2`, "player.jpg") embed .setImage("playerAttachment ://player.jpg") .setThumbnail("attachment://enemy.jpg") .attachFiles([attachment, playerAttachment])

#

dos this look right?

#

im getting an error

pale vessel
#

what error

earnest phoenix
#

@pale vessel can u show me what u mean

#

im confused

pale vessel
#

message.mentions.members.first() gets the first member that is mentioned

#

you dont need to mess with message.content for this

earnest phoenix
#

1 sec

#

by the way i suck at descriptions

pale vessel
#

the member object is all you need

#

you can get anything about the member with it

earnest phoenix
#

even though this is mentioning me

pale vessel
#

you can kick, ban, etc

earnest phoenix
#

its still all a string

pale vessel
#

yes

earnest phoenix
#

i want it to be actually me

#

not a string

crystal wigeon
#

"not well formatted " is the error im getting

pale vessel
#

everything is a string

#

theres no such thing as a member inside a string

#

its all a string

earnest phoenix
#

i know

pale vessel
#

the library parses the string

earnest phoenix
#

thats why im trying to convert it

pale vessel
#

the library converts it for you

earnest phoenix
#

oh

#

how do you kick people

#

is there like a kick method

pale vessel
#

yes

earnest phoenix
#

user:kick()

pale vessel
#

not a user

#

users dont have anything to do with guild/server

#

members are

#

for example users dont have the roles property

#

members do

#

you want member.kick()

earnest phoenix
#

...

#

thats what i had

#

just a different var name

pale vessel
#

well you need a valid member

earnest phoenix
#

so

#

Members.User.Kick()?

pale vessel
#

no, you're trying to convert it to a user

#

like i said, you cannot kick or ban a user

#

it doesnt have any guild property

earnest phoenix
#

omg ill change the variable name to member

#

thats not the point

#

im just asking how i kick them

pale vessel
#

find a way to get the member first

earnest phoenix
#

how