#development

1 messages · Page 588 of 1

slender thistle
#

I literally just said "Do your stuff under that context manager and open the file in r+ mode"

#

Which also included "Open the file only once"

eager rivet
#

yeah but you told me to do json.load

slender thistle
#

I never did?

eager rivet
#

json.loads

slender thistle
#

Huh, actually nvm

#

loads is for strings

eager rivet
#

mhm

eager rivet
#
@client.command(pass_context=True)
async def poll(self, *, polldata):


        options = {"✅": "Yes",
                   "❌": "No" }

        vote = discord.Embed(title="Poll:", description="{}".format(polldata), color=discord.Colour.gold())
        value = "\n".join("- {} {}".format(*item) for item in options.items())
        vote.add_field(name="Vote now!", value=value, inline=True)
        await client.say(embed=vote)
        await client.add_reaction(react_message, emoji='✅')
        await client.add_reaction(react_message, emoji='❌')```
how do i make it so the bot reacts to its own message like this but it wont react withor
pallid zinc
#

@eager rivet which bot it is

eager rivet
#

not in this server

#

@pallid zinc

pallid zinc
#

It a hq bot

#

Or a voting bot

#

@eager rivet

eager rivet
#

neither

pallid zinc
#

So what

#

Poll bot

eager rivet
#

i said neither

#

so none of thwm

#

...

pallid zinc
#

tell what the problem

#

@eager rivet

slender thistle
#

What you said doesn't make much sense

eager rivet
#

mhm

slender thistle
#

I'm talking about you

#

Bot reacting to its message in what way?

eager rivet
#

as in

#

if it just sent an embed

#

its reacts to itself

slender thistle
#

@eager rivet react_message is not defined

muted slate
#

Bhai mujhe koi bot banane batayega

slender thistle
#

What is that supposed to be

pallid zinc
slender thistle
#

Install Git?

pallid zinc
#

thanks

muted slate
#

Koi bataye ga bhi

pallid zinc
#

kya

#

bhai all are not indian

muted slate
#

Bot banane bataoge

#

Answer bot

pallid zinc
#

hq answer bot

muted slate
#

Indin or internasnal bot mere server me add kar doge

pallid zinc
#

which bot

#

like mod mail

bright spear
muted slate
#

Wwf bot

#

@pallid zinc Wwf answer bot

#

@pallid zinc Onnership du aap ko

bright spear
#

and no need to mention them twice

pallid zinc
#

@bright spear bot development only

#

he is chating in hindi

mossy vine
#

which is why you shuold move to offtopic

bright spear
#

also are they even talking about development

#

i dont see any code 🤔

muted slate
#

Bhai aap logo ko answer bot banane aata hi

pallid zinc
#

he is asking about answer bot in hindi

mossy vine
#

so its not about development

eager rivet
#

=/

pallid zinc
#

ok i am going

minor kelp
#

How would i make my bot send a message if you use a command and you are not the owner?

mossy vine
#

check for message author id

minor kelp
#

My bot throws a "no such attribute" when trying to kick

#

how to fix

slender thistle
#

Would be helpful to see your code, your command usage and the error itself

arctic mountain
#

yay my bot got approved

modest sorrel
#

cool

rugged linden
#

good job!

hollow pagoda
#

how do you all create bots?

sinful lotus
amber fractal
#

Too fast for me

hollow pagoda
#

k

#

the

#

but i rather use bots than make them

amber fractal
#

Then why ask how to make

rugged linden
#

hmmm

quartz kindle
#

With the power of progaming

pallid zinc
#

How would I make my bot so it edit the message if I wrote anything

#

If it's written 0

#

And I write 1

#

It becomes 10

quartz kindle
#

Its not that simple

pallid zinc
#

I also now

#

That's why I am asking

quartz kindle
#

But assuming youre using discord.js you can use channel.awaitMessages and then use message.edit

#

Look them up in the docs

pallid zinc
#

Ok

#

And after if I write 1 again it become 20

zealous veldt
#

Implement ten to a stored variable every time

pallid zinc
#

Ok

#

Ley me try

delicate kettle
#

hey

#

if(!message.author.id == „Id1" || „Id2") return message.channel.send(„No Perms“);

#

this code do not work

#

can anyone help me to fix?

pallid zinc
#

===

delicate kettle
#

ok

#

@pallid zinc its not working

pallid zinc
#

What

#

I am not tell ans Lmao

delicate kettle
#

if(!message.author.id === „Id1" || „Id2") return message.channel.send(„No Perms“);

#

ohh

#

sry

pallid zinc
#

It's ok

quartz kindle
#

@delicate kettle you cant use that kind of quotation marks

delicate kettle
#

it works now

quartz kindle
#

It has to be either " " or ' ' or ` `

delicate kettle
#

thx trying for helping me

slender thistle
#

Is that or even valid

quartz kindle
#

Nope

#

But the quotes are a bigger problem lul

amber fractal
#

Also the ! In the user id

#

There's a lot wrong with that

vernal basin
#

So right after I check for a message having a prefix ( ! ) I had it log something to console and send a message. It sometimes sends the message and logs the message but otherwise it doesn't. Is this an internet connectivity issue?

node.js

marble needle
#

did you mean to write "sometimes" instead of "otherwise"?

vernal basin
#

yeah?

#

doesn't really change the content of the message

marble needle
#

your otherwise could be interpreted as it responding when a prefix is present but not doing anything when it's not (which should be perfectly normal behaviour)

vernal basin
#

hmmm

#

true

earnest phoenix
#

hello

vernal basin
#

hi

earnest phoenix
#

please help me

marble needle
#

mind posting the respective code snippet? your connection would have to be as bad as it gets without having the bot time out if it simply ignores half of its requests

earnest phoenix
#

I want only the id to give can establish the command

pallid zinc
#

What to help

earnest phoenix
#

how to do ?

#

I want only the id to give can establish the command

marble needle
#

so you want to restrict access to a command by user id?

earnest phoenix
#

yes

marble needle
#

which library are you using?

earnest phoenix
#

Node.js

marble needle
#

node.js is a run-time environment for javascript

mossy vine
#

thats not a library

marble needle
#

thats not your library

#

since you work with node.js you're probably using discord.js or eris, which one is it

vernal basin
#
if (!message.content.startsWith(prefix)) return;
    const args = message.content.slice(prefix.length).trim().split(/ +/g);
    const command = args.shift().toLowerCase();
    console.log(`${command} ${args[0]}`);
    var wwmemes = ["1", "2", "3"]
    var memes = ["1", "2", "3"]
    message.channel.send("Inner meme activated")

discord.js

So I've sent message like !reeee, but that only logs to console and doesn't send the message. I got it to send once but that's all, not sure what's going on.

#

Probably something with arrays since I'm not too familiar with js

mossy vine
#

and whats your prefix?

marble needle
#

given that his message was !reeee and he got a console log it's probably gonna be !

#

else it should've returned

vernal basin
#

Yes, prefix is !

golden ice
#

is it possible to restart a bot with no downtime

#

like, can you slowly restart shards and move servers on a stopped shard to another shard or something

unreal rampart
#

this return with ctx is a required argument that is missing, when i run it

surreal peak
#

@golden ice just run a second instance of the bot

#

update the old one

#

stop the second instance

unique nimbus
#

@unreal rampart try self, ctx, url

high lava
#

pass_context=True

unique nimbus
fiery quest
#
Unclosed connection
client_connection: Connection<('discordbots.org', 443, True)>
Unclosed response
client_response: <ClientResponse(https://discordbots.org/api/bots/547546531666984961/stats) [200 OK]>
<CIMultiDictProxy('Date': 'Fri, 15 Mar 2019 17:27:21 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '2', 'Connection': 'keep-alive', 'Set-Cookie': '__cfduid=d8ec1fc5f59f0131555bda013bc20ca4f1552670841; expires=Sat, 14-Mar-20 17:27:21 GMT; path=/; domain=.discordbots.org; HttpOnly; Secure', 'X-Powered-By': 'Express', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Authorization', 'Etag': 'W/"2-vyGp6PvFo4RvsFtPoIWeCReyIC8"', 'X-Varnish': '1044971606', 'Age': '0', 'Via': '1.1 varnish-v4', 'Accept-Ranges': 'bytes', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'Expect-Ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Server': 'cloudflare', 'Cf-Ray': '4b80329649d94310-MXP')>
#

someone to help me?

#
async def server_task():
    while True:
        payload = {"server_count"  : len(client.servers)}
        async with aiohttp.ClientSession() as aioclient:
            await aioclient.post(url, data = payload, headers = headers)
            await asyncio.sleep(10)

async def on_server_join(server):
    payload = {"server_count"  : len(client.servers)}
    async with aiohttp.ClientSession() as aioclient:
        await aioclient.post(url, data = payload, headers = headers)

async def on_server_remove(server):
    payload = {"server_count"  : len(client.servers)}
    async with aiohttp.ClientSession() as aioclient:
        await aioclient.post(url, data = payload, headers = headers)

@client.event
async def on_ready():
    client.loop.create_task(server_task())
#

this is where error comes from

hushed berry
#

@golden ice guilds can't be moved between shards -- each guild id is assigned to a guild through unchanging math

slim heart
#

Hey, just curious if it’s possible to make this a bit smaller:

function dbHandler(REQ) {
   return function(result) {
      if(result.replaced < 1) REQ.res.json({error: "db_handler"})
      //more but I’m not gonna extend it
   }
}```
The basic premise is that I make a new instance of that function so that req is different every time (because it changes through requests (obviously)) and then just to have one easy function to throw into the .then and it can just handle the response instead of having to write it out multiple times throughout my different endpoints etc. I’m willing to bet there’s a better way of doing this but that was just my logic, so I was curious if anyone knew if there was and what would it be?
dull bobcat
#

how i define let like let let = let or what someone halp pls Kappa

earnest phoenix
#

Normally let let const let = let 4

dull bobcat
#

ooohhhh

#

now says let is undefaind halp

#

how do defain?

earnest phoenix
#

I was joking just do let blah = 4

#

Let vary = "ggg"

#

Etc

dull bobcat
#

i was joking too....

junior summit
#

i am pullinng my hair out

#

lol i cant find out why my connect command doesnt work

dull bobcat
#

connect, to what?

junior summit
#

to voice channel

dull bobcat
#

so?

#

whats the problem 😂

#

error?

junior summit
#
    at Client.<anonymous> (C:\Users\chill\Desktop\chill\discord-bot\bot.js:390:35)
    at Client.emit (events.js:189:13)
    at MessageCreateHandler.handle (C:\Users\chill\Desktop\chill\discord-bot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
    at WebSocketPacketManager.handle (C:\Users\chill\Desktop\chill\discord-bot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65)
    at WebSocketConnection.onPacket (C:\Users\chill\Desktop\chill\discord-bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
    at WebSocketConnection.onMessage (C:\Users\chill\Desktop\chill\discord-bot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
    at WebSocket.onMessage (C:\Users\chill\Desktop\chill\discord-bot\node_modules\ws\lib\event-target.js:120:16)
    at WebSocket.emit (events.js:189:13)
    at Receiver._receiver.onmessage (C:\Users\chill\Desktop\chill\discord-bot\node_modules\ws\lib\websocket.js:137:47)
    at Receiver.dataMessage (C:\Users\chill\Desktop\chill\discord-bot\node_modules\ws\lib\receiver.js:409:14)
(node:3920) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:3920) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
valid frigate
#

smh

tulip bobcat
#

that's not a valid token tho

dull bobcat
#

it isnt?

tulip bobcat
#

hold up

dull bobcat
#

how to run

#

bro im messing around

mossy vine
dull bobcat
#

xD ok

slim heart
#

@junior summit actually send the code please

junior summit
#

why

zealous veldt
#

wew setting up a database on aws, neat

junior summit
#

epic

slim heart
#

@junior summit because how am i supposed to tell you what's wrong if i dont know what's wrong WaitWhat

#

just send the code around and of the line making the error

junior summit
#

oh

#

EPIC

#

brb

abstract quarry
#

hm

earnest phoenix
#

anyone know any good weather api's?

eager rivet
#
Ignoring exception in on_message
Traceback (most recent call last):
  File "C:\Users\atill\AppData\Local\Programs\Python\Python36\lib\site-packages\discord\client.py", line 307, in _run_event
    yield from getattr(self, event)(*args, **kwargs)
  File "C:\Users\atill\Downloads\Epic Bot\server.py", line 436, in on_message
    users = json.load(f)
  File "C:\Users\atill\AppData\Local\Programs\Python\Python36\lib\json\__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "C:\Users\atill\AppData\Local\Programs\Python\Python36\lib\json\__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "C:\Users\atill\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\atill\AppData\Local\Programs\Python\Python36\lib\json\decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 8194 (char 8193)```
```py
@client.command(pass_context=True)
@commands.cooldown(1, 86400, BucketType.user)
async def daily(ctx):
    users = json.load(open('currency.json', 'r'))
    users[ctx.message.author.id]['money'] += 1000
    with open ('currency.json', 'w') as f:
        json.dump(users, f)
        await client.say("You recived 100 E-Coins :ECoin:")```
not giving users the money but showing the message 
https://cdn.discordapp.com/attachments/392215236612194305/556234622732599298/unknown.png
earnest phoenix
#

how about not using json as a database because it was never intended for that in the first place

wooden prawn
#

Is anyone else using PHP for their bot?

earnest phoenix
#

i use c--

#

all php libs are dead

wooden prawn
#

Not quite true

#

There was another one but was awful, like genuinely awful

pallid zinc
#

Need help

amber fractal
#

Need information

earnest phoenix
#

lol

pallid zinc
#

Lul

pallid zinc
#

why this is coming

slender thistle
#

Token invalid

pallid zinc
#

Ok

#

But how can it invalid

zealous veldt
#

but can it english

earnest phoenix
#

you gotta cast the spell

#

bottumus validatus

pallid zinc
#

Ok

#

Thanks

#

I am indian
So my english is perfect

#

now this is coming

earnest phoenix
#

have you tried refilling the engine with gas?

pallid zinc
#

mean

#

what you mean @earnest phoenix

languid dragon
#

define msg

#

use your brain

#

its not rocket science

#

read your errors

#

or maybe try learning how to debug your code:
Step 1: Look at the pins in this channel to find documents on learning JavaScript

Step 2: Learn how effective and fast Google can be as a debugging tool just with searching
https://support.google.com/websearch/answer/134479?hl=en

Step 3.a: Learn debugging
https://www.codementor.io/mattgoldspink/how-to-debug-code-efficiently-and-effectively-du107u9jh
Step 3.b: Learn how to effectively debug with stack traces in JavaScript
https://harrymoreno.com/2017/02/25/how-to-read-a-javascript-stack-trace.html

pallid zinc
#

i have already defined

earnest phoenix
#

try defining it a second time

pallid zinc
#

lol

#

see

languid dragon
#

clearly you have not

#

obviously somewhere you've made a mistake

pallid zinc
#

ok

#

lets me see again

#

can cant find any mistake

#

@languid dragon

languid dragon
#

¯_(ツ)_/¯

#

there's a mistake

#

find it

pallid zinc
#

may i dm yop

languid dragon
#

no

oblique gulch
#

line 178 of your code My english is very bad

pallid zinc
#

its only on 247 lines

oblique gulch
#

show the line 178

pallid zinc
#

see

languid dragon
#

msg is not defined

#

remove that

#

its not in the same scope

oblique gulch
#

yes

pallid zinc
#

what

#

my english poor

#

@languid dragon what i have to remove

#

@oblique gulch

#

help

oblique gulch
#

try run the code without msg.reply

pallid zinc
#

ok

#

again same

#

@oblique gulch

oblique gulch
#

how you make this?

#

Send me a print

pallid zinc
#

you need code

oblique gulch
#

yep

pallid zinc
#

dm

oblique gulch
#

ok

spare glen
#
{
  "embed": {
    "color": 6742554,
    "fields": [
      {
        "name": "🤔",
        "value": "%mention%"
      },
      {
        "name": "date",
        "value": "%votedate%"
      }
    ]
  }
}
#

how do i make the %mention% work

#

help

vapid rune
#

is it to mention the user who said it or smth

spare glen
#

its webhook api

vapid rune
#

oh

earnest phoenix
#

you send mentions in the same format like everywhere else

#

<@id>

spare glen
#

what

#

look, im trying to add this values to the embed, but it doesnt work

jagged birch
#

That’s not how you add mentions

bright spear
#

@spare glen are you trying to use DBL vote webhooks?

#

or what

spare glen
#

yes

bright spear
#

that page has nothing to do with dbl webhooks

abstract quarry
#

How do I stop time for 5 seconds in JS

earnest phoenix
#

setTimeout

#

but uhm

#

i dont think you stop time itself

abstract quarry
#

I want to make a loop and it has to wait 5 seconds to do the second thing I say

earnest phoenix
#

setInterval

abstract quarry
#

like
while(True) {

earnest phoenix
#

yeah setInterval

abstract quarry
#

setInterval(5000)?

#

or wha

#

500 miliseconds

earnest phoenix
#

yea na u were right the first time

#

5000

abstract quarry
#

k

#

How do I see in how much server is my bot in?

#

like in message
is it ${guild.memberCount}

earnest phoenix
#

no

#

this is kinda drip feeding but ${message.client.guilds.size} or just client if you have access to it directly

abstract quarry
#

im gonna test it

earnest phoenix
#

this is assuming a lotta stuff btw

abstract quarry
#

it dosent work

#

im gonna send you a screenshoot

earnest phoenix
#

well i mean in that case

#

you dont have a message object

#

you must be new to coding?

mossy vine
#

please learn javascript proprely before making bots, or at least read the libraries docs

abstract quarry
#

way

arctic mountain
#

I know that it's bad to leak my Discord bot token, is it similarly bad to leak a DBL API token too?

earnest phoenix
#

yes

arctic mountain
#

why

mossy vine
#

because it can be abused just as well

earnest phoenix
#

ye

mossy vine
#

just dont leak any tokens

arctic mountain
#

ok let's leak a discord bot token... (not one from a bot for which I wrote any code, just a bot for leaking its token)

earnest phoenix
#

???

mossy vine
#

no

#

dont

arctic mountain
#

To test if a leak bot which destroys servers like in the discord.py server exists here too

earnest phoenix
#

anything thats accessible to only you is considered to be private, secure your private infofmation

mossy vine
#

it can possibly lead your account to suspension if abused

arctic mountain
#

oh

#

let's make a bot using a second acc then for this

earnest phoenix
#

just try not to leak tokens

#

sigh

arctic mountain
#

yup I'm heavily dumb

abstract quarry
#

is it if(err){
message.channel.send("Error")
}

mossy vine
#

that is valid code yes

#

if err is defined

arctic mountain
#

Pringle what kind of bot is ur bot 544007786963402752

bright rampart
#

sa

earnest phoenix
#

})
bot.on('guildMemberAdd', member => {
member.createDM().then(channel => {
return channel.send('Bienvenue sur mon serveur ' + member.displayName)
}).catch(console.error)
// On pourrait catch l'erreur autrement ici (l'utilisateur a peut être désactivé les MP)
})
bot.on('message', message => {

if (message.content.startsWith('!play')) {
// On récupère le premier channel audio du serveur
let voiceChannel = message.guild.channels
.filter(function (channel) { return channel.type === 'voice' })

#

it is true?

slim heart
#

wdym "is it true"

earnest phoenix
#

@slim heart sorry but i am french xd

#

i have a "good english" but not very goof

#

good*

slim heart
#

thats ok, just explain what you're trying to say

#

is there an error?

earnest phoenix
#

no, but is it true, because i created bot for my server @slim heart

slim heart
#

im confused. what do you mean "is it true"

#

like does it work?

earnest phoenix
#

no but my code is correct or no?

#

@slim heart

slim heart
#

well why dont you try it?

earnest phoenix
#

@slim heart i wait my bot

#

my bot is in verification

slim heart
#

ok then wait?

earnest phoenix
#

yes

#

its long

slim heart
#

yes it is.

#

legend says the more you complain about how long it is the longer it takes 👀

earnest phoenix
#

@slim heart its true xd but the verification last 1 hour or 1 day?

slim heart
#

neither

#

longer

minor coral
#

my bot is in verification
@earnest phoenix how about testing it on your server instead of waiting for bot verification and then testing the code

earnest phoenix
#

@minor coral How to test on my server?

slim heart
#

invite it then run it waitwhat

minor coral
#

^^

earnest phoenix
#

@slim heart I cant invite bot when is in verification

#

its not fonctional

slim heart
#

dude

#

thats not how it works lmfao

#

maybe read more into what a bot is before trying to make one please

minor coral
#

Here Under verification means that bot is being tested by mods and will be approved to list it in the dicord bots list

zealous veldt
#

Your bot must be online for us to test it

minor coral
#

You can use bot without verification on your server

zealous veldt
#

🚧 We do not host bots 🚧

earnest phoenix
#

how to invite my bot on my server?

slim heart
#

please read up

earnest phoenix
#

@slim heart No How to add my bot in my server when my bot is in verification

slim heart
#

this is not an official thing

#

its just a list

#

you have to invite it like you'd invite any bot normally

#

go into the application > oauth and you can figure it out from there

minor coral
slim heart
#

mah dont bother

#

they need know what a bot actually is in the first place 👀

minor coral
#

Here replace BOT_CLIENT_ID with your bot client id which you can found in developers dashboard

#

Yeah! I agree

#

He should read official docs of Discord

arctic mountain
#

that invite url is invalid UNKNOWN_ERROR

slim heart
#

idk if thats a joke or not

arctic mountain
#

partially a joke but it's really invalid

slim heart
#

no shit sherlock

ruby dust
#
  1. read the rest of the messages for context
  2. everyone knows it's invalid if they look closely that client_id= doesn't have a valid client id
#

do you even consider yourself a bot dev?

slim heart
#

kek

arctic mountain
#

lol I knew that that url was invalid before I opened it

#

I'm not that dumb

zealous veldt
#

X

ruby dust
#

sigh then no one really asked for that comment

arctic mountain
#

¯_(ツ)_/¯

slim heart
#

smh

arctic mountain
#

true though

minor coral
#

Hey i share that invite link for hoister no hoistimg ans asked him to change it with his bot id

arctic mountain
#

You forgot a placeholder for bot permissions IMO

#

otherwise that bot had none AFAIK

minor coral
#

Not necessary

#

Bot can be invited without that

arctic mountain
#

But will they have all permissions they need?

ruby dust
#

does it matter?

minor coral
#

No he need to manually give bot role or any other role to bot for perms

#

Else the bot will have perms of everyone in his server 😜

arctic mountain
#

Which might possibly be none if he set up a members role for that

minor coral
#

The bot will have members perms😜
Also not all the cmds need admin or manage server role

#

I usually invite bots without perms thing in link so that i can give a one role to bot and manage their perms manually 😂

arctic mountain
#

Yup just see @vale cipher...

#

No admin or moderator commands

minor coral
#

😜

viral spade
#

Hello,
is it allowed / bad practice / user unfriendly to write directmessages on levelup with a level bot, that grants xp based on chatactivity?
If no, is it allowed to default the setting for servers/users, so that it doesnt send, but can be activated?

mossy vine
#

latter and latter

viral spade
#

?

quartz kindle
#

Dms are bad practice

#

Channel messages are fine, many big bots do that, but it can easily get annoying

viral spade
#

Thanks tim.

ashen vector
#

I find my server cleaner using DMs, but some users are blocking DMs so now I need to catch that and use a channel instead...lame

amber fractal
#

you should catch for most things

ashen vector
#

Yes for most things I catch just to console.error

quartz kindle
#

Dm levelup messages are like, reeeeally annoying

#

I would stop using any bot that has them lol

ashen vector
#

I don't have any levelup system. My bot just answer your commands so no spam btw.

earnest phoenix
#

what bot is yours

quartz kindle
#

If the response is supposed to be private, then its fine

ashen vector
#

NewVoc, made to create and manage temporary voice channels

#

It's not really private it server oriented...I'm not a fan of bot spam in general channels but I'll have to use it when the user is blocking DMs

quartz kindle
#

The problem with dms is that the user has to cobstantly switch chats, which is really annoyibg

#

To prevebt bot spam you can put responses on a timer and selfdelete

junior summit
#

i need help it said thrw error connection not made within 15 sec

ashen vector
#

That's a good idea, I'm gonna think about that.

quartz kindle
#

Show error code and which language / library youre using

junior summit
#
  if (!message.member.voiceChannel) return message.channel.send('Please connect to a voice channel.');
  if (message.guild.me.voiceChannelID == message.member.voiceChannelID) return message.channel.send('Sorry, you are already connected to the same channel');
    message.member.voiceChannel.join();
    message.channel.send('Connecting to your Channel. Just a moment......');
  }``` thats my codew
#

i deleted the eror by accident

#

discord.js

ashen vector
#

Could you try to move the user in the same vc as the bot. I think that's what you are trying to do right ?

junior summit
#

yea

ashen vector
#

(message.member.setVoiceChannel(message.guild.me.voiceChannel)) something like that

junior summit
#

i anna do

#

bot joins user

#

not bot o user

#

user to bot*

#

something like this

#

idk

#
      throw er; // Unhandled 'error' event
      ^

Error: Error: Connection not established within 15 seconds.
    at VoiceConnection.authenticateFailed (/Users/user/Documents/NodeJS/MusicBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:257:26)
    at connectTimeout.client.setTimeout (/Users/user/Documents/NodeJS/MusicBot/node_modules/discord.js/src/client/voice/VoiceConnection.js:278:18)
    at Timeout.setTimeout (/Users/user/Documents/NodeJS/MusicBot/node_modules/discord.js/src/client/Client.js:446:7)
    at ontimeout (timers.js:488:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:283:5```
gleaming tulip
#

it literally says the error.

junior summit
#

thats not the specific every i got

#

error

#

its one i looked up on the internet

#

cuz i closerd it

earnest phoenix
#

!help

#

:v

amber fractal
#

Why

#

Why did you think that was a good idea

earnest phoenix
#

;b

#

????

#

!help

#

-help

#

cómo es esto

#

_help

#

!help

#

p!help

amber fractal
#

@fiery birch

fiery birch
#

disturbing my anime like that

amber fractal
#

Do your job mmLol

fiery birch
zenith plaza
#

im trying to make a command where the message author gets a dm from the bot but its not working code: @bot.command() async def sendchlorine(ctx, member): await ctx.send_message(message.author, "test")and the error is: Ignoring exception in command sendchlorine: Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 899, in invoke await ctx.command.invoke(ctx) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 607, in invoke await self.prepare(ctx) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 572, in prepare await self._parse_arguments(ctx) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 490, in _parse_arguments transformed = await self.transform(ctx, param) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 342, in transform raise MissingRequiredArgument(param) discord.ext.commands.errors.MissingRequiredArgument: member is a required argument that is missing.

#

can somebody help

unreal rampart
#

@zenith plaza

#

@spark comet.command()
async def sendchlorine(ctx):
member = ctx.message.author
await ctx.send_message(member, "test")

#

dont remember if you need pass_context=True on rewrite

zenith plaza
#

ill try it

#

you dont need pass_context=True on rewrite

unreal rampart
#

k

#

good to know for when i eventually dont migrate

zenith plaza
#

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

#

oof

unreal rampart
#

ill have to try it on rewrite, but i dont have it installed rn so i cant

zenith plaza
#

oh ok, ill try to find it for the rewrite

unreal rampart
#

@spark comet.command()
async def sendchlorine(ctx, member: discord.User, message)
await member.send(message)

#

@zenith plaza

#

usage,
!sendchlorine @rnd you are mom gay

amber fractal
#

What?

zenith plaza
#

thanks

#

it works now

unreal rampart
#

np

amber fractal
#

Sending messages anonmously gonna get your bot kicked

#

anonymously*

zenith plaza
#

ill make it say who sent it then

amber fractal
#

I just have a question why it's there anyways

earnest phoenix
#

so i want to add a space before the command prefix but it doesnt seem to be working

unreal rampart
#

Can you post a pic?

#

prefix = " -"
client = commands.Bot(command_prefix=prefix)

#

that might help

earnest phoenix
unreal rampart
#

i dont know js sorry

unreal rampart
#

hmm, anyone know why i get this?
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Context' object has no attribute 'id'

amber fractal
zealous veldt
#

You're going to need to include more information about what's happening @unreal rampart such as your code, what causes this, etc.

west raptor
#

is there literally anyway to eval rust code

#

like -eval return "This is evaled code"

unreal rampart
#

i dont even know what i did, it used to work

west raptor
#

what

unreal rampart
#

i use 0.16

west raptor
#

AttributeError: 'Context' object has no attribute 'id'

#

???

#

ok so then

#

where are you doing somthing(.maybesomthing).id

unreal rampart
#

i honestly dont know what you mean

west raptor
#

is this async

unreal rampart
#

yes

west raptor
#

ok i dont know async

#

ive only ever used rewrite

unreal rampart
#

rip

#

api

#

server_voice_state(member, *, mute=None, deafen=None)

#

@zealous veldt

zealous veldt
#

Yes?

unreal rampart
#

i posted the screenshot

zealous veldt
#

I don't know python, I probably can't help mutch

wooden prawn
#

How is everyone doing their command handling? A bunch of IF statements or dedicated command classes / handlers

amber fractal
#

modules

#

.exports

wooden prawn
#

So effectively the latter?

amber fractal
#

yes

wooden prawn
#

Python I presume?

amber fractal
#

no

#

I use js

earnest phoenix
#

reflection and immutable arrays 🙃

wooden prawn
#

Ahhh I'm using PHP, cos I hate myself

earnest phoenix
#

i'm using a proper command handling library for .net

wooden prawn
#

Nice, I was using a function per command, now switching over to a class per command

#

cos abstraction

edgy swan
#

hello, im looking for a way to auto delete bot commands in my server (messages that start with -)

#

is that possible?

lament meteor
#

get the msgs in the chat, filter the msgs that start with the prefix then delete all the msgs

edgy swan
#

what bot can i do this with?

#

im basically trying to auto delete commands sent to Pokecord

ruby dust
#

The best you'd get is if that particular bot provides a function to delete any successful command invitations

#

Invokations

edgy swan
#

i dont think pokecord provides that

ruby dust
#

Ask the devs to add that, maybe you'll get lucky

edgy swan
#

😮

minor coral
#

How about using

message.delete();```
At the end of the command which you want to automatically delete.
#

@earnest phoenix dr. Runk helped you
You just need to edit json file which contain your prefix
"default": " lunar",

earnest phoenix
#

what

minor coral
#

For adding space before your prefix

earnest phoenix
#

adding a space to the prefix before and after doesnt make it work

#

i want it to be

#

lunar help not lunarhelp

minor coral
#

Oh

#

Then

#

command===' help'
Or
In your json file

"deault": "lunar "
}```
#

Or you can make it like
message.contents.include('lunar help')

amber fractal
#

Thats bad practice

earnest phoenix
#

to check if the channel is nsfw would it be

Channel.is_nsfw```
#

it is bad practice

#

i got it guys

earnest phoenix
#

i put @commands.cooldown(5, 10, commands.BucketType.member) but it won't do the cooldown

slender thistle
#

At all?

earnest phoenix
#

nope

#

no matter how many times i spam no cooldown happens

slender thistle
#

Either your didn't restart your bot after saving the file with command, didn't save the file or forgot to reload it if it's in a cog

earnest phoenix
#

i got it

abstract quarry
#

I need to get a server for my bot

#

for FREE

earnest phoenix
#

Lol, you mean an discord server? @abstract quarry

abstract quarry
#

hosting

earnest phoenix
#

So try glitch, heroku!

abstract quarry
#

It didn't work for me

oak moat
#

Then watch tutorials

abstract quarry
#

K

#

I just wanted an approval but it got declined because my bot wad offline

sinful lotus
#

you shouldnt really create a bot without server

#

just saying

eager rivet
#

yeah its hard to test it

mossy vine
#

is it possible to send svg data as an image in an embed image or thumbnail?,

neat falcon
#

try it and see

earnest phoenix
#

Idk

#

You should First create an pictyre

viral surge
#

How do you webhook?

amber fractal
unreal rampart
#

-bots

gilded plankBOT
#
Dr. Runk#0283
Bots

@dawn geode

unreal rampart
#

-play

earnest phoenix
#

@gilded plank help

unreal rampart
#

can i make @dawn geode not respond to this server?

amber fractal
#

yes

#

check if the guild id matches this one

#

if it does, stop it from running

carmine echo
#
class Tile {
  constructor(x, y, type) {
    this.x = x
    this.y = y
    switch (type) {
      case 'grass': this.i = assets.grass; break
      case 'water': this.i = assets.water; break
    }
  }

  update() {
    image(this.i, this.x, this.y, size, size)
  }
}

Inside the update() function, this.i is undefined (obviously). How do I make it work I am new to classes and my head hurts

mossy vine
#

@carmine echo add an i variable to your constructor

midnight oxide
#

anyone got ideas on how to make a dashboard to for a discord.py bot?

carmine echo
#

There are cool frameworks for building websites.

#

react, vue and angluar

#

js

midnight oxide
#

Yeah I got that part solved and ready but the part of how to link both things together is not clear to me

quartz kindle
#

you have 2 options

#

either run the webserver in the same program as your bot, so you can access your data from memory

#

or run a separate webserver, and have all your data in a database that accepts multiple connections

#

so you can access the database from the bot program, and from the webserver

midnight oxide
#

I'll take the second one

#

Thanks 👍

latent willow
#

i got myself a different vps and installed node v11.10.1
and now when i run my bot i get a deprecation warning where i cant find the part and what the new solution will be in the future.
Maybe someone here knows this one:

(node:29388) [DEP0112] DeprecationWarning: Socket.prototype._handle is deprecated

quartz kindle
#

did you reinstall all your bots components/packages?

latent willow
#

ye fresh npm install it is a completely fresh bot

#

dependencies:

  "dependencies": {
    "dblapi.js": "^2.3.0",
    "discord.js": "github:discordjs/discord.js",
    "node-opus": "^0.3.1",
    "node-schedule": "^1.3.2",
    "simple-youtube-api": "^5.1.1",
    "sqlite3": "^4.0.6",
    "ytdl-core": "^0.20.4"
  }
quartz kindle
#

did you reinstall each of them or just ran npm install?

latent willow
#

npm install

quartz kindle
#

try reinstalling each of them separately

latent willow
#

will try it thanks

pallid zinc
#

Tim that edit code not work

quartz kindle
#

?

pallid zinc
#

I ask you

#

Like

#

Option 1 = 10%

#

And if some one wright 1

#

It becomes option 1 =20%

quartz kindle
#

and what did you do?

pallid zinc
#

Message.edit

quartz kindle
#

i mean... show what you did

pallid zinc
#

Ok

latent willow
#

the node-opus install gets me alot of warnings and some errors?
but no vulnerability

quartz kindle
#

those warnings are normal, its about optional dependencies

latent willow
#

oh sry i meant the stuff above the npm warnings is that normal aswell ?

quartz kindle
#

ah yes, those are build warnings

latent willow
#

oh alright didnt knew that thx ill continue 👍

pallid zinc
#

message.channel.send("Hello").then((newMessage) => {newMessage.edit("Edited!");});

#

Something like this

latent willow
#

after reinstalling every package by itself i still get the deprecation warning

quartz kindle
#

then idk, maybe one of those packages didnt get updated for node 11.10

#

@pallid zinc that should work. i cant test now to confirm

latent willow
#

alright i guess i ignore it then or downgrade node thank you

pallid zinc
#

It's working

quartz kindle
#

should be safe to ignore for now

pallid zinc
#

But what if I want it to edit with 1

quartz kindle
#

put 1 instead of edited?

pallid zinc
#

No

#

Like if I write 1

#

Hello become hi

#

Sorry for perfect english

quartz kindle
#

if you want to wait for a message, you can use channel.awaitMessages or channel.createMessageCollector

pallid zinc
#

Can you give example plz

quartz kindle
pallid zinc
#

Thanks buddy

quartz kindle
#

?

#

no

spare glen
#

hi fax tax

zealous veldt
#

Hi tax fax

spare glen
#

so

#

tell me

zealous veldt
#

What files are you trying to ignore, @spare glen ?

spare glen
#

its a couple of json files, where i have users money and etc, i wanna ignore them, so the users dont get different coins etc

zealous veldt
#

ok

#

What is the path to these files? Are they all in a folder?

spare glen
#

they are where index.js is

#

the same folder

zealous veldt
#

Ok, what are their names?

spare glen
#

these

zealous veldt
#

ok

spare glen
#

the ones with the underline

zealous veldt
#

You already have a .gitignore, great

spare glen
#

ye

zealous veldt
#

add the following lines to it

spare glen
#

for node_modules

zealous veldt
#
comp.json
leveling.json
premium.json
welcome.json
spare glen
#

not / at the end?

zealous veldt
#

no

spare glen
#

like this

zealous veldt
#

Having / at the end is only for excluding an entire directory

#

Should work

#

now

amber fractal
spare glen
#

but what i have shhould work right?

zealous veldt
#

oh

#

Add the pets.json to your gitignore too

near aurora
#

@amber fractal use a .md file...

amber fractal
#

You think that was my image?

spare glen
#

k

near aurora
#

Idk

zealous veldt
#

Now in your console, do ```
git add .gitignore
git commit -m "Ignored comp, leveling, pet, premium and welcome JSON files"

amber fractal
#

I dont use any code editor like that

zealous veldt
#

Your commit message can be different

near aurora
#

you can just git add .

#

or git commit -am

zealous veldt
#

It's better practice to not commit the git ignore and other things at once

near aurora
#

Tarpergon its better than notepad 😬

spare glen
#

now its not gonna push these files right

near aurora
#

You have to delete them first

spare glen
#

so in my glitch project the files there wont be changed

near aurora
#

No they will

spare glen
#

delete what

#

wtf

amber fractal
#

I wouldnt know, I do all my coding in text

near aurora
#

Delete all of those files, push then you remake them

#

.gitignore isnt recursive

spare glen
#

so i delete them, push, then remake them

near aurora
#

I think thats right

spare glen
#

im confision

#

fax

near aurora
#

@zealous veldt can confirm

spare glen
#

help

zealous veldt
#
git rm comp.json pet.json leveling.json premium.json welcome.jsom``` Should work iinm
earnest phoenix
#

You use glitch?

spare glen
#

yeah

near aurora
#

oh I never knew that was a command

earnest phoenix
#

You have console

spare glen
#

wdym

#

nice n

near aurora
#

@zealous veldt do you know if theres a way to unlink forks

#

hes tryna help u... dont get all nit picky

#

Especially if you know the "fix" yourself

spare glen
#

git rm comp.json pet.json leveling.json premium.json welcome.json
Do i do this in my vs code console. Then done

zealous veldt
#

yeah

near aurora
#

what

zealous veldt
#

Well

near aurora
#

do it in terminal

zealous veldt
#

Commit after you do that

near aurora
#

or cmd

#

dont use vs console

spare glen
#

fax ^^?

near aurora
#

Lol

#

That was a reccomendation

zealous veldt
near aurora
#

it will work in vs console

spare glen
#

but

near aurora
#

but theres no reason to make everything more complicated for no gains

zealous veldt
#

@near aurora It does not matter what terminal emulator he does it in

near aurora
#

well it does

#

Because pycharm terminal will install packages into a venv

zealous veldt
#

What console he uses has no effect on this situation, you're making it more confusing

near aurora
#

fair

spare glen
#

^^

#

git rm comp.json pet.json leveling.json premium.json welcome.json
doesn't rm delete the files

#

rm = remove

near aurora
#

No it doesnt

#

it removes them from git

#

now git commit -am "Idk something"

#

then push

#

git = git

spare glen
#

ok look, dont write

#

look

near aurora
#

look what?

#

Im tryna help u

spare glen
#

wait

#

wait

#

ik

#

wait

#

this is my.gitignore

near aurora
#

yes

spare glen
#

now, i do what

near aurora
#

did you git rm?

spare glen
#

no

#

then

#

git rm comp.json pet.json leveling.json premium.json welcome.json

near aurora
#

yes

#

That will remove the files from git

spare glen
#

then git add .

near aurora
#

so they are no longer tracked and traced

#

then git commit -am

spare glen
#

then git commit -m "hi"

near aurora
#

git add . is useless

#

Sure

#

that works

spare glen
#

then git push origin master

#

then done

near aurora
#

yes

#

That should all work

#

then check your online repo to see if the files are there

spare glen
#

ok, so if i wanted to, how do i get em back

near aurora
#

you un-gitignore them

#

then commit and push

spare glen
#

so git un-rm comp.json pet.json leveling.json premium.json welcome.json

near aurora
#

no

spare glen
#

lol

near aurora
#

just remove them from the gitignore

#

rm -f .gitignore

#

^ will delete the whole gitignore lol

spare glen
#

wtf

#

rm -f comp.json pet.json leveling.json premium.json welcome.json

#

^^^^^?

near aurora
#

noooooooooooooooooooooooooooooooooooooo

#

that deletes the files

#

bro are you trolling me now?

spare glen
#

no

near aurora
#

ok

#

did you solve your problem?

spare glen
#

so i have to delete the .gitignore

#

if i want the specified files back

near aurora
#

No

#

you can just edit the gitignore and remove their names

spare glen
#

ok, but will the files be back in the project

near aurora
#

if you commit and push

spare glen
#

back here

near aurora
#

theyre always there

spare glen
#

oh ok

near aurora
#

they never get removed from your computer

#

They only get removed and ignored on remote

#

thats what git rm and .gitignore do

unreal rampart
#

Anyone know how my bot can create new roles?

#

this doesnt seem to work

spare glen
#

so this is it?

zealous veldt
#

@unreal rampart You have already asked your question. Don't repost it

near aurora
#

is this rewrite or async @unreal rampart

unreal rampart
#

@near aurora async

meager sparrow
#

Can I ask?

near aurora
#

uh then Im pretty sure youre using python3.7

spare glen
#

@near aurora ?

near aurora
#

What?

spare glen
#

above

#

the pic above

near aurora
#

NO

spare glen
#

NO what

near aurora
#

DONT DELETE THE GITIGNORE

unreal rampart
#

it creates the role, but without the permissions

meager sparrow
#

Why is Bloxlink down on every discords?

unreal rampart
#

@near aurora

near aurora
#

Oml

#

just change it to

spare glen
#

like this then?

near aurora
#

Yes that will work but theres a better way

meager sparrow
#

Why is bloxlink down?

spare glen
#

what better way

near aurora
#

@unreal rampart just edit the perms one at a time idk

#

Well

#

WTF

#

just join the python discord server the invite is just python

#

@spare glen if, when youre commiting you type -a (so it would be - a -m or -am) you automatically add all the files

#

also you dont need to git push origin master

spare glen
#

wdym -a

near aurora
#

you can just type git push (I think)

fiery birch
#

@meager sparrow ask their support server, also #general

spare glen
#

wdym -a (-a -m -am)

near aurora
#

so like you know how you add -m to make a commit message or when you rm you can type -R to recursive delete directories or -f to force delete

#

its the same thing, you can add -a to the end to make a commit message

spare glen
#

but does what i showed u in the pic work, if it does then thats all

near aurora
#

yes it works

spare glen
#

ok, lemme try then

near aurora
#

but if you can optimize work flow, why not do it

spare glen
#

@near aurora ????????

near aurora
#

Well

#

what do you want to do

spare glen
#

i told

#

i wanna ignore them

#

to not push them

near aurora
#

ok, so it sounds like you want to force removal?

spare glen
#

but wouldnt that remove the 2 files

near aurora
#

isnt that what you want to do?

spare glen
#

i wanna ignore them, not delete them

near aurora
#

okay then edit your .gitignore

spare glen
#

to what

#

this is my ingore file

near aurora
#

to add whatever files you want to ignore

spare glen
#

yeah

near aurora
#

ok so it looks like those files are already ignored

spare glen
#

how

#

wdum

#

i just added them to the .gitignore file

near aurora
#

Yes and that makes them ignored

spare glen
#

so what do i do now

#

just push?

near aurora
#

idk, what do you want to do

spare glen
#

omg

#

what do u not understand

near aurora
#

no

#

you need to ask better questions

#

I cant give you the answer, cuz youll just forget right away

#

In fact, you do want to remove the files

spare glen
#

i wanna ignore the files, and when i push, those files doesnt push with it

near aurora
#

Ok then thats what you got

spare glen
#

so i just push

near aurora
#

but you also want to remove the files from git dont you?

spare glen
#

why

#

idk

near aurora
#

idk, I thought thats what u wanted

elfin vale
#

make sure the files aren't in the source control and then push yes

spare glen
#

u said they are ignored so there is nothing else to do

#

@elfin vale wdym

near aurora
#

@elfin vale (they are)

#

he / she means u have to remove them from git

spare glen
#

so

near aurora
#

so scroll up, we already gave you the command

spare glen
#

this?

near aurora
#

no

spare glen
#

but

#

omg

near aurora
#

Well its in there

spare glen
#

confusion

near aurora
#

But not that directly

spare glen
#

the 2 one

#

rm

near aurora
#

Bro, we already told you how to git remove files

#

and then you came back with an error and told me you didnt want to remove them

spare glen
#

@zealous veldt i need u

near aurora
#

lol no

#

You need to think

elfin vale
#

i'm a she and yes that is how you remove them, with git rm

spare glen
#

git rm comp.json pet.json leveling.json premium.json welcome.json

elfin vale
#

if you're really having that much trouble you could just delete them through the site too i guess

near aurora
#

yes but it will error...

#

Lol thats what I did I didnt know rm was a thing

spare glen
#

this error

near aurora
#

yessssss

#

Now

#

You told me you wanted to remove them

#

so you would want to force removal

elfin vale
#

so did you read the error lol

spare glen
#

yes

#

what happends if i do -f, it deletes the files right

near aurora
#

yes it deletes the files

spare glen
#

then it wont push the files

near aurora
#

yes it wont push the files

elfin vale
#

so do what it says, use git rm -f

#

yes it won't push the files.. cause u are deleting them lol

spare glen
#

and my glitch project will only change the files i push and not those files in gitignore

near aurora
#

because it will not have access to those files because they dont exist

#

yes

spare glen
#

but wont it delete the files in my glitch project as well

near aurora
#

depends on how its set up

#

But probably will

spare glen
#

wtf

#

no

#

i give up

near aurora
#

lol

#

Thats why I stopped using heroku

spare glen
#

i just wanna ignore them and not push them, but i want the files to be there in glitch

#

i ain't using heroku

near aurora
#

tooooooooooooooooooo badddddddddddddddddddddddddddddd

elfin vale
#

ok no you've got this!

near aurora
#

lol wait I need to be here

#

I dont know how to do this

spare glen
#

what

#

so we are done

#

i give up

elfin vale
#

if you don't wanna remove the files, i think its git rm --cached

#

to just remove them from git

#

but not from ur hard disk

near aurora
#

but thats not what he wants

spare glen
#

but will teh files still me in my glitch project

near aurora
#

he wants another remote which always mirrors github remote to include the files but for the github remote to not include them

elfin vale
#

not on github but in your project directory yes. make a backup of the files in case though cause i might be wrong

#

it should keep it on your computer but not put it on git

spare glen
#

wtf

#

i give up

#

i dont get it

elfin vale
#

no no no ok

#

so

#

you know your project directory right?

#

on your local pc

#

it will keep the files there

spare glen
#

do i do this

elfin vale
#

but it will not publish to git

near aurora
#

dude

#

im so done

elfin vale
#

yes but do it like this git rm --cached <files>

near aurora
#

tags can go at the end

#

it doesnt matter

elfin vale
#

oh ok thats how i normally do it

spare glen
#

@elfin vale ok so it will not push to git, which means the files in glitch will not be changed (the files i choose to --cached)

near aurora
#

what is glitch

spare glen
#

something

near aurora
#

youre fucking helpful

elfin vale
#

you could just do what i do when i'm being lazy lol

spare glen
#

u too