#hata veriyo

1 messages · Page 1 of 1 (latest)

restive venture
idle matrix
#

Modül hatası aliorsuj

#

Bi modulu silmişsin sanirim

sonic ledge
#

npm i discord.js

idle matrix
#

Düzelir aynen

restive venture
#

Bunumu

#

Yapiyim

#

@sonic ledge

#

npm i discord.js

sonic ledge
#

evet

restive venture
#

Şimdi bu hatayi veriyor

#

@sonic ledge

#

@idle matrix

idle matrix
#

Modül hatası verior

#

Npm init y

#

Npm i

#

Yaz

#

Düzelir tahminimce

restive venture
#

Tmdir

#

@idle matrix yine ayni

idle matrix
#

Bir komutu tanimlamamissij

restive venture
idle matrix
#

Bir komutun id yazmamissin

#

Oylw anladim ben

restive venture
idle matrix
#

Kontrol et

restive venture
#

Etim

#

Yine ayni hata

#

@idle matrix

idle matrix
#

Bilmiorum

restive venture
#

@pseudo pollen

pseudo pollen
#

etiket

#

atma

#

kanka

#

bakanlar bakar

restive venture
#

Baksan

#

Olmazmi

#

Kanka

pseudo pollen
#

hatayi

#

oku

restive venture
#

Okudum

pseudo pollen
#

ne

#

yazio

stuck mason
#

@restive venture npm i discord.js

restive venture
#

Yine ayni

#

Hata

restive venture
spark steeple
#

Hesap oluştur komutundan sonraki komut

#

Hangisi

stuck mason
#

dosya bulamıyo sanırım

#

package dan başlattığın yer

#

doğru yermi kontrol et

#

biyerede file hatası yapmış olabilirsn belki

ornate root
#

@restive venture

#

panelde statup kısmı olucak

#

veya settings kısmında

#

oradaki node.js sürümüne baksana bi

restive venture
#

@ornate root

ornate root
restive venture
spark steeple
#

@restive venture

restive venture
#

@spark steeple

restive venture
#

Npm start yaptim böyle hata verdi

#

Bide

#

@idle matrix

spark steeple
#

Banner.js

restive venture
#

const Discord = require('discord.js');
const { MessageEmbed } = require("discord.js");
const axios = require('axios');
const fetch = require('node-fetch')

module.exports = {
conf: {
aliases: ["banner"],
name: "banner",
help: "banner"
},

run: async (client, message, args, embed, prefix) => {

      const user = args.length > 0 ? message.mentions.users.first() || await client.users.fetch(args[0]) || message.author : message.author
   let uid = user.id // let uid = message.mentions.users.first() || client.users.cache.get(args[0]) || message.author; = x !
    let response = fetch(`https://discord.com/api/v8/users/${uid}`, {
        method: 'GET',
        headers: {
            Authorization: `Bot ${client.token}`
        }
    })
    
    let receive = ''
    let banner = `${user.tag} Bannera sahip değil.`
    
    response.then(a => {
    if(a.status !== 404) {
    a.json().then(data => {
    receive = data['banner']
    
    if(receive !== null) {
    
    let response2 = fetch(`https://cdn.discordapp.com/banners/${uid}/${receive}.gif`, {
        method: 'GET',
        headers: {
            Authorization: `Bot ${client.token}`
        }
    })
    let statut = ''
    response2.then(b => {
    statut = b.status
    
    banner = `${user.tag} https://cdn.discordapp.com/banners/${uid}/${receive}.gif?size=1024`
    if(statut === 415) {
    banner = `${user.tag} https://cdn.discordapp.com/banners/${uid}/${receive}.png?size=1024`
    }
    
    })
    }})}})
    
    setTimeout(() => {
    message.channel.send(banner)
    }, 1000)
    
    },

};

#

@pseudo pollen sen bakabilirmisin

pseudo pollen
#

etiketleme diyom inadina

#

etiketliyon

#

bakmicam

#

sirf

#

etiketledigin icin

restive venture
pseudo pollen
#

bakmicam zaten

restive venture
spark steeple
#

@restive venture banner komudunu başka yerdenmialdin

restive venture
#

Bunu yaptim

#

Şimdi bu hata verdi

#

@spark steeple

restive venture
#

@ornate root

ornate root
#

@restive venture knk bu replit mi

restive venture
hot moon
#

v12ymiş hiç uğraşma kanka @restive venture

restive venture
restive venture
ornate root
#

çözülse çözülür ama uğraşmam lazım

#

vaktimde yok hiç onun için

#

şuradaki node sürümü çok eski

#

12.x yerine

#

18.17.x yaz

restive venture
#

Yine ayni

ornate root
#

dahada bişi gelmio aklıma

restive venture
#

Hata

#

Nedense olmuyi

#

Ala alah

hot moon
#

tekrar npm i çek

stuck mason
#

@restive venture

#

node-fetch o şekilde kullanılmıyo