#development

1 messages · Page 1791 of 1

humble vortex
#

No tutorial for converting v 11 to 12v?

sinful belfry
#

and this is why it is always a good idea to format your code

#
client.on("message", async message => {
    const args = message.content.slice().trim().split(/ +/g);
    const command = args.shift().toLowerCase();
    let channel = message.channel
    if (command === "%nsfw") {
        if (args[0] == 'enable') {
            channel.edit({ nsfw: true });
            message.channel.send(`Se **activó** el NSFW en el canal -> ${channel.name}`);
            //    
            if (args[0] == 'disable') {
                channel.edit({ nsfw: false });
                message.channel.send(`Se **desactivó** el NSFW en el canal -> ${channel.name}`);
            }
        }
    }
});
solemn latch
sinful belfry
solemn latch
earnest phoenix
#

dude

#

jesus

#

i only do copy paste of my other codes

#

😐

#

isnt good

sinful belfry
#

wdym

earnest phoenix
#

that I do not make the codes from 0, I just copy and paste the examples from my other codes, then this error can happen to me with the brackets

sinful belfry
#

well learn to understand the code you are copy and pasting at the very least

#

and try to figure out issues yourself in future by reading documentation and understanding javascript

earnest phoenix
#

yep, it's a good idea, I never read discord's docs, I only learned from tutorials or friends, it's a bot to pass the time, it's not a project to say

sinful belfry
#

otherwise youll forever be reliant on others, which kinda defeats the point of coding your own stuff

earnest phoenix
#

that same

sinful belfry
earnest phoenix
#

k brot

#

ty so much

humble vortex
#

Failed

sick agate
#

Disocrd js version?

#

İf v11 update

humble vortex
#

I am using version 12

#

The robot runs right when it is inside the test channel, but when I move it inside the main server, it turns off and no longer runs.

sinful belfry
humble vortex
#

How can I fix it?

sinful belfry
#

try setting it to false and see if that changes anything

#

tho thats not exactly a fix, youll likely need to do some modification if you really needed to fetch all members in the first place

humble vortex
#

fetchAllMembers related to resource or server settings?

sinful belfry
#

wdym

humble vortex
#

What?

sinful belfry
#

what do you mean

#

i dont quite understand what youre asking there

humble vortex
#

What is the problem with fetchAllMembers?

sinful belfry
#

it can potentially cause issues in terms of ratelimiting, especially when fetching large numbers of members

lyric mountain
#

and OOM crashes

sinful belfry
#

yep

humble vortex
#

😐

#

Damn this chance

sinful belfry
#

why does your bot need to fetch all members?

humble vortex
#

I think I should kill 800 people for a robot

humble vortex
sinful belfry
#

why do you need to send all your bot's code

humble vortex
boreal iron
#

Is discord still adjusting the mobile client with the new design?
Looking at the channel list today let me think all items have less the height than before

lyric mountain
#

it always is

boreal iron
#

Naw the font sizes have changed the last days

sinful belfry
lyric mountain
#

ik, they push updates seamlessly

boreal iron
#

Anything is fucking small, too small

sinful belfry
lyric mountain
#

they are always changing it without notice

boreal iron
lyric mountain
#

these days I noticed the new mention color was applied to mobile aswell

boreal iron
#

Yes and the element has no padding anymore

#

Looks pretty ugly

lyric mountain
#

I wonder if the mobile version is just a webview instead of an actual app

boreal iron
#

I don’t think so

lyric mountain
#

how can they update it without playstore updates?

boreal iron
#

There’s no real mobile version on the web using a browser

#

Oh that’s what u mean

lyric mountain
#

yep, I mean the app

boreal iron
#

Yeah might be true

#

Or it caches components and fetches them like the style etc.

lyric mountain
#

oh yeah, it could be a remote stylesheet

boreal iron
#

Anyway I can’t adjust the font size and it got too small to type while driving KEKW

lyric mountain
#

angeryBOYE don't type while driving

boreal iron
#

I don’t see an issue about that

lyric mountain
#

if you werent typing you'd have seen

boreal iron
#

lmao

#

Alright we will see how this goes on

exotic vigil
#

hi guys how are you
I made the dashboard, that is the dashboard, and when I use it on localhost, there is no problem.
But I'm thinking of adding it to the site and ftp.isim.site vesayre
I made a web page in FileZilla and added it. I made an external dashboard extension but it didn't work
I just made the domain link that way.
Can you help if you have any information?

wheat mesa
boreal iron
#

probably

lyric mountain
stuck spire
#

heya guys

#

any link,video or tutorial, or any suggestion ? i need to make a welcome room, player need to confirm to move for others chats. just this.

boreal iron
#

I stopped understanding at the 5th word
Phew… thought it’s just me oldEyes

stuck spire
#

hello you all ?

boreal iron
#

Just for accepting rules in that channel?

#

If so there are already (new) channels with that function not requiring a bot

stuck spire
#

yeah

#

i just need when a member join, type like i said in info

boreal iron
#

If he enters your command you just gonna assign a group to him.
What’s the issue?

#

You gonna check if the message includes your command, if the channel is the right one and then assign a group to the member.

stuck spire
#

the issue is, i wanna when a new member join server he could only see one channel ( called = welcome room )

#

after the type anything or my command ( like = !role @nickname Class )

#

then member would be able to check all chats

boreal iron
boreal iron
#

Hee?

stuck spire
#

where is guildmember add event ?

#

you said

#

i asked if whitin server settings painel my discord channel

boreal iron
#

An discord API event

#

You’re using JS or Py?

stuck spire
#

i am not using any, but i know python

#

with only discord features i can not separate ?

#

because carl-bot already gives me the role action

#

i just need to put in wait room new member

#

after check or any key pressed ok

#

then it allowed to see all chats

boreal iron
#

Are you going to make a bot or just a rules channel?

stuck spire
#

rules channel

#

the own member will add a roll if want

#

but they need to type command permission

boreal iron
#

Oh nvm then thought you wanna make a bot

stuck spire
#

just an application

boreal iron
#

Can’t help you with that unfortunately
I just know it exists

earnest phoenix
#

Do mongodb and quick db are the same?

#

I mean is like what is better

sudden geyser
#

noop

#

not the same

#

not even close

#

bam the more you know

#

they're very different

#

quick.db is a convenient package for writing to databases as if they're key-value based

#

it uses sqlite under the hood to my knowledge

#

mongodb is a document-based database

#

it encourages programmers to think in objects rather than in references

#

and has a json-like approach

#

but you won't get all the differences and if you should use it out of a few messages

#

you should do more research online into the differences @earnest phoenix

#

A lot of developers who want their bot to just work and not worry about how to design and manage their databases will choose quick.db.

earnest phoenix
#

Ok

#

I dunno why they want mongodb

lyric mountain
#

Mongo is overrated

#

I mean, for some stuff it's excellent

#

But people overuse it for relational data

earnest phoenix
#

oh

opal plank
#

in all honesty any db will work 99% of the cases

#

its very rarely where a bot actually requires some very advanced thing that one db has that the other doesnt

#

overall you fine sticking with whichever you want @earnest phoenix

#

though i would recommend the right tool for the right job

#

using postgres if you just want to save a few dozen id's from users is like getting a chainsaw to break a stick

#

so sqlite or some very lightweigh dbs would be the option

earnest phoenix
#

o

#

ok

lyric mountain
#

Everything boils down to sqlite in the end

opal plank
#

It boils down to ur data

#

How much of it

#

What shape u need

#

Do i need relational dbs?

#

Its all on u and ur data tbh

sudden geyser
#

SQLite always reigns 👑

west spoke
#

forgot your g

#

reins != reigns

sudden geyser
#

g as in goat

earnest phoenix
#

wht probleam happen in ytdl

#

cn any one explain me

sudden geyser
#

more context pls

earnest phoenix
#

wht you mean

pale vessel
#

no, wht you mean

earnest phoenix
#

wht kind of probleam happen in ytdl- core no any music bot working

#

of made by ytdl

west spoke
#

what

west spoke
#

we can't do anything if you say "help with x because y doesn't work"

long crow
#

I got slap with it almost everytime even with short song dura

west spoke
#

so what I can gather from what we have is that use ytdl-core for JavaScript

#

and that's it

long crow
#

I don't recommend it untill they solved the ECONNRESET issue

wheat mesa
#

I never had any problems with ytdl-core, I only had problems with discord-ytdl-core

west spoke
wheat mesa
#

yeah, the npm package was VERY outdated

#

swapped to ytdl-core, and then everything worked fine

west spoke
#

lul

stable nimbus
#

How could I make a file that catches every error including database related errors?

#

Like an event?

#

Any place that I could start?

west spoke
#

so do you know about the Exception exception

#

this is a thing in most languages

#

A generic catch

sudden geyser
#

However, I'd recommend a logger implementation (e.g. a library)

west spoke
#

or like

sudden geyser
#

Which could handle that functionality and extra capabilities for you

stable nimbus
long crow
sudden geyser
#

Is your bot restarting due to an upstream provider? Are you sure you'll be able to catch errors like that?

west spoke
#

I hear it's helpful!

stable nimbus
#

I like to ask. I don’t ask questions well.

west spoke
#

google understands them 90% of the time

#

Googles cryptic ass error, somehow a forum has a solution from 10 years ago

#

But yeah

stable nimbus
#

Yeah honestly.

west spoke
#

I'd throw that question into google

stable nimbus
#

Okay.

west spoke
#

Cause 1: we don't know what lang you use and 2: it's a relatively simple fix.

#

have headpat

west spoke
#

stop please

#

my one fear

#

c++ templates

sudden geyser
#

ooga booga

bright thorn
#
module.exports = {
  name: `grab`,
  category: `🎶 Music`,
  aliases: [`save`, `yoink`],
  description: `Saves the current playing song to your Direct Messages`,
  usage: `grab`,
  parameters: {"type":"music", "activeplayer": true, "previoussong": false},
  run: async (client, message, args, cmduser, text, prefix, player) => {
    if(!voted) {
      return message.channel.send(new MessageEmbed()
        .setColor(ee.wrongcolor)
        .setDescription(`This is Command is Vote Required Please [vote me](https://top.gg/bot/802812378558889994/vote) First `)
      )
     } else {
      return message.author.send(new MessageEmbed()
  .setAuthor(`Saved Song:`, message.author.displayAvatarURL({dynamic: true}))
  .setThumbnail(`https://img.youtube.com/vi/${player.queue.current.identifier}/mqdefault.jpg`)
  .setURL(player.queue.current.uri)
  .setColor(ee.color)
  .setFooter(ee.footertext, ee.footericon)
  .setTitle(`${player.playing ? `${emoji.msg.resume}` : `${emoji.msg.pause}`} **${player.queue.current.title}**`)
  .addField(`${emoji.msg.time} Duration: `, `\`${format(player.queue.current.duration)}\``, true)
  .addField(`${emoji.msg.song_by} Song By: `, `\`${player.queue.current.author}\``, true)
  .addField(`${emoji.msg.repeat_mode} Queue length: `, `\`${player.queue.length} Songs\``, true)
  .addField(`${emoji.msg.playing} Play it:`, `\`${prefix}play ${player.queue.current.uri}\``)
  .addField(`${emoji.msg.search} Saved in:`, `<#${message.channel.id}>`)
  .setFooter(`Requested by: ${player.queue.current.requester.tag} | in: ${message.guild.name}`, player.queue.current.requester.displayAvatarURL({dynamic: true}))
  ).catch(e=>{
      return message.channel.send("**Your Dm's are disabled**")
  
    })
          message.react(emoji.react.SUCCESS).catch(e=>console.log("Could not react"))
  
    }
}}
west spoke
bright thorn
#

but this is not working

#

also

west spoke
west spoke
#

I don't use JavaScript.

#

also please for the love of god use semicolons aFear2

#

It makes it so much easier to read

sudden geyser
#

and enabling syntax highlighting

pale vessel
#

indent properly

snow urchin
west spoke
#

hm I wonder what the red text says

#

ohhhh... Something's undefined

#

Auth isn't defined, or whatever that variable resolves to is undefined.

bright thorn
opal plank
#

what?

#

also

bright thorn
#

i explains actual error

opal plank
#

literally ur first line

#

u dont pass voted there

#

voted is undefined

west spoke
#

does the & variable work in js like it does in c++

#

ie implements all variables in lambda function

bright thorn
#

thnq

opal plank
#

& is used for bitwise in js

west spoke
#

ah

opal plank
#

&& is AND operator

#

but just & is for bitwise checking

west spoke
#

that's obvious

#

there should be a symbol to do that tho

bright thorn
# opal plank && is AND operator
module.exports = {
  name: `grab`,
  category: `🎶 Music`,
  aliases: [`save`, `yoink`],
  description: `Saves the current playing song to your Direct Messages`,
  usage: `grab`,
  parameters: {"type":"music", "activeplayer": true, "previoussong": false},
  run: async (client, message, args, cmduser, text, prefix, player) => {
    let voted = await topgg.hasVoted(message.author.id);
    if(!voted) {
      return message.channel.send(new MessageEmbed()
        .setColor(ee.wrongcolor)
        .setDescription(`This is Command is Vote Required Please [vote me](https://top.gg/bot/802812378558889994/vote) First `)
      )
     } else {
      return message.author.send(new MessageEmbed()
  .setAuthor(`Saved Song:`, message.author.displayAvatarURL({dynamic: true}))
  .setThumbnail(`https://img.youtube.com/vi/${player.queue.current.identifier}/mqdefault.jpg`)
  .setURL(player.queue.current.uri)
  .setColor(ee.color)
  .setFooter(ee.footertext, ee.footericon)
  .setTitle(`${player.playing ? `${emoji.msg.resume}` : `${emoji.msg.pause}`} **${player.queue.current.title}**`)
  .addField(`${emoji.msg.time} Duration: `, `\`${format(player.queue.current.duration)}\``, true)
  .addField(`${emoji.msg.song_by} Song By: `, `\`${player.queue.current.author}\``, true)
  .addField(`${emoji.msg.repeat_mode} Queue length: `, `\`${player.queue.length} Songs\``, true)
  .addField(`${emoji.msg.playing} Play it:`, `\`${prefix}play ${player.queue.current.uri}\``)
  .addField(`${emoji.msg.search} Saved in:`, `<#${message.channel.id}>`)
  .setFooter(`Requested by: ${player.queue.current.requester.tag} | in: ${message.guild.name}`, player.queue.current.requester.displayAvatarURL({dynamic: true}))
  ).catch(e=>{
      return message.channel.send("**Your Dm's are disabled**")
  
    })
          message.react(emoji.react.SUCCESS).catch(e=>console.log("Could not react"))
  
    }
}
#

see i defined

#

but i cant got respond

obtuse wharf
#

Hi

west spoke
#

have you run it

obtuse wharf
#

Do you play pokemon go

bright thorn
west spoke
#

any error?

bright thorn
#

its a syntax error but where i cant got

west spoke
#

What line

#

pastebin the whole file as well if possible

obtuse wharf
#

What

bright thorn
#

} else {
return message.author.send(new MessageEmbed()

obtuse wharf
#

What do you play

west spoke
#

Is it in the else or the return

bright thorn
west spoke
#

I'm on mobile currently, but from what I can tell there isn't a syntax error.

#

Are you sure it's that line?

west spoke
#

ok

#

I shall now leave development chat before my last two awake brain cells fall asleep

zenith terrace
#

what are brain cells

#

how do I require them

bright thorn
#

i got this error

#

now

zenith terrace
#

bot edit page, webhooks, token

bright thorn
zenith terrace
#

?

opal plank
#

@bright thorn ask in #general-int on your language or use google translate

#

not knowing how to code AND not knowing english makes it really hard to help

bright thorn
#

whats issue

#

am telling my

opal plank
bright thorn
#

issue in English

earnest phoenix
#
    at ClientRequest.<anonymous> (/home/container/node_modules/miniget/dist/index.js:210:27)
    at Object.onceWrapper (events.js:483:26)
    at ClientRequest.emit (events.js:376:20)
    at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
    at TLSSocket.socketOnData (_http_client.js:515:22)
    at TLSSocket.emit (events.js:376:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at TLSSocket.Readable.push (internal/streams/readable.js:223:10) {
  statusCode: 404
}
#

wht is this error

#

cn any one tell

pliant sparrow
crimson vapor
#

would probably be better to ask in the ytdl support server

earnest phoenix
#

iy on ytdl core

earnest phoenix
crimson vapor
inner fulcrum
#

what u guys use to get ur bot 24/7 online

sly sierra
#

vps

inner fulcrum
#

very helpful thx

sly sierra
#

np\

hidden coral
#

I tried this too

civic junco
#

ware the error

exotic vigil
#

what's your problem my friend?

#

I can help if you want.

#

node .
what is this?

#

where package.json

#

hmm start localhost port and
index.html

#

all you do is run the folder.
It's like selecting a folder and pressing enter. This is wrong

copper cradle
#

they're trying to run the file with windows script host, not node, thatxm's why it doesn't work

#

you need an interpreter to run JavaScript code

exotic vigil
#

package.json
localhost:3000 or
developer.
Of course you need to install the module.

copper cradle
#

using the windows script host won't work

exotic vigil
#

package.json
it needs to create extension, then crafting program with knot or thread.

pale vessel
#

you don't use a package manager to run node code

exotic vigil
#

I always use package.json in yarn or node.

#

do what you know.
Good luck with

copper cradle
#

you know you don't actually need to initialize the project right

#

it's not a requirement to run a file with node

echo summit
#

Just wondering if anyone knows how to reverse proxy nginx.

woeful pike
#

what's your question

eternal osprey
#

hey i am trying to run my discord bot, but it returns me this error input stream: Status code: 404

#

just when trying to run my !Play command

lusty quest
#

what did you use for streaming the audio?

eternal osprey
#

ytdl core

#

still the same issue

#

it is driving me crazy

near stratus
#

A lot of ppl are having issues with ytdl since last few days

eternal osprey
#

?

eternal osprey
#

will it fix itself

#

or will it always remain broken

feral aspen
#

Sup all.

#
switch(args[1]) {
    case 'enable':
    case 'enabled':
    case 'true':
    case 'on':
    case 'sure':
    case 'yes':
        meow();
        break;
#

.. any faster way to do this?

near stratus
feral aspen
#

I know if statement does it faster.. but with less code, yes.

lusty quest
#

does everything the same?

eternal osprey
#

i am getting a miniget error

#

is that ytdl-core related?

copper cradle
#

switch statements are faster than if statements

near stratus
feral aspen
near stratus
lusty quest
near stratus
#

don't think so

lusty quest
#

switch (arr.toString()) {
    case arr.toString():
        console.log('ok');
}``` this could work
copper cradle
eternal osprey
#

so i will have to wait till ytdl core gets fixed right

lusty quest
feral aspen
#

Hm..

eternal osprey
lusty quest
#

yea but is also extremely limiting, most large bots dont use it for good reason

eternal osprey
#

mhmm

cinder patio
#

Using array.includes guarantees O(n)

eternal osprey
#

how long will it take till it gets fixed

lusty quest
#

can take a day can take months

near stratus
copper cradle
#

it isn't a big deal in this case

near stratus
#

yea it's just 6 items so shouldn't hurt

cinder patio
#

Also you should initialize the array outside of any functions to avoid extra allocations

lusty quest
feral aspen
restive furnace
#

if ur worrying about speed, you shouldn't be using JS anyway

earnest phoenix
#

any one need help for music bot 404 error dm me

lethal trout
#

how to remove these

#

and it is also showing wrong

pale vessel
#

Re-post it

lethal trout
#

@pale vessel wdym

#

i removed the code long back

#

cause if i use the code my bot crashes randomly

#

idk why

pale vessel
#

What library are you using for your Discord bot?

feral aspen
#

Ahh..

#

Make sure you arent having two bots run the same code to the same web hook.

#

.. I experience that. 😂

#

I'd like to ask.. I create a scrimba application and I can write console.log(1 + 1) and logs it.

Why cant I do the same in Visual Studio Code?

earnest phoenix
pale vessel
#

your sister is going to be mad

earnest phoenix
zinc wharf
earnest phoenix
#

I tried to use fdisk to resize my ubuntu partition

#

my two braincells told me to create a new partition instead of resize the old one

#

none of the fixes on stackoverflow worked

zinc wharf
#

Stackoverflow flooshed

zinc wharf
earnest phoenix
#

Yep

zinc wharf
#

Rip

earnest phoenix
#

no luck with the stackoverflow answers

humble vortex
#

Why do I get this error when running the robot?

earnest phoenix
earnest phoenix
earnest phoenix
#

no jokes bro, my pc has 300GB of very very important stuff

#

it fix in windows 11

earnest phoenix
earnest phoenix
#

pls stop shitposting

eternal elbow
#

What are the requirements for a server to be a real server in Discord?

earnest phoenix
#

all the tutorials on stackoverflow tell me to use a cd/usb but i dont have one and how the absolute fuck do i boot into that when grub rescue wont let me do anything

cinder patio
#

buy a usb or a cd then

earnest phoenix
#

hang on i might have a 2 gig usb somewhere

#

but how do i install ubuntu to it from a phone

#

@earnest phoenix vc aja ak min

#

no

earnest phoenix
#

lol

#

too experienced with help from indians

earnest phoenix
inland quail
inland quail
#

flash it from another pc

earnest phoenix
#

who's pc?

#

i dont have another

#

and i dont think the guy at the computer store will let me do shit

earnest phoenix
#

i still cant figure out how to fix it

#

people say i have to change the prefix and root variables to the correct grub path but what use is that if grub cant figure out the file system on anything?

cinder patio
earnest phoenix
#

so i may have found a fix:
goto my friend's house (who has a monstrous computer),
install ubuntu on a spare usb using his computer,
come back home,
smh get my computer to boot from the usb

cinder patio
#

or to a friend which has a PC

earnest phoenix
#

@cinder patio Well how do i get my pc to boot from theusb instead after i got it?

cinder patio
#

I dunno I've never installed an OS myself

earnest phoenix
#

probably using discord on a fridge

boreal iron
quartz kindle
#

most pcs have a key to boot into device selection mode

#

its usually F2, F10 F11 or F12

earnest phoenix
#

i remember spamming the arrow keys when turning on the computer once (dont ask why, i was 8) and smh got into boot menu

#

what a nice day to forget your computer model so you can't google the boot key

#

@quartz kindle @boreal iron

quartz kindle
#

your usb should show up there

earnest phoenix
#

alright

#

time to get the usb

boreal iron
#

It needs to be a bootable device of course

flat copper
#
if(option === "on"){
      const attachment = message.attachment.first()
      console.log(attachment)
    }```
Error : cannot read property type 'first'
boreal iron
#

Isn't the property called "attachments"?

flat copper
#

Idk

boreal iron
nimble kiln
zinc wharf
#

I know its a rather dumb question, but how do I put all my require() into one file, and call that file?

#

I cant seem to find it anywhere

#

This is in Node.JS btw

boreal iron
#

If you need your included files everywhere in your process, include them in your index/main file

slender thistle
#

Wouldn't you require that file too?

zinc wharf
cinder patio
#
exports.A = require("...");
exports.B = require("...");
exports.C = require("...");
const {A, B, C} = require("...");
zinc wharf
#

That makes life easier lmao

flat copper
#

Is discord.js latest version supports inline reply

pine pilot
#

@restive sleet
use the bash tag / json / ini

"NEED THE QUOTES - bash"
"NEED THE QUOTES - json" 
[some blue text using ini]
.some_blue_text-using-css

theres many ways to do it, just check the resource, google is also your best friend

pine pilot
#

ofc ;3

odd stratus
#

You want to try it out you can do npm i discord.js@dev

distant cobalt
#
const setting = args.slice(0).join(" ")
const mode = args.slice(1).join(" ")```
I want `setting` to get the first argument only. But it gets the entire command I say. For example: `g!config publicprofile true`. I print `setting` and get `publicprofile true`. i want it to only be `publicprofile`. How can I fix this?
earnest phoenix
#

log args

#

it’s then just gonna be getting a specific item out of the array

cinder stratus
#

anyone knows about this error

fleet plinth
#

**Hi guys i made economy commands but if i type the command there is no reaction from the bot
**

import discord
import requests
import json
import random 
import os
import random
import pickle

client = Bot(command_prefix="F-") #Make sure to put ur prefix here 

data_filename = "data.pickle"

class Data:
    def __init__(self, wallet, bank):
        self.wallet = wallet
        self.bank = bank

@client.event
async def on_ready():
    print('Logged in as {}'.format(client.user.name))
    client.loop.create_task(status_task())

async def status_task():
    while True:
        await client.change_presence(activity=discord.Game(
            'Type F-Vote to vote for special commands and to support the developper.'))
        await asyncio.sleep(30)
        await client.change_presence(activity=discord.Game('Join the support server for Support [https://discord.gg/tfFMrtqVhN]'))
        await asyncio.sleep(30)



#commands
@client.command()
async def work(message):
    member_data = load_member_data(message.author.id)

    member_data.wallet += 1
    await message.channel.send("You earned 1 coin!")

    save_member_data(message.author.id, member_data)

@client.command()
async def bal(message):
    member_data = load_member_data(message.author.id)

    embed = discord.Embed(title=f"{message.author.display_name}'s Balance")
    embed.add_field(name="Wallet", value=str(member_data.wallet))
    embed.add_field(name="bank", value=str(member_data.bank))

    await message.channel.send(embed=embed)


#Functions
def load_data():
    if os.path.isfile(data_filename):
        with open(data_filename, "rb") as file:
            return pickle.load(file)
    else:
        return dict()

def load_member_data(member_ID):
    data = load_data()

    if member_ID not in data:
        return Data(0, 0)

    return data[member_ID]

def save_member_data(member_ID, member_data):
    data = load_data()

    data[member_ID] = member_data

    with open(data_filename, "wb") as file:
        pickle.dump(data, file)
                                                           
client.run```



**Any Help?**
cinder stratus
#
npm ERR! code 128
npm ERR! command failed
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/discordjs/discord.js.git
npm ERR! Warning: Permanently added the RSA host key for IP address 'x.x.x.x' to the list of known hosts.
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

``` anyone knows about this error
solemn latch
#

you dont have permission to access whatever you are doing with github

cinder stratus
#

well it's discord.js master branch

#

that's the only package I'm trying to install from github

native grail
#

BTW, has anyone here made a git push and git pull command in discord.py?

pale vessel
#

__import__("os").system("git pull") ez

#

Idk

native grail
slender thistle
#

Well here's the thing right

#

You'd need a directory to work with

uneven sigil
#

guys do you have any idee how is posible to have a bot status for website

native grail
slender thistle
#

Oh okay, os.chdir and os.system

#

Don't know how well it will work with async, but

native grail
#

@slender thistle it becomes blocking

#

Blocks the bot even for 5 min

wooden kindle
#

does any1 know it ytdl-core is down

#

or no 😉

slender thistle
#

5 minutes?

#

Interesting.

uneven sigil
#

someone have a bot to have website status like this ?

slender thistle
#

Have you tried searching for such bot?

uneven sigil
#

yeah but nothing found on github and other

#

this just a bot ping ip and say on embed

zenith terrace
#

@quartz kindle

slender thistle
#

This is fun

zenith terrace
#

@quartz kindle get back in here

#

quick, think of fake code help

boreal iron
slender thistle
#

I resized it to that so that's fun

native grail
#

Lemme show u what I followed

earnest phoenix
#

Why don't you just call communicate?

#

What I'd do, basically. As you probably can tell already, the former is stdout and the latter is stderr

native grail
#

Huh?

native grail
earnest phoenix
#

The communicate method of Process object

native grail
#

Oh

#

Wait then

#

The repo is private, so how can I tell it the git creds?

#

It's a VPS

earnest phoenix
#

It's run as if you run it in a terminal. As long as you can access it in the terminal, it'd work, I guess.

native grail
#

Oh, ok

#

Thanks for telling. I'mma try it!

earnest phoenix
#

NP

crimson vapor
tired panther
#

How can you keep Dashboard and Bot in track?

lyric mountain
#

websockets

tired panther
lyric mountain
#

permissions are role-related

#

without guildmember you'll just not be able to tracks per-user permissions without constantly fetching

tired panther
near stratus
lyric mountain
#

well, the less intents you use the less real-time options you have

lethal trout
#

how to remove this, and also it is showing wrong. I removed the code from the bot but it wont go i use djs

lyric mountain
#

once posted I don't think you can remove

#

you could try posting 0 or a negative value maybe

lethal trout
lyric mountain
#

the same way you did that before

lethal trout
#

cause when i use that code it randomly gives errs

#

and dies

rose warren
lethal trout
rose warren
#

You were using dblapi.js?

#

If you were, that's deprecated which probably explains the errors.

lethal trout
#

idk now

#

that was months back

rose warren
lethal trout
# rose warren Use this <@725945760629129277> https://npmjs.com/package/topgg-autoposter

#discord #discord.js #realcoder
Hey am official member of realbot

Source Code - https://github.com/RealPukhraj/Stats-Count-For-topgg
Github - https://github.com/RealPukhraj

If you need any help join
Discord Server - https://discord.gg/k9zFcucTKp
Thank You
Regarding Real e-Sports
Always We are waiting for your joining.

Social Links :
✔ We...

▶ Play video
#

this right?

#

can u see the vid once?

#

pls

rose warren
#

Learn to code and read the docs

lyric mountain
#

why resort to videos smh

rose warren
#

Copying and pasting a youtube solution will only make it harder on yourself. You'll never learn.

#

It's really not that hard and you can ask for help in #topgg-api

lethal trout
lyric mountain
#

then why make a bot?

#

bots require commitment and dedication

sudden geyser
slender thistle
#

That video is so low effort

zinc wharf
lyric mountain
slender thistle
#

5 fucking minutes of low effort non-explained piece together-smashing

rose warren
#

I just noticed someone also posted that video in #topgg-api 🤦‍♂️

slender thistle
#

It's literally the guy who created that video

#

@modern sable can the guy be warned since it's highkey looking like ads

rose warren
lyric mountain
slender thistle
#

Dude

rose warren
#

Yeah you're right smh

#

Ads

#

That's even worse

slender thistle
#

He posted it multiple times

lethal trout
lyric mountain
rose warren
#

😂

lyric mountain
#

how tf can you have more subscribers than views?

lethal trout
#

lol

lyric mountain
zinc wharf
#

Lmao

rose warren
#

Lmao I wouldn't copy that video

slender thistle
#

Literally

#

It's the fucking autoposter example combined with express for replit

#

😭

crimson vapor
#

why is this a thing

#

please help me

tired panther
#

How can I edit a channel perm, without resetting the perm?
I am currently using this:

channel.edit({permissionOverwrites: [
    { id: guildid, deny: ['SEND_MESSAGES']}
  ] })

Now I want to set SendMessage back to null

lyric mountain
#

@scenic kelp

tired panther
copper cradle
#

someone needs to teach some logic to these discord.js kids

earnest phoenix
copper cradle
#

no

#

fuck

copper cradle
earnest phoenix
west spoke
sudden geyser
#

When they come back they'll know all the ways of JS

copper cradle
#

lmao

sick agate
#

Ah yes

limber mica
#

Does anyone know a way to check if a category exists by ID?

#

Im so confused on how to do it. Discord.JS does not seem to have a way to do it.

round cove
#
const categorychannel = (message.)guild.cache.channels.get('ID');
if (categorychannel.type === 'category') {
  // code
}```
limber mica
#

Wait so grabbing the channels also gets the categories?

round cove
#

They all count as channels to discord and by discord.js

limber mica
#

ok, I was looking under the CategoryGuild

#

the more you know

#

Thank you!

round cove
#

Also D.JS doc site got updated ???

#

Nice

limber mica
#

i like the new one, its cleaner

round cove
#

Yeah

earnest phoenix
limber mica
#

i will never understand python, its just too different from other languages, im always impressed by people who know it

sick agate
#

Meh honestly it is easy to learn

limber mica
#

no semi-colons gets me

#

I am so used to adding it to the end of a line because of java.

royal herald
#

how can i get sudo perms in aws

sick agate
#

sudo su

limber mica
#

RIP

round cove
limber mica
#

console.log() is now my friend

round cove
#

Idk what your code looks like. I only assumed you were getting the info off of a message object.

limber mica
#

I am

#

ima get it

#

wait

#

cant speel channels

#

spell*

earnest phoenix
#

I don't understand what to put in the index.js :/

#

xd

solemn latch
earnest phoenix
limber mica
#

` const Discord = require("discord.js");
const randomstring = require("randomstring");
let dayjs = require('dayjs');
const ticket = require("./ticket");

module.exports = {
name: 'ticketconfig',
description: "Csets the ticket category",
execute(client, message, args, Discord, db) {

console.log(args[0])

    let channelID = args[0];
    let categorychannel = message.guild.cache.channels.get(channelID);

    if (message.member.hasPermission('ADMINISTRATOR')) {
        if (!categorychannel.type === 'category') return message.channel.send("That is not a category!\n Please right click on the category you want and click 'copy ID' and use that as your arguement!"); 
        if (args[0].length = 0) return message.channel.send("No arguements specified!")

        let ticketchannel;

        db.collection('guilds').doc(message.guild.id).update({
            'ticketParent': channelID
        })

    }
}

}
`

#

When trying to check the channel ID's i keep getting an error "TypeError: Cannot read property 'channels' of undefined"

solemn latch
limber mica
#

It is, when I get the variable and console.log it it logs the message exactly as it should

limber mica
solemn latch
#

Are you running it in a server not dms?

#

Otherwise I'm not sure

earnest phoenix
#

@solemn latch

#

Is there a solution to this problem ?

limber mica
limber mica
earnest phoenix
#

ok

solemn latch
limber mica
limber mica
#

`let channelID = args[0];
let categorychannel = message.guild.channels.cache.get(channelID);

    if (message.member.hasPermission('ADMINISTRATOR')) {
        if (!categorychannel.type === 'category') return message.channel.send("That is not a category!\n Please right click on the category you want and click 'copy ID' and use that as your arguement!"); 
        if (args[0].length = 0) return message.channel.send("No arguements specified!")
        if (args[0].isNaN) return message.channel.send("That is not a number!")`
#

TypeError: Cannot read property 'type' of undefined

#

I keep trying stuff and its not working XD

#

im not good at API refrences

solemn latch
limber mica
#

So when I try to pull "type" from that list it does not work as it comes up undefined

#

wait

#

I should proabably put the isNaN checks and all that BEFORE it checks the channe,

#

im a dummy

clever agate
#

I checked MANY times if the setDescription was without anything written, but even so this error continues to appear:

#

someone help me?

summer torrent
#

show code

clever agate
#

okeh

#

wait a minute...

#

screenshot

summer torrent
#

are you sure that res.text actually exists

#

console.log() it

zinc wharf
#

@summer torrent Not a development question, but your name rings a bell. Are you in TMP at all?

clever agate
#

I'll see here

summer torrent
#

nope

zinc wharf
#

Oh, alright then no worries lmao

#

Your name is probs very close to someone else then KEKW

clever agate
#

@summer torrent yes both exists

#

I'm checking the code, and I can't find anything

zinc wharf
#

@clever agate so your embed still isn't working?

zinc wharf
#

Rip

clever agate
#

I got sad

zinc wharf
#

Same error?

clever agate
#

is in a stable version

clever agate
zinc wharf
#

Right let me take a look here

solemn latch
#

-needdev

gilded plankBOT
#

@earnest phoenix

You seem to be asking for something you don't have experience for or something that hasn't been done yet, but really need for your bot/server.
You can hire developers from Fiverr or Freelancer to code the things you need for your bot/server.

zinc wharf
#

@clever agate comment out the embed stuff and do console log, to see if res.text actually puts out something

#

I'm on phone atm so do apologise for late replies

zinc wharf
#

Ah thats good

clever agate
clever agate
zinc wharf
#

no

opal plank
#

this is not the place to ask for devs

solemn latch
#

no.

opal plank
#

@solemn latch

lyric mountain
#

ignored lul

sharp saddle
#

N.O

crimson vapor
sharp saddle
#

please NO

#

you don't know what it is "NO"?

lyric mountain
#

also imagine making free bots

summer torrent
#

ples give me code ples 🙏

opal plank
#

imagine making bots

crimson vapor
#

NMWeeb03

summer torrent
#

are you raccoon

opal plank
#

free code

solemn latch
#

please stop asking. last warning

summer torrent
opal plank
#

oof

solemn latch
#

being muted

opal plank
earnest phoenix
#

Here's your free bottum

Bottum();
lyric mountain
summer torrent
#

no one is going to make bot for free, Deebs

opal plank
#
let bottum = Bottum();
if(bottum.isCompressed) bottum.uncompress()```
#

@earnest phoenix i fixed ur bad code

crimson vapor
#

mute time

#

pog

opal plank
#

lmao

#

i saw it live

solemn latch
#

-m 743173712232185908

earnest phoenix
#

Wtf

gilded plankBOT
#

🤐 Muted Deebs#0440 (@fluid fossil)

opal plank
#

ma! get the camera

lyric mountain
#

are you winning son?

earnest phoenix
opal plank
#

mine's shorter tho

crimson vapor
#

his is detritus tho

opal plank
#

also hasCompression is a getter

#

no need to call function

earnest phoenix
#

Stink

opal plank
earnest phoenix
#

🗜️

clever agate
#

let's continue?

#

why the hell does this happen

earnest phoenix
lyric mountain
#

and catch your promises

clever agate
#

but still it doesn't work

earnest phoenix
opal plank
#

var AND then

earnest phoenix
# clever agate

You're not resolving your promises, leading up to the continuation of the executing process without waiting for them to be resolved

opal plank
#

need to use async and remove that var from there

earnest phoenix
#

And yea, usage of the var variable declaration keyword is discouraged

opal plank
#

wheres my bot here when i need it?

#

sigh

#

1 sec

clever agate
opal plank
#

this is why

#

if u curious

earnest phoenix
lyric mountain
#

vars are hoisters

opal plank
#

var hoisted makes bugs

earnest phoenix
#

var is hoisted on top of the global scope just like a normal function

clever agate
#

I will leave this system aside

opal plank
#

its just using async and changing var to let

#

or const

#

is that big of a deal?

earnest phoenix
#

The variable declaration isn't really the cause of your error here, the only you gotta do is to use async-await, that's all

crimson vapor
opal plank
crimson vapor
#

@opal plank

lyric mountain
sage bobcat
#

One message removed from a suspended account.

sage bobcat
fresh verge
#

Whenever I add new stuff to a data model like ```const mongoose = require("mongoose");

const dataSchema = mongoose.Schema({
guildId: String,
conmin: Number,
conmax: Number,
wcooldown: Number,
rcooldown: Number,
welcome: String,
leave: String,
autoroles: Array
})

module.exports = mongoose.model("SBCONFIG", dataSchema), and add like something: String```, How can I make it automatically add the new item<s> to already existing data of the model?

odd sapphire
#

How would you have your bot leave a server using eval (discord.js)

woeful pike
bright thorn
#

any update in embed edit ?

#

like its not working msg.edit(embed)

fresh verge
bright thorn
# fresh verge Code?
let embed1 = new MessageEmbed()
                                .setColor(ee.color)
                                .setImage("https://media.discordapp.net/attachments/846572935669874748/855316214481551360/ezgif-7-2e1193fe8d8a.gif?width=606&height=192")
channel3.send(new MessageEmbed().setColor(ee.color).setDescription("Setting Up..")).then(msg => {
    //react with embed 1
    msg.edit(embed1)
})```
#

see this

fresh verge
fresh verge
bright thorn
#

ok thnq

fresh verge
#

Wait. What message do you want exactly to be editted?

bright thorn
#

now you understand

#

i have const channel13

fresh verge
#

I gotta go edit dinner now. ;-;

bright thorn
#

👀

fresh verge
#

If it is the channel13 message that you want to be edited, then change msg into the channel13 variable name.

fresh verge
bright thorn
#
let embed1 = new MessageEmbed()
                                .setColor(ee.color)
                                .setImage("https://media.discordapp.net/attachments/846572935669874748/855316214481551360/ezgif-7-2e1193fe8d8a.gif?width=606&height=192")
channel3.send(new MessageEmbed().setColor(ee.color).setDescription("Setting Up..")).then(msg => {
    //react with embed 1
    msg.edit({embed: embed1})
})```
bright thorn
#

see this

#

embeds not editing

#

😩

sudden geyser
#

You need to write code to alter every document and make your change.

#

Retroactive = taking effect from a date in the past; it won't update your past documents for you.

#

Hence, you need to do it yourself.

bright thorn
opal plank
#

and this, boys and girls, is why we use ES6's named exports

pale vessel
#

or just module.exports = { getMember, shuffle, ... swap_pages2 }

mild agate
#

Can someone abuse buttons?
Should I add ratelimit to buttons on my side?

opal plank
#

which is kinda of a bummer

#

so yeah, you should limit it

mild agate
#

Ok

#

But can I get ratelimited for interactions?

opal plank
#

most likely yes

#

every endpoint has a ratelimit

#

it depends on how high it is

craggy pine
opal plank
craggy pine
#

https://scs.twilightgamez.net/QdmTq.png so I have this api I'm working with that goes like this

getPlayer -> username -> stuff | I'm going through "Bosses" and a few options have strings like in this ss. How would I for example let thing = "abyssal sire"

#

Tried just doing [0] for the first option but I suppose that's incorrect

opal plank
#
let thing = bosses['Abyssal Sire']```
craggy pine
#

ah that's right

#

😮‍💨 ty

#

lol

opal plank
#

np

rapid wharf
#

In discord.py,
I made this so if a msg contains a mention, send that mentioned user the msg.

@client.event
async def on_message(message):
    if message.user == client.user:
        return
    if message.guild.id == 799980929056768000:
        msg = message.content
        if message.mentions:
            for member in message.mentions:
                await member.send(msg)
    else: 
        return 
```  and getting this error 
```py
Ignoring exception in on_message
Traceback (most recent call last):
  File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "e:\! Bot  Floder\Aimi\Z Test.py", line 14, in on_message
    if message.guild.id == 799980929056768000:
AttributeError: 'NoneType' object has no attribute 'id'
prime mist
#

Probably a DM

#

DM's don't have a guild.

rapid wharf
# prime mist DM's don't have a guild.

so should i do

if discord.Guild:
   if message.guild.id == 799980929056768000:
        msg = message.content
        if message.mentions:
            for member in message.mentions:
                await member.send(msg)
    else: 
        return 
pale vessel
#

if message.guild

rapid wharf
#

Thankk yoouuu

#

Got it done

long crow
opal plank
#

basically ES6 syntax allows you to do some extra fancy shit like named exports

#

aliases and a whole bunch of things

#

this will probably explain better than i do

bright thorn
#

how to get server link by server id ?

sick agate
#

You cant

wintry ice
#

hii i want the image that my pokemon sends in width=500&height=301 but it sends on width=375&height=375 how can i make it to 500 widtg and 301 height
even i mentioned this on my code
.setAuthor("A Wild Pokémon has appeared")
.setDescription(Guess the pokémon and type ${guild.prefix}catch to catch it!)
.attachFiles([{ name: "new.png", attachment: canvas.toBuffer() }])
.setImage("attachment://"+ "new.png?width=500&height=301")
.setColor(color)

quiet pawn
#
// When the webhook receives a vote
dbl.webhook.on('vote', async vote => {
   // This will log the whole vote object to the console
   console.log(vote)
   // Get the Discord ID of the user who voted
   const userID = vote.user;

   const votedfor = `<@${vote.bot}>` || `oh 2.0`;
   const type = `bot` || `servers` ;
   const id = vote.bot || vote.guild ;

        const embed = new Discord.MessageEmbed()
            .setColor('#FFE082')
            .setTitle('New UpVote')
            .setDescription( `<@${userID}> Just Voted For ${votedfor}`)
            .addField(`Website`, `[Top.gg](https://top.gg/${type}/${id}/vote)`)


   // If the channel to send messages in exists, we send a message in it with the ID of the user who votes
   if(channelForWebhooks) await channelForWebhooks.send(embed);
})
#

i cant figure out

earnest phoenix
#

one sec

#

gotta handle erwin first

#

and i promise i'm not googling

quiet pawn
#

how when its a bot it changes type to bot and when its aserver id it puts servers in type

quiet pawn
#

i tried google already

earnest phoenix
#

proof and done

quiet pawn
#

lel

#

all good dw

earnest phoenix
#

i haven't read the voting documentation yet for dbl

quiet pawn
earnest phoenix
#

so i'm gonna go off of what i think

quiet pawn
#

thats jsut replys

quiet pawn
#

it just says dbl

opal plank
#

also catch your promises

quiet pawn
#

ill send the full code

#

and take out ip

opal plank
#

anyway, good luck yeb

earnest phoenix
#

o

quiet pawn
#
let channelForWebhooks;

// Get the top.gg API token from the config file
const { topgg } = require('./config.json');

// Make sure to install this with 'npm install dblapi.js`
const DBL = require('dblapi.js');
// The webhookPort can be whatever you want but make sure you open that port in the firewall settings (for linux for example you can use `sudo ufw allow 8000`)
// The webhookAuth is set by you, make sure you keep it secure and don\'t leak it
const dbl = new DBL(topgg, { webhookPort: 8000, webhookAuth: 'penis' });

// When the webhook is ready log it to the console, this will log `Webhook up and running at http://0.0.0.0:8000/dblwebhook`
dbl.webhook.on('ready', hook => {
   console.log(`Webhook up and running at http://${hook.hostname}:${hook.port}${hook.path}`);
});

// This will just log errors if there are any
dbl.on('error', e => {
   console.log(`Oops! ${e}`);
})

// When the webhook receives a vote
dbl.webhook.on('vote', async vote => {
   // This will log the whole vote object to the console
   console.log(vote)
   // Get the Discord ID of the user who voted
   const userID = vote.user;

   const votedfor = `<@${vote.bot}>` || `oh 2.0`;
   const type = `bot` || `servers` ;
   const id = vote.bot || vote.guild ;

        const embed = new Discord.MessageEmbed()
            .setColor('#FFE082')
            .setTitle('New UpVote')
            .setDescription( `<@${userID}> Just Voted For ${votedfor}`)
            .addField(`Website`, `[Top.gg](https://top.gg/${type}/${id}/vote)`)


   // If the channel to send messages in exists, we send a message in it with the ID of the user who votes
   if(channelForWebhooks) await channelForWebhooks.send(embed);
})

// END OF IMPORTANT PART


// When the bot is ready...
client.once('ready', async ()=> {
   console.log('Webhook Bot Tester launched!');

   // Get the Discord Channel were we will send the message whenever a user votes for the bot
   // Replace channelID with a valid Discord Channel ID were your bot can send messages too
   channelForWebhooks = await client.channels.resolve('816905273322766369');
});
#

there

earnest phoenix
#

i can't read this code, lmao

quiet pawn
#

lol

earnest phoenix
#

so many comments

quiet pawn
#

sorry im bad

opal plank
quiet pawn
#

?

opal plank
#

who wrote that

#

oh you have it above

#

still tho wtf

quiet pawn
earnest phoenix
#

lul

quiet pawn
#

git

opal plank
#

@opaque seal yo wtf

earnest phoenix
#

ggez git clone

quiet pawn
#

well i took waht i needed

opal plank
#

put that shit inside the event scope with a getter from the cache

quiet pawn
#

is it possible to check if its server or bot

#

to replace for type

#

because the way topgg links are

opaque seal
#

Wut

opal plank
#
listener.on('vote', async (vote) => {
  let channel = <client>.channels.cache.get('id');
  let _type = vote.guild ? `server` :  `bot`;
  //rest of ur shit
})```
#

good luck

earnest phoenix
#

oooh

#

tenary operator

opal plank
# opaque seal Wut
client.once('ready', async ()=> {
   console.log('Webhook Bot Tester launched!');

   // Get the Discord Channel were we will send the message whenever a user votes for the bot
   // Replace channelID with a valid Discord Channel ID were your bot can send messages too
   channelForWebhooks = await client.channels.resolve('816905273322766369');
});``` this is retarded
earnest phoenix
opal plank
#

anwyay, gotta get back to coding

quiet pawn
#

lol

opal plank
#

just add a fetch there if channel isnt cached

#

idk what your caching options are

opal plank
#

or use webhooks if u dont have a <client:

#

anyway, bye

opaque seal
#

so can't blame me for that

earnest phoenix
#

but

opal plank
#

then take it off if you arent going to maintain it

earnest phoenix
#

that means you're a bad dev

opal plank
#

or archive it

earnest phoenix
#

for not updating your repo regularly

opal plank
#

i can blame anyone for shit code

tawny spindle
opal plank
#

fix it

opaque seal
#

dude I didn't even remember of that shit

quiet pawn
#

there was like over 30 videos/forms that sent me to @opaque seal thing

opaque seal
#

seriously

#

lmaooo

quiet pawn
#

yea

bitter bramble
#

When i add my bot to a server it does not get a role in its name anymore like before. Why is this happening?

quiet pawn
#

everything poitns to you

#

no idea why

opaque seal
#

cause my code so good

quiet pawn
#

lol

opaque seal
#

my spaghetti code unbeatable

earnest phoenix
quiet pawn
#

lmao

opaque seal
earnest phoenix
#

you sure

opaque seal
#

yep

earnest phoenix
#

it's really easy

opal plank
#

ugh gotta rewrite all that

earnest phoenix
#
4.forEach(m => {
  m: !String = 1,
  console.log(m:1);
});
#

see

#

it's easy to read

earnest phoenix
opal plank
#

too lazy to do 10 minutes

#

i lose a nanosecond there

opaque seal
#

Better now @opal plank?

opal plank
#

i can check later

#

coding rn

#

and its quite important

glass fox
#

oof

opaque seal
hidden coral
opaque seal
#

Why did you need to say that then lol

hidden coral
#

Why are you bieng rude?

#

I wanted to say what is hr problem

lavish tundra
#

Hello, is there anyone here for hire and is good at programming in TypeScript? My bot developer suddenly fell off the face of the earth and now I'm just left with not even full developed bot. I do have the source code and I'm willing to pay. I just don't trust people on Fiverr so what not a better place where all bot developers come and advertise their bots!

opaque seal
bold granite
#

yo

lavish tundra
# opaque seal Does it need to be typescript?

Well no, it can be fully be re-written if that will be easier. But even though the bot is still being hosted and don't know how even though he hasn't been on for 2 months is there a way to unhost it or host it ourselves?

opaque seal
#

Just changing the bot token yes

lavish tundra
opaque seal
#

Depends on the pay

#

DMs?

lavish tundra
#

yeah I'll most likely do that

earnest phoenix
lavish tundra
#

Ah I see okay I apologize I tried reading everything on the rules but If I missed something I apologize ahead of time.

earnest phoenix
#

You're good, I don't think there's a specific rule but sales of development services aren't encouraged in here, probably just to ensure no one has any problems as there are a lot of things that can go wrong

inner fulcrum
#

guys i havent tested the buttons on discord (so am i weird or dum)

hidden coral
hidden coral
#

I am anice bot develiper

#

My bot has a lot of cmds

lavish tundra
pale vessel
#

Lots of commands =/= good developer

opal plank
#

in all honesty, a bot developer website filled with less than average devs is prob the WORST place to find a ts dev btw

hidden coral
opal plank
#

me feud and a dozen others are the only ones that uses typescript btw

hidden coral
#

I am a js dev

restive furnace
#

I am a dev

opal plank
#

and this is likely a bad idea, you'll likely be hiring devs with less than 4 months of experience in js

#

average at best

lavish tundra
opal plank
#

Ts is undeniably necessary if you writing big codebases

#

which is why theres so few people here that use it

#

most bots are too simple

#

so ts doesnt provide much help that it would otherwise

lavish tundra
#

Makes sense yeah the bot I wanted is a bit unique maybe that's why he was using TS

opal plank
#

mind giving a quick thing of whats it about?

lavish tundra
#

Uh yeah one sec I'll DM you one sec

earnest phoenix
opal plank
earnest phoenix
#

No

opal plank
#

or trial?