#development

1 messages · Page 1434 of 1

gentle lynx
#

im trying to make a function called getEffects

#

i need the for to be async because i need to get something from the database

tranquil drum
#

what is this.client.potions

gentle lynx
#

json file

tranquil drum
#

why do you need to await a json file?

gentle lynx
#

no, i want to await the data from the database

tranquil drum
#

why is the await keyword in front of this.client.potions

gentle lynx
#

i was just testing

dusky sundial
#

Wouldn't an async loop be kinda messy anyways? Is it completely necessary?

gentle lynx
#

doesnt seem to show an error

#

wha

#

sec ill try it

tranquil drum
#

the await keyword belongs in front of function calls that are async

#

or of promises

warm marsh
#

for async (let pos in ...) { ... }

gentle lynx
#

ok it works, nevermind

tranquil drum
#

btw your potion var is holding an index

gentle lynx
#

no

warm marsh
#

Change in to of

tranquil drum
#

your first snippet used a for of loop and your second snippet uses a for in loop

gentle lynx
#

it gives the keys

tranquil drum
#

ah

gentle lynx
#

it works now though

#

👍

wanton vector
#

hey can I get some help?

#
module.exports.run = async (bot, message, args) => {
    const MessageEmbed  = require('discord.js');
    
    const embed = new MessageEmbed()
    .setTitle("Support has arrived! [Prefix t.]")
    .addField("`help`: This!")
    .addField("`bananba`: You can't get it!")
    .addField("`navyseal`: What the fuck did you just say about me you little bitch?")
    .addField("`ping`: See my ping.")
    .setColor("#FF0000")
   await message.channel.send(embed)


}

module.exports.help = {
  name:"help",
  aliases: [""]
}```
earnest phoenix
#

Replace the const to { MessageEmbed }

#

well you still need the const

near stratus
#

How do I send a base 64 image ?

earnest phoenix
#

Is there anyone knowing change prefix code

#

node.js

near stratus
earnest phoenix
#

db??

near stratus
#

database

earnest phoenix
#

mhm

#

How?

#

Can u help

#

Im a YT i gotta study it

near stratus
#

assign Guild id with prefix

earnest phoenix
#

Ok

near stratus
#

store it in DB

earnest phoenix
#

mhm

near stratus
#

Fetch it in need

earnest phoenix
#

Can u come to my project and do it?

near stratus
#

Might try using a map if bot is not big

near stratus
earnest phoenix
#

Oh

#

Sad

#

if you pay someone they'll gladly do it

#

Oh

cobalt urchin
#

It's super easy if you're using MongoDB lol or really any database could even use JSON if you wanted to as a databse( heavily not recommended )

earnest phoenix
near stratus
near stratus
earnest phoenix
cobalt urchin
#

yep thats why i said heavily not recommended lol also has higher chance of corrupting when the file gets big enough

near stratus
pale vessel
cobalt urchin
#

i thought repl.it was a free hosting service people use

near stratus
near stratus
pale vessel
#

Okay

near stratus
#

not suggesting

near stratus
#

Caution: It'll be erased once you restart your bot

earnest phoenix
#

Oh

near stratus
#

Once I did that 6 months ago

#

My token was automatically reset

earnest phoenix
#

oh yeah

#

discord has a partnership with github to analyze code for leaked tokens now

near stratus
#

here was the message

wanton vector
#

need help with this real quick

cobalt urchin
#

lol

wanton vector
#

need ` for formatting

#

but for the code too

cobalt urchin
#

you have an extra `

wanton vector
#

I know dumbass

#

I need it

near stratus
#

what's your Problem ?

wanton vector
#

I need ` for formatting

#

like this

#

but for the code too

near stratus
#

use escape then

cobalt urchin
#

`` he means to use them like this

near stratus
#

like `

#

\

wanton vector
#

oh ok

cobalt urchin
#

Not sure why he decided to insult me however

wanton vector
#

\

near stratus
#

yeah

wanton vector
#

because im really stressed rn

#

sorry

cobalt urchin
#

I would suggest you not insult someone trying to help you. Please.

wanton vector
#

well I said I need ` for formatating

#

and you said I have an extra one

#

xd

cobalt urchin
#

yes because the way you have it at the moment is resulting in how it's coming out

if you want to fix it

you need to use backslashes `\`

earnest phoenix
#

imagine calling someone a dumbass when you're struggling with a basic syntax problem 😕

wanton vector
#

xddd

#

yeah im an ididot

#

sorry btw

near stratus
#

Can someone please help me out

#

how do I send base 64 image ?

#

it actually looks like this

#
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAB0CAYAAABUmhYnAAAAAklEQVR4AewaftIAAAKqSURBVO3BQW7sWAwEwSxC979yjpdcCXiQur/NYUT8wRqjWKMUa5RijVKsUYo1SrFGKdYoxRqlWKMUa5RijVKsUYo1SrFGKdYoFw8l4ZtUuiR0KneScEelS8I3qTxRrFGKNUqxRrl4mcqbknBHpUvCCZUTKm9KwpuKNUqxRinWKBcfloQTKieScEelS0KXhE7lRBJOqHxSsUYp1ijFGuXij1O5k4ROZbJijVKsUYo1ysX/TBLuqPxlxRqlWKMUa5SLD1P5pCR0Kp3KJ6n8JsUapVijFGuUi5cl4TdJQqfSJaFTuZOE36xYoxRrlGKNEn+wxijWKMUapVijXDyUhE6lS0KnciIJd1S6JJxQOZGETuVOEjqVLgmdyhPFGqVYoxRrlPiDFyWhU+mScELliSR0Kl0SOpUTSehU7iThjsoTxRqlWKMUa5SLh5JwJwlPJOGOyh2Vb0pCp9KpdEl4U7FGKdYoxRrl4iGVLglPqDyRhCeS0Kn8JcUapVijFGuUiy9T6ZLQJeGOygmVLgl3VE6odEn4l4o1SrFGKdYoFy9TOaHyRBI6lTcloVPpkvCEypuKNUqxRinWKBcPJeGbVO4k4Y5Kl4Q3qXRJ6FS6JHQqTxRrlGKNUqxRLl6m8qYk3FHpktCpdEnoVO6odEnoVLokdCrfVKxRijVKsUa5+LAknFD5l5LQqXQqXRI6lRMqbyrWKMUapVijXAyXhE6lS0Kn8pcVa5RijVKsUS7+uCR0Kl0STiThjsqJJJxQeaJYoxRrlGKNcvFhKp+k0iWhU3lCpUtCp9IloVP5pmKNUqxRijXKxcuS8E1JOJGEJ1S6JHQqJ5LQqTxRrFGKNUqxRok/WGMUa5RijVKsUYo1SrFGKdYoxRqlWKMUa5RijVKsUYo1SrFGKdYoxRrlPyTUBvLbYyS5AAAAAElFTkSuQmCC"
pale vessel
#

Convert it to a buffer

#

Make sure you cut the text part

#

Buffer.from(base64.slice(22), "base64")

#

You can create a message attachment using the buffer

#

e.g. channel.send(new Discord.MessageAttachment(buffer, "image.png"))

near stratus
#

ohh

#

thanks

#

I'll try

pale vessel
#

"Frequency bish"

near stratus
#

that was for fun

#

don't mind it

#

finally

earnest phoenix
#

How to make a command that only voters can use i downloaded dblapi.js but i dont know how to use

twilit rapids
earnest phoenix
#

use desktop

opal plank
twilit rapids
earnest phoenix
#

the official libs listed suck ass too

#

bloated and slow

twilit rapids
#

Just make a post request instead

opal plank
#

^^

#

those modules are just wrappers

twilit rapids
#

It's like 2 lines

#

1 if you're fancy

opal plank
#

curl --post

#

yes, i know thats wrgon

#

curl --request POST url \ rest

twilit rapids
#

ezpz

wanton vector
#

anyone knows why that is?

#

it worked before

opal plank
#

that is undefined

#

cuz u using v11 syntax

#

v12 uses .cache

earnest phoenix
opal plank
wanton vector
#

@opal plank bot.guilds.cache?

opal plank
#

THEN size, yes

wanton vector
#

oh

#

nice

#

thank you

opal plank
#

np

cinder birch
#

any idea why it gives wrong user count?

earnest phoenix
#

not all users are in cache

cinder birch
#

owo

blissful bridge
#

hmm

#

wait

#

a sec

#
client.guilds.cache.reduce((acc, guild) => acc + guild.memberCount, 0)
cinder birch
blissful bridge
#

this should work

cinder birch
#

lemme try

stiff walrus
earnest phoenix
#

probably fix it

#

not sure though

past needle
#

bruh

#

qvq

marble juniper
#

guys

#

how to write bad code

#

I don't know how to write bad code

#

can anybody show me ways to write bad code

#

this is not a joke

past needle
#

yea it really doen't look like a joke

marble juniper
#

I actually mean it

#

I forgot how to write bad code

pseudo plume
marble juniper
#

nah thats not bad enough

pseudo plume
#

yandere simulators code

marble juniper
#

I need to be like really bad

#

like really disgusting

old cliff
#

console.log(client.destroy());

#

do that

marble juniper
#

no

pseudo plume
marble juniper
#

wait I have an idea

#

callback hell

pseudo plume
#

imagine not commenting with chinese

outer perch
#

I just found that command.execute(1, 2, 3), when called in another file with module.exports, has to also be execute(1, 2, 3)

#

that's why I had problems getting the .json in other commands, cuz lang was getting the args value, which was []

pale vessel
earnest phoenix
#

Wtf

outer perch
#

the bad thing is, I need to declare variables I won't use, just to get to the variables I need

earnest phoenix
#

how to make tag cmd

#

for our bot

#

any idea ?

ionic dawn
#

tag command?

shy turret
# marble juniper can anybody show me ways to write bad code
  1. Don't use case. Use a ton of ifs and else ifs.
  2. Don't use await. Spam .then(() => {}).
  3. Don't use any functions. If you need to reuse the same code, copy and paste the same thing.
  4. Hard code.
  5. If you are doing something like express, put the website markdown (and css + js) within the javascript file.
  6. Don't use ${these stuff}. Spam a ton of "these" + "stuff".
  7. Copy and pastas from other websites.
  8. No command handler (for Discord bots). No website page or whatever it is called for websites handler for websites.
  9. No typescript. You need to restart the process to update anything.
  10. A ton of junk code that is not required for the code to work.
marble juniper
#

k thanks

shy turret
#

ok

earnest phoenix
young flame
shy turret
#

that wont work so no

young flame
#

awww

#

brb

past needle
#

you have to write ```js
if(true){

}

#

everywhere

shy turret
#

not good enough

earnest phoenix
#

What to do now

past needle
#

is this css

earnest phoenix
#

how to make tag cmd
for our bot
any idea ?
@shy turret

#

What is that error

shy turret
#
if (a = 1, a) {
    console.log("a")
}
young flame
earnest phoenix
past needle
young flame
#

hm

#

coding is harD

slender thistle
#

hared

young flame
#

shush

past needle
#

remplace all js if(condition){} else {} by ```js
if(condition === true) {if(condition === true){ }} else if(condition !== true){if(true){ }}

young flame
#

ooo

earnest phoenix
shy turret
#
                          if (a = 1, a) {
    delete a;
                 console.log("a")
            }
                 else if (a !== 1) {
delete a;
  
                                                   }
young flame
#

ok brb

shy turret
#

i forgot to include: mess up spacing

past needle
#

oh yea

#

^

slender thistle
#

@earnest phoenix what's your Python version

young flame
past needle
#

GOD

#

MY EYES

slender thistle
#

What the fuck?

shy turret
#

eh

#

not good enough

slender thistle
#

Moon are you okay?

past needle
slender thistle
#

You mean not bad enough

earnest phoenix
young flame
#

yes i learning node

slender wagon
young flame
shy turret
#

to make the code a shit slower

#

useless callbacks*

#

that isnt required

past needle
#

also make some random try {} catch(){}

slender wagon
#

don't forget the else if's

shy turret
#

also

#

if there is an error

#

dont define the error

#

if you want there to purposely be an error

#

make it like

past needle
#

this dude is smart ^

shy turret
#

make.an.error; and it will make an error

#

for example

slender thistle
#

Yeah well shit

#

Read Python 3.8 changelog and tell me what's wrong

earnest phoenix
#

Ok

slender wagon
#

you'll have to make a on ping event

young flame
earnest phoenix
slender thistle
#

Moon

#

Vanish

earnest phoenix
slender thistle
#

Thank you

young flame
#

ok brb got school

young flame
past needle
#

on the event js client.on('message', message =>{ you'll have to see if the message is mentionning the bot if(message.mentions.users.has(clientq.user.id)){}, if true then you send an embed

shy turret
#
const commiterrorrrrrrrrrrrrrrrrrrrrrr = "nooooooooooooo"; // yes const

if (commiterrorrrrrrrrrrrrrrrrrrrrrr == "nooooooooooooo") {} else if (elsevariable = commiterrorrrrrrrrrrrrrrrrrrrrrr == "nooooooooooooo" ? false : true) {
   make.an.error();
} else {
  console.log("lol" + " you" + " will" +" never" + " get"+" here")
}
past needle
#

Two goes brrrrrr

earnest phoenix
#

F

slender wagon
earnest phoenix
#

@slender thistle I'm installing python 3.9

past needle
#

mentionning someone

#

isn't giving it's id

slender thistle
#

Why 3.9

slender wagon
past needle
#

@coarse hill for exemple is what a mention will look in a message.content

earnest phoenix
#

@slender thistle ok so I'll install 3.8

slender thistle
#

Yes

slender wagon
#

@past needle read below what the guy wanted to do

#

wait not below

#

wait

past needle
#

yea ik

#

he wanted that if someone ping the bot, it will respod

#

:-:

#

i mean he wasn't precise maybe he wants smt else

earnest phoenix
#

Python 3.8.6 @slender thistle

slender wagon
#

i think that's what he want

slender wagon
#

you'll have to create a RegExp object

#

at least that's how i did it

past needle
#

OH

sudden geyser
past needle
#

PYTHON

earnest phoenix
sudden geyser
#

keep in mind, that's valid code in C++

slender wagon
earnest phoenix
young flame
#

gotta love bash

past needle
#
696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 
 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 
earnest phoenix
#

op 696

slender wagon
#

@earnest phoenix just dm me, idk what's going on here

#

lol

young flame
#
echo 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696 696
#

print("hello world");

#

pretty sure thats python

#

brb gotta go to schooL

shy turret
#

^ it can be js if you make the function

#
print("hello world");

function print(msg) {
  console.log(msg);
};
young flame
#

chill out bro

#

dont pull out the mac 10

#

big macs gonna be pissed 👀

slender thistle
pale vessel
#

if (!message.guild) return at the top of your message callback

earnest phoenix
#

where

pale vessel
#

at the top of your message callback

#

In your message event, I guess

wicked pivot
#

possible to have the number of lines of a file without using a module?

earnest phoenix
#

without external modules? yes

earnest phoenix
#

without any modules? that's equivalent of asking if you can unlock your doors to the house without having literally anything to put inside of the keylock

wicked pivot
#

I imagine that means no, which module offers this?

earnest phoenix
#

fs

#

it's a built in module

#

use it to read the file contents to a string then count the number of newline occurances

past needle
#

let print = console.log

molten cobalt
#

I am finding a good host for my second bot so can anyone tell me?? so I can also see the logs?

earnest phoenix
#

Error: internal/modules/cjs/loader.js:968 throw err; node module

#

hatası

#

ve bu hata ile ilgili

#

bu sitede

#

bişey buldum

#

bu sitede yazan kodlar doğru mudur

#

ben windows da hostluyorum

#
  app.listen(config.port)
  console.log(`Serverstarted on port ${config.port}`)
})
#

bu kodu mu yazıcam ?

#

setInterval(() => {
  http.get(`http://${process.env.PROJECT_DOMAIN}.glitch.me/`);
}, 280000);
#

kodu yerine

#
  app.listen(config.port)
  console.log(`Serverstarted on port ${config.port}`)
})
pale vessel
#

English only on this channel

earnest phoenix
#

bunu mu yazmam gerek

cobalt cliff
#

How I can check if a message is in a dm

earnest phoenix
quartz kindle
#

what library?

cobalt cliff
#

node

earnest phoenix
#

cant help there

#

sry

cobalt cliff
#

It’s ok

lusty quest
#

library?

quartz kindle
#

Technically node is neither the language nor the library

#

Lmao

lusty quest
#

chances are high that he uses js

quartz kindle
#

Could be c++ and N-API lmao

#

Imagine making a bot in c++ and run it in node

lusty quest
#

i can hear Brain cry

#

now i wonder how many Discord bots are running on a Samsung Smart Fridge.

i would do it just for the memes

sudden geyser
#

os: samsung smart fridge

lusty quest
#

they run android

sudden geyser
#

android + samsung smart fridge

lusty quest
#

it would be saved energy in the end

#

the fride runs anyways

#

so why not installing a small discord bot on it

quartz kindle
#

how much ram does your fridge have?

carmine summit
lusty quest
#

idk i dont own one. if i had one i would have already installed a Bot on it

#

but they dont have much, maybe 265MB

hasty falcon
#

Give me code game xD

lusty quest
#

Hack Me, hack me 2

hasty falcon
#

@lusty quest go to #general I want to ask

lusty quest
#

ok

#

probably no more hours for this month

hasty mulch
#

I am using the example error cog as the base

stable frost
#

How can I fix this bug ? Its a RGB Gif with color fade but the red pixels are shown every time. And if you press "Show Origional" these red pixels are not shown. Why ?

#

And it looks bad when I put this as the embed thumbnail

hasty mulch
stable frost
#

There is no coding language

#

This is the coding language 😂

stable frost
hasty mulch
#

Then why bring it here? Lol

stable frost
#

Idk if anyone knows how to fix the bug

#

And its for my discord bot so...

pseudo wadi
#

How to check to see if a channel is valid?

solemn latch
#

Valid as in exists?

pseudo wadi
#

yes

earnest phoenix
#

Any one
How to work youtube notifications bot systems like api and more like that

solemn latch
#

Just get it from cache. If a channel is returned then it exists.

#

I would look at the YouTube api docs @earnest phoenix

earnest phoenix
#

Ohk

pseudo wadi
solemn latch
#

Whats content defined as

pseudo wadi
#
const response = await message.channel.awaitMessages(m => m.author.id === message.author.id, { max: 1});
        const { content } = response.first();```
pale vessel
#

But that's a string

hasty mulch
#

Could someone show an example of getting an API to get the ping of the API? I have 3 APIs and don’t know where to go

#

Language is Python

pale vessel
#

Strings don't have the mentions property

#

What are you doing

pseudo wadi
#

an interactive setup to start a giveaway

solemn latch
#

You'll want to use a Message for .mentions.channels

quartz kindle
#

message.content.mentions doesnt exist

pseudo wadi
#

?

solemn latch
#

Strings don't have .mentions as a property

#

Which content is a string

pseudo wadi
#

oh

#

so what to do then?

solemn latch
#

Use the mentions property on the Message

hasty mulch
#

What is bot.latency in Python. Like, how does it work?

stable frost
pseudo wadi
pale vessel
#

Yes

solemn latch
pseudo wadi
#

yh but it shows .mentions and i dont know how to implement it

solemn latch
#

Its just a property of message

pseudo wadi
#

message.mentions

solemn latch
#

yes.

pseudo wadi
#

ok.. but can i but it on another object other than message?

solemn latch
#

any object with the mentions property.

#

which mentions is really only for messages by default afaik.

#

if you need it for something which doesnt have it, youll have to make that code yourself.

pseudo wadi
#

oh ok thxs

shy steeple
#

I don’t understand how the css works

#

Like how do we even edit it

solemn latch
umbral zealot
shy steeple
#

Thanks

umbral zealot
#

not sure

#

but the basics are there anyways

solemn latch
#

css doesnt really change anyway.

umbral zealot
#

CSS details might be slightly different but the concept is there

hasty mulch
#
@bot.command(name='ping')
async def _ping(ctx):
    print('Ping!')
    timestamp1 = datetime.datetime.now().strftime('%S')
    api1 = requests.get("https://api.weatherbit.io/v2.0/current?postal_code=11001")
    timestamp2 = datetime.datetime.now().strftime('%S')
    api2 = requests.get("https://api.weatherbit.io/v2.0/alerts?lat=40.72&lon=-73.71")
    timestamp3 = datetime.datetime.now().strftime('%S')
    api3 = requests.get("http://api.openweathermap.org/data/2.5/weather?zip=11001,us")
    timestamp4 = datetime.datetime.now().strftime('%S')
    api4 = requests.get("https://avwx.rest/api/metar/KFRG?options=&airport=false&reporting=true&format=json&onfail=cache")
    timestamp5 = datetime.datetime.now().strftime('%S')
    #Pings
    ping1 = timestamp2 - timestamp1
    ping2 = timestamp3 - timestamp2
    ping3 = timestamp4 - timestamp3
    ping4 = timestamp5 - timestamp4
    embed=discord.Embed(
        title='ROOM SEALER PINGS :ping_pong:',
        type='rich',
        colour=discord.Color(0xFF9E00),
        description=f'''Pong!
Bot Ping: **{round(bot.latency * 1000)}**ms
Weatherbit Current Weather Ping: **{ping1}**ms
Weatherbit Weather Alerts Ping: **{ping2}**ms
OpenWeatherMap Ping: **{ping3}**ms
AVWX Ping: **{ping4}**ms'''
        )
    await ctx.send(embed=embed)
    pass```
Produces: ```
Ignoring exception in command ping:
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/pi/Documents/Room_Sealer/room-sealer-core.py", line 195, in _ping
    ping1 = timestamp2 - timestamp1
TypeError: unsupported operand type(s) for -: 'str' and 'str'
#

Rounded as well, if able

#

Language is in Python

halcyon linden
#

Hi

#

How can I make a purge command that delete 1000 messages or more?

lusty quest
#

api limit is 100

earnest phoenix
#

discord API only allows a max of 100 per bulk delete

willow mirage
#

why mee6 can

lusty quest
#

bcs of some workarounds

earnest phoenix
#

verified bots might be able to bypass

#

or maybe it's just deleting and recreating the channel to clear everything

halcyon linden
#

Oh well :/

#

Thanks!

shy steeple
#

this is my page ``<style>
body {
#bot-details-page {
background color: #90EE90 !important;

}``

still showing as white

#

any help

earnest phoenix
#

what kind of white?

shy steeple
#

the normal one

#

default

earnest phoenix
shy steeple
#

but i have provided the hex color i want lol

earnest phoenix
#

can you send me your bot page link

shy steeple
umbral zealot
#

you say that's your page... but you just mentioned css that's... not on that page.

#

are you sure you saved

shy steeple
#

what do you mean?

earnest phoenix
#

he didn't press submit yet

umbral zealot
#

Ah right I see

#

Which part of the page do you want to change the color of? bot-details-page doesn't exist

shy steeple
#

wait

#

the bg color is not affected in this update right?

umbral zealot
#

There's been a lot of changes

placid iron
solemn latch
#

honestly, probably best to learn a bit about css so you can do it yourself.

#

f

placid iron
#

i frame dead 😩

shy steeple
umbral zealot
#

Today you learn you can't do literally everything in life by following a tutorial, perhaps? 😛

placid iron
#

there we are

#

fixed

solemn latch
#

Ezpz

earnest phoenix
solemn latch
#

Psh I'm afking the iron farm

#

Most intense gameplay

earnest phoenix
#

we have a badass among us

solemn latch
#

You started it

cloud peak
#

Markdown:
````!setlanguage en, de or pl` - Changes the bot's language to English, German / Deutsch or Polish / Polska

!start 5h 2w Fancy hoodie - Starts a new giveaway for a fancy hoodie that ends in 5 hours and has 2 winners```

Looks like this since the new update:
https://screen.beatz.dev/uCwi

Does anybody know a way to keep the box but also not have the text in there in light gray aka nearly unreadable?

earnest phoenix
#

how i can change to custom background on my discord bot page and invite button ?

solemn latch
earnest phoenix
#

but where to enter my css code

solemn latch
#

Long description of your bot in html style tags

earnest phoenix
#

ah, thanks you for help

#

can you mix markdown and html in the description

#

¯_(ツ)_/¯

solemn latch
#

should be able to.

earnest phoenix
#

how

solemn latch
#

i mean, i would guess youd do something like

#Title
<img srd="urltosomeimg">

and it would just work

#

or whatever markdown and html you want.

lyric mountain
#

srd

earnest phoenix
#

but how the heck do they know which part of <lel>#text</lel> is markdown and which is html?

#

hakx?

solemn latch
#

presumably in that case html would take over.

earnest phoenix
#

ok

#

but css has #

lyric mountain
#

it ain't a css in that example

#

is for ids, so it'd have to be inside an id="something"

halcyon linden
#

Hi, how can I make a cooldown for the commands use?

#

I mean

solemn latch
#

lib/lang?

halcyon linden
#

If I used a command I must wait any time to use it again

lyric mountain
#

self-expiring collections basically

#

or timestamp storage

lusty quest
#

i can recomend something like Redis. you can set a TTL for entrys

halcyon linden
#

Yeah

lusty quest
#

and there is a event that fires if a key runs out

#

wait nvm its overkill for a cooldown

earnest phoenix
#

or just..

setInterval
lusty quest
#

its nice for a mute command

lyric mountain
solemn latch
#

@placid iron i think they fixed the iframe bug 🤷‍♂️

placid iron
#

according to my test - no

lyric mountain
#

poor iframe

#

btw, have you tried using vw instead of %?

earnest phoenix
#

not to split on more

#

@earnest phoenix
<style>
body {
background: url('image url') !important;
}
</style>

#

put it on this section

#

<style>
body {
background: red !important;
}
</style>

#

where is "red" put color which you want

#

i think yes

#

am not sure

#

you can @earnest phoenix

#

i just checked now

#

just put # then code

#

u have to put #

#

second to check

#

<style>
body {
background: #FF9300 !important;
}
</style>

#

put it like this

#

why you put entity-header

#
entity-header {
   background: #FF9300 !important;
  }
</style>```
#

just copy paste this

#

wait

#

wrong one

#
body {
   background: #FF9300 !important;
  }
</style>```
#

this copy paste, i took color which u wanted

#

i dont know for entity header

#

i just started to watch this about editing website today

#

@earnest phoenix

#

good news

#

i found

#

<style>
body {
background: #FF9300 !important;

}
#menu {

background: #FF9300 !important;

}
</style>

#

here code to its all be same

tight bronze
#

How can I make a snowflake animation in the background?

earnest phoenix
#

matija, you from croatia?

lusty quest
#

i think you need script access for this. and only verified bots get access

earnest phoenix
tight bronze
earnest phoenix
#

ja sam iz Bosne

tight bronze
#

Oooo

earnest phoenix
#

gg

tight bronze
#

gg

#

Konačno i našeg da nađem ođe

earnest phoenix
#

do sada ni jednog balkanca nisam nasao

tight bronze
#

Anyway, my question

How can I make a snowflake animation in the background?

earnest phoenix
#

ne mozes

lusty quest
earnest phoenix
#

you need to have bot verified

#

okay, i wont speak on my language

tight bronze
#

A bot with a tick? I have my bot verified

lusty quest
tight bronze
#

Oh

lusty quest
#

and the verification is closed

tight bronze
#

Okay

#

Thank you

earnest phoenix
#

how do i make to discord avatar be circle?

#

not cube

lusty quest
#

idk i dont do much css/html stuff.

earnest phoenix
#

well, i too

near stratus
lusty quest
#

started to make a dashboard for my bot a few months ago but havent really worked on it for a while

earnest phoenix
#
body {
   background: #FF9300 !important;

  }
 #menu {

background: #FF9300 !important;

}
</style>```
#

@earnest phoenix

#

there is news

#

and there is showed every part how its called

#

this up thing?

#

its entity-header

terse berry
#

Hello, can someone help me with my command handler?

#

Im getting the error "TypeError: Cannot read property 'run' of undefined", I've made it so that the bot reads all messages that have the prefix before the message

sudden geyser
#

are you missing a run function in one of your command files

terse berry
#

No, the problem is

#

That if someone makes a typo in a command, like mistakenly changed "-ping" to "-pung", the bot still tries to read a file names "pung", which doesn't exist

#

How do I make it only detect the real commands and not every message which has "-" before it

sudden geyser
#

Alright, then you need to see if the command exists before trying to run it. For example, if you stored your commands in a map, you could use .get(...) and see if the value is undefined (no key found). Hence, can you show your source code.

terse berry
#

umm

#

just a sec

#

This is the command.js script ```const { readdirSync } = require('fs')

module.exports = (client) => {
readdirSync("./commands/").forEach(dir => {
const commands = readdirSync(./commands/${dir}/).filter(file => file.endsWith(".js"))

    for(let file of commands) {
        let pull = require(`../commands/${dir}/${file}`);

        if(pull.name) {
            client.commands.set(pull.name, pull);
            console.log(`${pull.name} has been loaded.`)
        } else {
            console.log(`${file} has an error.`)
            continue;
        }

        if (pull.aliases && Array.isArray(pull.aliases)) pull.aliases.forEach(alias => client.aliases.set(alias, pull.name));
    }
})

}```

lusty quest
#

not sure if sync is the correct way to go tbh

terse berry
#

In the index.js file client.commands = new Collection(); client.aliases = new Collection();

sterile lantern
#

const array1 = ["e8c547","30323d","4d5061","5c80bc","cdd1c4","90ffdc","8de4ff","8ac4ff","dcd6f7","a6b1e1", "001021","034748","1481ba","11b5e4","0caadc","f1e3f3","c2bbf0","cca43b","e5e5e5","ffffff", "40f99b","61707d","9d69a3","f5fbef","e85d75","e5d4ce","de6e4b","0d1321","ffeddf","1ccad8", "d7fdec","a9fbd7","b2e4db","b0c6ce","938ba1","fbaf00","ffd639","ffa3af","007cbe","775b59", "16bac5","5fbff9","efe9f4","171d1c","5863f8","ff5e5b","ffed66","522b29","37ff8b","a06b9a"]
var randomcolor = array1[Math.floor(Math.random() * array1.length)];```
#

i try to print randomcolor in an embed

#

but it just gives a black embed

#

instead

lusty quest
#

nvm readdirSync is correct

sudden geyser
lusty quest
#

yea

sudden geyser
#

But the loader is not important here. It's the message event, which should try finding the command and running it.

lusty quest
sterile lantern
#

i know but

earnest phoenix
sterile lantern
#

the colors r ugly

earnest phoenix
#

orthat

sterile lantern
#

oh

#

ill try #'s

terse berry
#

This is in the client.on message event const args = message.content.slice(prefix.length).trim().split(/ +/g); const cmd = args.shift().toLowerCase();

sudden geyser
#

show more of your code

terse berry
#

I'll just post the whole index file

#

just a sec

snow urchin
#

why is my bot not caching all members and guild.members.fetch returning undefined??

lusty quest
#

what lib?

snow urchin
#

discord.js

terse berry
sterile lantern
#

i added #hex but

terse berry
#

Index.js file

sterile lantern
#

it only prints one color

#

;-;

lusty quest
#

try fetchAllMembers in the client settings

snow urchin
#

I have.

lusty quest
#

hmm

snow urchin
sterile lantern
#

this is the only color that prints

#

out of the whole array

earnest phoenix
#

you need to regenerate the color on every command

#

you can't keep it outside of the scope of the event otherwise it will remain static and unchanged

sterile lantern
#

o

#

how would i regenerate it

#

var randomcolor = array1[Math.floor(Math.random() * array1.length)]; is what i have to

#

call it

earnest phoenix
#

take a guess

sudden geyser
#

@terse berry so what matters is: ```js
let command = client.commands.get(cmd);

if (!command) command = client.commands.get(client.aliases.get(cmd));

if (command)
if (command.timeout) {
// ...
}

command.run(client, message, args);
You could try logging `command` to the console to see what the value is before the command runs.
#

It looks correct at first glance.

earnest phoenix
#

use let and move the variable inside of the event scope, otherwise you're going to run into concurrency issues @sterile lantern

terse berry
#

ummm

#

The run error comes when someone makes a typo in the command

snow urchin
sterile lantern
#

how would i put inside of a embed event

terse berry
#

I want the bot to ignore everything except the real commands

sterile lantern
#

or should i put it before the embed

lusty quest
#

hmm maybe your server is overloaded bcs of so many guilds

snow urchin
#

there is 1 server, with 5 members

#

loool

lusty quest
#

only?

terse berry
#

and not only ignore the message if the prefix is not there @sudden geyser

sterile lantern
#

o nvm

snow urchin
#

yep

lusty quest
#

strange

#

is it a paid host?

tardy hornet
#

developers , use this gif when ever you need to

snow urchin
#

its local rn

lusty quest
#

hmm

#

strange

sudden geyser
#

I know, hence to debug it, logging the value of command is a step to figuring it out. By the looks of your code, command.run(...) is being run even though you're seeing if command exists. It looks correct yet the only thing weird is the lack of braces.

terse berry
#

Uuh

#

when the correct command is being run

sudden geyser
#

Now what does it show when the command is mistyped

terse berry
#

error

#

TypeError: Cannot read property 'run' of undefined

sudden geyser
#

Does it print anything above it (like it would with the console.log call).

terse berry
#

um

#

yep

#

undefined and after that the error

lusty quest
#

handle non existing commands before executing them

terse berry
#

hmm

sudden geyser
#

Interesting, you could try adding braces: if (command) {...} to make sure JS is not interpreting command.run(...) outside the check to see if the command exists

#

Superbrain that is what they're doing sort of

terse berry
#

Ok, I'll try

lusty quest
#

check if your collection contains the command if not return

terse berry
#

rq

snow urchin
# lusty quest strange

just realised, the bot does not completely start with fetchAllMembers, as I said only 1 server 5 members, ready event never emits

sudden geyser
lusty quest
#

lol

terse berry
#

Alright

#

braces fixed it

#

._.

#

never not adding braces again

#

lmao

#

@sudden geyser @lusty quest Thanks :D

lusty quest
#

well then

#

but im not sure if this will be bullet proof. like the only line where you check if the command is invalid it searches for an alias.

#

or did i forgot a line?

terse berry
#

If it isn't a command, it returns false in if(command) {...}

lusty quest
#

in the hastebin if (!command) command = client.commands.get(client.aliases.get(cmd));

sudden geyser
terse berry
#

This is there too if (command) { if(command.timeout){ if(Timeout.has(`${message.author.id}${command.name}`)){ return message.channel.send(`Wait ${ms(command.timeout)}econds to use that command again. DON'T BREAK ME!`) } else{ Timeout.add(`${message.author.id}${command.name}`) setTimeout(() => { Timeout.delete(`${message.author.id}${command.name}`) }, command.timeout); } } command.run(client, message, args); }

sudden geyser
#

The weird part was JS not respecting the whitespace

young flame
#

uh

lusty quest
#

ok?

terse berry
#

Yeah that was the prob lol

young flame
#

you spelt seconds wrong

terse berry
#

bruh

#

the

#

uh

young flame
#

econds

pure lion
#

I love this channel

#

So much

terse berry
#

The module names it {no of seconds}s so I wrote econds at the end @young flame

young flame
#

naise

terse berry
#

so if I make it correct, it will return 2sseconds

#

lol

lusty quest
young flame
#

thats stupid

#

why would you have s at the end of a number

pure lion
#

@terse berry you can use ms(the number, {long: true})

young flame
#

._.

terse berry
young flame
#

oof

pure lion
#

Yes

#

Do that

young flame
#

odule is stupid then

#

see how stupid that is

#

odule sounds dumb

#

module doesn't sound bad smh

young flame
#

nice

terse berry
#

Thx

young flame
#

naise*

#

@pure lion how are you today dice

pure lion
#

@young flame I'm good, really tired tho

young flame
#

awww

#

go lay down then

snow urchin
#

why is fetchAllMembers making my bot take 5 minutes to start and then not even caching all members in the end, only 1 server with 5 members...

lusty quest
#

maybe slow internet connection?

quartz kindle
#

fetchAllMembers fails if you dont have the server members intent

#

And it doesnt error when it fails, it just waits for 2 minutes before it times out

wicked pivot
warm bolt
#
.votebutton{
  background: rgb(52,207,235);
  background: linear-gradient(344deg, rgba(52,192,235,1) 0%, rgba(52,192,235,1) 100%);
  color: white;
}
</style>
​
<style>
  .bot-img{
      animation: float 2s ease-in-out infinite;
  }
  
  @keyframes float {
    0% {
        box-shadow: 0 10px 25px 0px rgba(0,0,0,0.6);
        transform: translatey(0px);
    }
    50% {
        box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
        transform: translatey(-20px);
    }
    100% {
        box-shadow: 0 25px 55px 0px rgba(0,0,0,0.6);
        transform: translatey(0px);
    }
  }
</style>
​
<style>
body {
  background-image: url("imagelink");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
  .columns .bot-img{
  border-radius: 50%;
}

</style>

<style> .bot-name{ background: -webkit-linear-gradient(0deg, #058BF2, #4AC3E8 , #00F2FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } </style>

Dunno why its broken oof

tranquil drum
#

ID props too probably

fleet mason
tranquil drum
fleet mason
#

yea it worked, ty

lusty quest
rare mist
pale vessel
#

.entity-button works

rare mist
#

Thx 😄

severe pike
#

How do I edit the review stars color?

pale vessel
#

.star

#

Literally

severe pike
#

Dint have to be an arse bout it

pale vessel
#

Okay.

#

I wasn't trying to

severe pike
#

sounded like you were

#

Thanks ig

terse berry
#

Where is all this info written?

#

Like the styling and stuff

earnest phoenix
#

hi for some reason some of my bots don't react to my discord server and that i don't know how to upload an image on my server at the top can you help me ?

feral aspen
#

Hello

#

Not sure, but is it considered as spam if my help command sends out 2 embeds but the second embed is like 2 lines only?

terse berry
feral aspen
#

First Embed is the help embed
Second Embed is an embed regarding bot incident. doesnt send ALWAYS, only at incidents..

quartz kindle
#

Right click > inspect element

terse berry
#

Oh that

#

yeah

#

Thanks

#

xD

terse berry
#

You should probably ask it in #support @feral aspen

pale vessel
#

It's not

#

It should be fine

feral aspen
#

👍

pale vessel
#

I've seen bots that send 4 embeds at the same time, all full

feral aspen
#

Damn

#

But it's alright

#

No API ban, right?

#

or somethin

quartz kindle
#

You wont get banned for that no

#

But you can only send 5 messages per 5 seconds, so the more you send at once, the less commands you can respond to

warm bolt
quartz kindle
#

Inspect element

warm bolt
#

I'm no mobile rn cant inspect

quartz kindle
#

So do it later on a pc

dull bramble
#

So, I've got this code:

else if(message.content.startsWith(prefix + "setprefix")){
  if(message.member.hasPermission('ADMINISTRATOR')){
    const args = message.content.slice(prefix.length).trim().split(' ')
    require('./config.json').prefix === (args[1])
  }
 }```
The command would be something like `>setprefix !?`. The prefix is stored in my `config.json` file. This code is trying to change the prefix in the config.json file the the first argument of this command (in this case, changing the prefix to !?). Also I'm only trying to do this for the guild the command is run in. It wouldn't change the prefix of ALL the servers the bot is in.
pale vessel
#

You need to use =instead of ===

dull bramble
#

ohh

pale vessel
#

== and === is for comparing

dull bramble
#

ah

tranquil drum
#

your prefix won't be saved with this code

pale vessel
#

Even so, you need to save your prefix

#

That would only store it in memory

dull bramble
#

Damn

pale vessel
#

It will be reset once your bot restarts

tranquil drum
#

it wouldn't even store it in memory once you leave the function and gc clears it

#

the scope of your config object is just inside that if block right now

marble juniper
#

anyone know what image types discord supports

#

I have .jpg .jpeg and .png in my list rn

#

(im not gonna use .gif btw so it doesn't count)

pale vessel
#

webp

marble juniper
#

ok

#

and i mean also

#

image formats that let you actually see the image

#

and it doesn't just get sent as you know

#

a file

pale vessel
#

Yes, I understand lmao

warm bolt
#

I cannot use inspect element on my current device and people are refuting to help give me class names / ids, what should I do...

hollow sedge
#

what's your current device? @warm bolt

warm bolt
#

Oh

#

Its

#

Android atm

#

cant inspect element on an android can ya

hollow sedge
#

add view-source: in front of the URL

#

you can

warm bolt
#

oooo

#

Lemme try

hollow sedge
#

if it's generated dynamically you wont be able to see it tho

warm bolt
#

ok I got the source nice

#

Quite frankly idk how it helps me

#

it has no correlation to my code

#

apart from being html

#

Ah I see

lyric hawk
#

Hey guys, technical question. Currently my Discord bot's code is a series of conditions with a simple on_message() event. For example, if message.content.startswith("dc.command") etc. It's not using sharding or separate files for commands. Now it has reached 2300 servers, including some with 50k+ members and it looks like it is starting to slow down. Can it be due to this, should I rewrite the code to include sharding?

earnest phoenix
#

Can it be due to this, should I rewrite the code to include sharding?
yes and yes

#

startsWith is super slow once you start scaling it

#

you need to use a proper command library or build your own

lyric hawk
earnest phoenix
#

yup, a ton of bots run on it

#

notable one is R.Danny

lyric hawk
#

Okay thank you, feel like it's gonna be a ton of work to change the code's structure

earnest phoenix
#

are you using dpy right now?

lyric hawk
#

Yup

earnest phoenix
#

they have a built in command library, you should check that out

lyric hawk
#

Okay thank you 🙂

earnest phoenix
crimson vapor
#

@modern sable

#

ty

warm bolt
#

Uhm

earnest phoenix
#

hey I'm stuck and I would like to know what is the command in javascript so that the bot can do a poll imself

warm bolt
#

Woops ig

#

How do I fix

earnest phoenix
#

is it html ?

warm bolt
#

Accidentally cut my stars off

#

uh yes ig

#

would love to know how to fix

earnest phoenix
#

pull them up with a negative margin-top ig

#

if it doesn't work, it's probably because you're clipping them

#

also that styling is webkit

#

meaning no firefox support for a lot of shit

#

you should use firefox as the browser to style

#

if you're more interested, see: https://www.youtube.com/watch?v=a-V8GFtwjos

Start creating responsive layouts with confidence with my free responsive layouts course: https://courses.kevinpowell.co/conquering-responsive-layouts

Chrome is a great browser, and for JS debugging it has the upperhand, but if you're writing CSS, there's no reason not to be using Firefox as your development browser. It has some amazing feature...

▶ Play video
warm bolt
earnest phoenix
#

how is that related to top.gg lol

earnest phoenix
#

yeah but you're using css styling

warm bolt
#

Well I was just thinking that the size of the stars

#

Is all preset

#

So how can I mess with that

#
        <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="class="entity-header__star star  icon"">
<path class="svg-star" d="M8.10314 1.05616L6.06251 5.19366L1.49689 5.85928C0.67814 5.97803 0.350015 6.98741 0.943765 7.56554L4.24689 10.7843L3.46564 15.3312C3.32501 16.153 4.19064 16.7687 4.91564 16.3843L9.00002 14.2374L13.0844 16.3843C13.8094 16.7655 14.675 16.153 14.5344 15.3312L13.7531 10.7843L17.0563 7.56554C17.65 6.98741 17.3219 5.97803 16.5031 5.85928L11.9375 5.19366L9.89689 1.05616C9.53127 0.318658 8.47189 0.309283 8.10314 1.05616Z" fill="#9FA6B2"></path>
</svg>
#

Like that^

#

I cant edit it

#

I'm not that pro on css styling so this is all kinda confusing to me

warm bolt
earnest phoenix
#

well you moved it by one pixel

#

you should probably talk to someone who's studying law

warm bolt
#

Let's try 20 😂

neat wave
dark steeple
#

using discord.js & canvas, how can i cut an avatar in half?

warm bolt
#

@earnest phoenix tried 200 and it didnt budge

earnest phoenix
#

what's the url to the bot page

#

i'll try to play with the css

warm bolt
earnest phoenix
#

it's the line height that's messing them up

#

set line-height to 1 on entity-header__star class

warm bolt
#

Eyyy

#

It worked

#

Thank you very much

earnest phoenix
#

Can you please verify my bot?

#

nope

#

everytime you ask you need to wait an extra week

#

😦 okay

boreal iron
broken sentinel
#

somebody know why when i use my nuke command the channel is on the bottom ot the channels

#

and if somebody know how to fix it

snow urchin
#

there is defo a better way of writing this code, simpler, less messy, anyone able to help out LOL

hollow sedge
#

yeah you could just have a list of roles and iterate over it

placid iron
earnest phoenix
#

yo guys i don't know why, but recently i had this error when i want to play music with my bot
erreur de dispatcher : Error: input stream: Error parsing info: Unable to retrieve video metadata

gilded olive
daring anchor
#

Toxica remix

wind vault
#

Someone know how to make the command avatar in discord.py ?

#

Python

strange viper
sudden geyser
hollow sedge
hollow sedge
#

do you know how to code?

strange viper
sudden geyser
wind vault
#

This is my script

#

*@bot.command()
async def avatar(ctx, , avamember : discord.Member=None):
userAvatarUrl = avamember.avatar_url
await ctx.send(userAvatarUrl)

#

I have imported their respective libraries

#

And I get an error and it says:

#

discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'avatar_url'

#

Do you know what to do there?

wind vault
#

The "attribute" avatar_url

#

and I do not know what to do

earnest phoenix
#

well i mean avamember wasn't passed in the command

sudden geyser
#

To know what to do requires understanding the error: AttributeError: 'NoneType' object has no attribute 'avatar_url'

'NoneType' refers to when something is None. has no attribute X means you tried using dot notation (x.y) to access a property that doesn't exist.

Put the puzzle pieces together, and now you have this: avamember was None and you tried using .avatar_url on it, just like in your source code. ```py
userAvatarUrl = avamember.avatar_url

If the user is required to supply a user, you shouldn't be defaulting to `None` because it should never be `None`.

@wind vault so, try removing `=None`
wind vault
#

ooooh

#

I trying

earnest phoenix
#

He shouldn't remove it he should make sure that it is supplied so that the exception isn't thrown

sudden geyser
#

So they should remove the default case of None to say it's required?

wind vault
#

discord.ext.commands.errors.MissingRequiredArgument: avamember is a required argument that is missing.

#

New error 😦

#

So, do I remove the = None or not?

sudden geyser
#

See, you didn't supply the avamember argument when you ran the command.

wind vault
#

So, do i remove the discord.Member?

earnest phoenix
#

that would throw the error as the function is called rather than letting him check and perhaps sending a usage message to the user

wind vault
#

Sorry, I'm just learning to program and then I don't understand many things,

#

😦

#

For example, what was the error there and how is it solved? and how would the result be?

earnest phoenix
#

sorry i meant to send that one earlier discord just took a while to send that one

#

lmao

#

kinda seems out of context now

wind vault
#

I believe

#

*@bot.command()
async def avatar(ctx, , avamember : discord.Member):
userAvatarUrl = avamember.avatar_url
await ctx.send(userAvatarUrl)

#

The script and the error is this:

#

discord.ext.commands.errors.MissingRequiredArgument: avamember is a required argument that is missing.

earnest phoenix
#

lets take this for example

#
def test(bruh: str = None):
    if bruh:
        print(bruh)
    else:
        print("please provide a string to print")
test()```
#

if u ran this code with your python interpreter it would print back please provide a string to input

#

now if u put a param in the function call that was a string it wouldn't print in back

#

you can do the same thing with your command

strange viper
#

Like, what are you entering when you use the command

wind vault
#

So I have to print 2 times?

earnest phoenix
#

no no no

#

that was an example

#

lmao

wind vault
#

@bot.command()
async def avatar(ctx, *, avamember : discord.Member):
userAvatarUrl = avamember.avatar_url
await ctx.send(userAvatarUrl)

wind vault
strange viper
#

that's not command thats code

#

what command are you using to trigger your code

earnest phoenix
#

I mean that is a command

#

lmao

strange viper
#

I need to see what you're doing to trigger it because I think the problem may be you're not mentioning anybody

earnest phoenix
#

may be

wind vault
#

bot.run(token)

earnest phoenix
#

oml

#

like what are u using to call the command

#

like

#

~av @fair rover