#development

1 messages · Page 461 of 1

warped ruin
#

@small solar

#createdby {
    color: #123456;
}
small solar
#

ty

upper ember
grim elk
#

That's even worse.

obsidian ember
#

is there a way to make it send a message to a channel every time someone votes?

#

also if it can, then who voted

fluid basin
#

Use webhooks

slender thistle
#

@rotund mesa I doubt that's possible, so what you would need is either move your code into the event (I assume it would be on_reaction_add) or, well, bot.get_cog_commands('some_cog'), iterate through all of them and .invoke()

abstract mango
#

on_reaction_add could do yes

neon swift
#

100% of the time, you don't need to use invoke(), you could just make a helper function instead

#

Only time you would use invoke is if you are making a "run as this person" command

wild tide
#

It didn't affect server count and there was no breach in the code

austere meadow
#

usually happens on discord outages

wild tide
#

Yea one of my servers just went out

neon swift
#

Also, you should keep track of things like how many humans are on the server and what is the bot/members ratio

#

Knowing that there are 72 members is meaningless if 70 of them are bots

slender thistle
#

Eh well, I am not a professional coder, so don't take me too seriously :^)

tropic ridge
#

What formula do u guys use to calculate XP needed for each level?

bright spear
#

@tropic ridge are you asking for a specific bot?

pale marsh
#

@tropic ridge each bot has its own algorithm when it comes to that I think

#

Try to come up with something you're comfortable with is all I can say 🤷

proper remnant
#

Hi, is there a global rate limit about the number of messages a bot can send across all the guilds?

sick cloud
#

you can send 5 messages per 5 seconds globally @proper remnant

proper remnant
#

Hm thanks, but my question was more about a more global limit than a channel limit

#

For example: popular bots with spammed commands

sick cloud
#

that's it?

#

on discord across all servers, you can send 5 messages every 5 seconds

proper remnant
#

Hm some bots send 50 messages/5s with default options :/ but thanks anyway

sick cloud
#

don't see how

#

but np

pale marsh
#

Actually it's 5/5s per channel

#

If it was across all guilds it'd be a bit extreme I think

sick cloud
#

ohk

proper remnant
#

Does that mean it's globally 120 messages/60s ?

pale marsh
#

No that'd be misleading

#

120/60s means you can do the 120 say in the first second but gonna wait 59 more seconds for them to reset

#

Also how would you even come up with 120 lol

#

Oh wait

#

I didn't see the WS one

proper remnant
#

I think your screen contain the value that I want to find if a bot get very spammed. Maybe the 50 requests/second then

earnest phoenix
#

discord.js to vote in command can be done.

pale marsh
#

@proper remnant most libs though manage ratelimits themselves so you don't have to worry about it

proper remnant
#

Thank you, may I ask where did you find these infos aside from the bot? (I searched a little but don't found it)

tropic ridge
#

@bright spear @pale marsh Sorry for the late response, I was just wondering what people here use

pale marsh
#

No problem

bright spear
#

oh

#

i can check what mee6 uses

tropic ridge
#

5 * (lvl ^ 2) + 50 * lvl + 100

#

this is what mee6 uses

bright spear
#

yeah

tropic ridge
#

Do you think the curve on which it increases is too steep?

arctic spear
#

So

#

5 * (lvl ^ 2) + 50 * lvl + 100

#

Thats the math formule for mee level max exp?

#

😮

bitter sundial
#

5x^2 + 50x + 100

pale marsh
#

Yeah I guess that's a bit steep

earnest phoenix
#

is days in bot.uptime rounded by 360 or 24?

bright spear
#

@earnest phoenix you didnt say what lib

earnest phoenix
#

discord.js

sick cloud
#

@earnest phoenix <Client>.uptime is in milliseconds, so dunno

earnest phoenix
#

what is this?

bright spear
#

looks like python isnt installed?

gleaming glen
#

while installing python, add it to your path

#

i got the same issue before

earnest phoenix
#

oh

#

is that failed to improt discord?

gleaming glen
#

which lang are u using

earnest phoenix
#

python

#
  var botuptime = bot.uptime;
            x = botuptime / 1000
            seconds = Math.round(x % 60)
            x /= 60
            minutes =  Math.round(x % 60)
            x /= 60
            hours =  Math.round(x % 24)
            x /= 360
            days = Math.round(x % 360)
            var uptime = days + ' day(s) ' +  hours + ' hour(s) ' + minutes + ' Mins  ' + seconds + ' Secs'

@sick cloud I have this, and was wondering days ?

sick cloud
#

no idea

#

just try it and see

earnest phoenix
#

wow moderators are humans?

#

they need help like us?

sick cloud
#

ok

#

if anyone's good with html, how do you make a div stretch all the way down to the bottom of a page

#

my brain is failing me and icr how

night imp
#

Height thonkku

sick cloud
#

tried height: 100% !important;

#

but that doesn't work clearly

night imp
#

Is it flex?

sick cloud
#

probably not

#

it's just a simple div

night imp
#

huh maybe min-height

sick cloud
#

nope, same result

lament meteor
#

that means discord hasnt been installed

night imp
#

Wait

#

Make it an inline block @sick cloud

earnest phoenix
#

@lament meteor like what should i do?

sick cloud
#

uhhhh

#

how?

night imp
#

display: inline-block

#

(important)

sick cloud
#

that did nothing still :l

night imp
#

@earnest phoenix you probably want discord.js

lament meteor
#

is it a div in a div Tony?

sick cloud
#

no

#

just a div

night imp
#

Tony could you send a picture of inspect element of the div

#

?

lament meteor
#

^

sick cloud
#

hold on

earnest phoenix
#

not

#

i dont need

#

js

sick cloud
#

that what you wanted?

solid cliff
#

python -m pip install discord.py @earnest phoenix

night imp
#

Yeah

lament meteor
#

@sick cloud wat is the max height of <body> ?

sick cloud
#

100%?

#

i set it as that

night imp
#

Maybe set display to block?

slender thistle
#

@earnest phoenix Do you want to install discord.py async or rewrite?

earnest phoenix
#

ha dw

#

i got it

#

thanks for the help

sick cloud
#

block does nothing

earnest phoenix
#

bash it up to make into a square

sick cloud
#

wow

night imp
#

I'm completely lost. I would ask on stack overflow/ the coding den -- they have a lot of HTML/CSS peeps

earnest phoenix
#

i got a friend who knows 7 languages

lament meteor
#

lemme see...

earnest phoenix
#

but he is the type of guy who you need to do something for him

lament meteor
#

@sick cloud try to remove the height from the body

sick cloud
#

ok

#

nah

#

same result

lament meteor
#

wried idk then

eager spoke
#

mostly div stretch maximal to their content

sick cloud
#

woo got it

#
position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    overflow:hidden;
    z-index:-1;

used that mmLol

sullen path
#

-1

eager spoke
#

horrible workaround

lament meteor
#

oh.. overflow

sick cloud
#

¯_(ツ)_/¯

#

only issue being that text is overflowing over it quite literally

lament meteor
#

wat time is it for u Tony?

sick cloud
#

12:43am @lament meteor

eager spoke
#

Also maybe put in the body height to 100%

lament meteor
#

3 hours ahead oof

sick cloud
#

already have

#

css is being a big meme

eager spoke
#

As far as I can remember, Internet Explorer was always the problem

earnest phoenix
#

🤔😂

quartz kindle
#

what are you trying to do?

earnest phoenix
#

Does windows 10 ship with ie?

#

I know it ships with edge

sick cloud
#

it does iirc

#

you gotta dig for it tho

earnest phoenix
#

So its hidden

sick cloud
#

it's in the start menu actually

#

all apps > windows accessories

earnest phoenix
#

Accessories

#

Lmfao

#

It's not useful at all

sick cloud
#

and yeah lol it's useless

earnest phoenix
#

U gotta appreciate Microsoft sense of humour

sick cloud
#

totally

inner jewel
#

it's not useless

#

it's useful to download chrome

topaz fjord
#

natan

#

thats what microsoft edge is for

sick cloud
#

yes

#

ie is there to annoy you

pale marsh
#

just like a lingering ex

earnest phoenix
#

how do u restart a song without dispatcher.end? (discord.js)

sick cloud
#

you can't i guess

#

you'd have to end it and just start it again

earnest phoenix
#

well if i do that next song is played

#

I'm thinking about seek: 0

gleaming glen
#

you make it like this <client>.user.setActivity(`with you`, { type: 'STREAMING' })� @timber star

#

np

loud salmon
#

rip, JDA forces you to use a valid streaming link

topaz fjord
floral zinc
#

spider it doesnt.

#

Just type in the link to your twitch channel.. You can set the text

earnest phoenix
#

I need help getting a role by a role mention, and storing that role in d.js

gleaming glen
#

what do you mean?

earnest phoenix
#

same thing with channels

gleaming glen
#

getting a role id?

earnest phoenix
#

like someone does m::setup role-mention channel-mention i want my bot to store the channel and role that they mentioned for use later as variables

gleaming glen
#

djs right?

earnest phoenix
#

but multiple roles and channels, and yes, d.js

gleaming glen
#

you can do like

#

let channelmention = "<#" + args + ">"

earnest phoenix
#

i need to extract the channel from the mention not vice versa

gleaming glen
#

since i mainly use djs-commando, i am not exactly sure about how to do that with normal djs args 🤷‍♂️

earnest phoenix
#

ick

gleaming glen
#

doing that with commando is way easier, i recommend it

earnest phoenix
#

hmm

gilded blaze
viscid falcon
#

im using discord.js and im looking to overwrite a certain channels perms, i got everthing coded exept i cant figure out how to specify a certain channel, any suggestions?

gleaming glen
#

you can get it by name or id

viscid falcon
#

i would want ti by name

#

OH WAIT

#

I JUST RELIZED HOW TO DO IT

#

sorry

gleaming glen
#

lol nice

floral zinc
#

Loop and compare

viscid falcon
#

im making a bot setup command that setups of the bot's logging channels and such

#

so thats why i would want it by name

#

but thx anyways

floral zinc
#

Why not by mention?

viscid falcon
#

becuase its creating the channels

floral zinc
#

Ohh

visual surge
#
client.on('ready', () => { // When the bot is ready
    console.log('Logged in as '+client.user.tag+`|||Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users.`);

    client.user.setActivity('+info | In ' + client.guilds.size + ' servers with ' + client.users.size + ' members.')
});
 ^ unexpected token ) at the end there
#

The editor matches the opening of ready with it sonit should be fine

earnest phoenix
#

Im working on a better gambling system right now

#

I dont have the dev rank in here though

topaz fjord
#

ok

earnest phoenix
#

How do i get the dev rank

#

Γειασαςπαιδιά。 Eπέστρεψααπότα600δευτερόλεπταbanμου。 ΣεαυτήτηνώρακατάφερανατελειώσωτηνέκθεσημουσχετικάμετηνΝαζιστικήΓερμάνια。 ΗάποψημουείναιττυταπιστεύωτουΧίτλερκαιτωνΝαζιστώνβρίσκουνσυνέχειααπότους版主αυτούτουchatπυυπράττουνσανναείναικυριολεκτικάοΧίτλερ。 地图90απότους100πόντουςγιααυτήτηνέκθεση。 Παρακαλώόχιαντιγραφή-επικόλληση。

night imp
#

English only please

earnest phoenix
#

Γειασαςπαιδιά。 Eπέστρεψααπότα600δευτερόλεπταbanμου。 ΣεαυτήτηνώρακατάφερανατελειώσωτηνέκθεσημουσχετικάμετηνΝαζιστικήΓερμάνια。 ΗάποψημουείναιττυταπιστεύωτουΧίτλερκαιτωνΝαζιστώνβρίσκουνσυνέχειααπότους版主αυτούτουchatπυυπράττουνσανναείναικυριολεκτικάοΧίτλερ。 地图90απότους100πόντουςγιααυτήτηνέκθεση。 Παρακαλώόχιαντιγραφή-επικόλληση。

#

@inner jewel

#

Γειασαςπαιδιά。 Eπέστρεψααπότα600δευτερόλεπταbanμου。 ΣεαυτήτηνώρακατάφερανατελειώσωτηνέκθεσημουσχετικάμετηνΝαζιστικήΓερμάνια。 ΗάποψημουείναιττυταπιστεύωτουΧίτλερκαιτωνΝαζιστώνβρίσκουνσυνέχειααπότους版主αυτούτουchatπυυπράττουνσανναείναικυριολεκτικάοΧίτλερ。 地图90απότους100πόντουςγιααυτήτηνέκθεση。 Παρακαλώόχιαντιγραφή-επικόλληση。

#

Its a spammer

#

Look at the last words

#

All the same as the first message

#

@south finch i see multiple spammers same as above here ^

#

@cursive stratus also one

south finch
earnest phoenix
#

@cursive stratus

#

hm ok

south finch
#

theyre in pw too

earnest phoenix
#

pw is?

south finch
#

another botlist

earnest phoenix
#

oh ok

#

And now im getting pm spammed by the spammer that got banned

zealous veldt
#

neontickred block them

earnest phoenix
#

Done

#

@south finch can i get the developer rank?

uncut slate
#

you'll get it if/when your bot gets approved, no sooner

earnest phoenix
#

Ok

uncut slate
#

also, not the appropriate channel

earnest phoenix
#

Its writing for approval right now

#

Ok

west raptor
#

Recommended permission needed for a warn command?

earnest phoenix
#

Administrator?

west raptor
#

no

earnest phoenix
#

Or when i think about it

#

No

viscid falcon
#

I used kick

west raptor
#

ok

viscid falcon
#

Manage or delete messages would prob be good too

west raptor
#

alright thanks

earnest phoenix
#

Guys, how in discord.js do you make it move to a new month on new date() if it reaches month's maximum?

#

if it reaches above 30/31th it says "invalid date"

earnest phoenix
#

for your front page of your bot on the DBL website, how would you change the background?

earnest phoenix
#

css

#

i think only certified bots can do that though

sick cloud
#

anyone can use CSS @earnest phoenix

#

only cert devs can use JS though

earnest phoenix
#

or that

viscid falcon
#

in discord.js when using overwritePermissions how would we set the perms for the defualt role, @ everyone gives me an error

sick cloud
#

the guild id is the role id for @everyone

viscid falcon
#

oh thanks, i just moved to to my broken command folder lol

#

i have message,guild.channels.find(c => c.name === 'report-log').overwritePermissions(guild.id, {.... then i have it disableing sending messages for everyone
this gives me the error: TypeError: Cannot read property 'overwritePermissions' of null
what did i do wrong?

inner jewel
#

no channel named report-log in the guild

viscid falcon
#

but the line before it is creating it

drifting jasper
#

can someone lend me a hand rq...

gilded blaze
#

@viscid falcon JS is asynchronous and creating the channel is not instant. It might not exist at that moment.

viscid falcon
#

could i run it in an async process and then use .then?

gilded blaze
#

If you specify the function is asynchronous then you can use await. You don't need to specify async if your gonna use .then()

viscid falcon
#

oh ok thanks!

drifting jasper
#

I want my command handler to read a sub folder, but I don't know how to tackle the task. Does anyone know how I could do this

#

I want it to read ./commands/ and ./commands/help/

eager spoke
#

try with filewalker

drifting jasper
#

?

eager spoke
quartz kindle
#

you dont need any lib for that

#

just use node's FS

earnest phoenix
#

Is there a way to stream audio directly from youtube without downloading the video onto disk

austere sedge
#

How to put a rich presence that says 'Currently on (total servers) guilds' in python?

sick cloud
#

check the d.py docs or whatever, it should have some kind of set activity function

slender thistle
#

await <Client>.change_presence(activity=discord.Game(name="Currently on {} guilds".format(len(<Client>.guilds))))

trim saddle
#

@austere sedge are you trying to do an rpc for a bot?

#

cuz thats not availble for bots

sick cloud
ember nymph
#

Yo

earnest phoenix
#

@pallid vault?

delicate umbra
#

how to add mute,ban commands in a bot????????? DM ME IF U CAN HELP

earnest phoenix
#

@pallid vault where do you host Ur bot?

pallid vault
earnest phoenix
#

Tyvm

#

Uff

pallid vault
#

add this if u want 24/7 hosting

const http = require('http');
const express = require('express');
const app = express();
app.get("/", (request, response) => {
  console.log("[" + Date.now() + ": Ping Received" + "]");
  response.sendStatus(200);
});

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

What did you click

#

@pallid vault I am using java

pallid vault
#

oh

#

idk if it works with java

earnest phoenix
#

Whatever

pale marsh
#

I think I might've not been listening to webhooks correctly in C#

#

Anyone got an example of this?

earnest phoenix
#

My bot shutdowns and auto reboots every 2 mins, happening since 2 days, why so?

gleaming glen
#

It should give an error while crahing?

misty lagoon
#

maybe your computer is lagging / bot is lagging or one of the scripts are making it reboot.

delicate umbra
#

WHAT IS THE CODING OF MAKING MUTE AND BAN COMMANDS IN A BOT?

gleaming glen
#

we don't directly give you a code here, you can try do it and if an error happens, we can help you about it

delicate umbra
#

OK

pale marsh
#

Also why freaking caps

earnest phoenix
#

i hate my computer

#

well

#

i got the ban and mute command

#

good for me :d

zealous veldt
austere sedge
#

@slender thistle

#

Ignoring exception in on_ready
Traceback (most recent call last):
File "C:\Users\Server\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\client.py", line 307, in _run_event
yield from getattr(self, event)(*args, **kwargs)
File "D:\Rinax Files\Game data\Discord Bot\Simple bot\Bot.py", line 57, in on_ready
await bot.change_presence(activity=discord.Game(name="-help│{} guilds".format(len(bot.guilds))))
File "C:\Users\Server\AppData\Local\Programs\Python\Python36-32\lib\site-packages\discord\client.py", line 296, in getattr
raise AttributeError(msg.format(self.class, name))
AttributeError: '<class 'discord.ext.commands.bot.Bot'>' object has no attribute 'guilds'

slender thistle
#

len(bot.servers) then

zealous veldt
#

Um

hallow mural
#

Disregard my statement.

zealous veldt
#

Done.

ruby dust
#

anyone know how would I escape the ' if I put it in sqlite3 execution? \ doesn't seem to be helping

gleaming glen
#

\ should work?

ruby dust
#

yeah but sqlite3 is raising OperationalError, cause the ' is apparently still breaking the execution

gleaming glen
#

um, i don't know

quartz kindle
#

a google search said you escape it by doubling it

#

INSERT INTO @my_table VALUES ('hi, my name''s tim.')

ruby dust
#

that kinda at the same time answers my question and raises even more questions Thonk

quartz kindle
#

try it, if it works it works

ruby dust
#

I mean I do need the ' to be part of the value that I'm inserting

ruby dust
#

holy shit, that worked?

quartz kindle
#

if its stupid but it works, then its not stupid

pale marsh
#

^

quartz kindle
#

alert("H"+"E"+"L"+"L"+"O") //stupid but it works

zealous veldt
#

Lol

quartz kindle
#
var a = ["H","E","L","L","O"];
alert(a[0]+a[1]+a[2]+a[3]+a[4]) //stupid but it works```
zealous veldt
#

This is one of the many reasons I don't use sql

earnest phoenix
zealous veldt
#

Lmfao

#

The fuck

quartz kindle
#

jsfuck = culmination of "stupid but it works"

earnest phoenix
#

javascript ™

zealous veldt
#

Tim
Tom
👌

quartz kindle
#

that guy who did a presentation on js hacks showed other methods of coding as well

#

like coding js with invisible characters

#

or coding js with foreign language characters

zealous veldt
#

Lol what

#

Link?

#

Or name or something?

quartz kindle
#

google martin kleppe

#

hes a js god

#

like this shit

#

(right click -> view source)

bitter sundial
#

woah

#

is that

#

a script that changes its own color

remote basalt
#

I need help

#

How fix this error ?

#

(node:5932) UnhandledPromiseRejectionWarning: TypeError: Supplied parameter was
neither a Role nor a Snowflake.
at GuildMember.addRole (C:\Users\Administrator\Desktop\discord-bot\node_modu
les\discord.js\src\structures\GuildMember.js:452:38)
at db.fetch.then.i (C:\Users\Administrator\Desktop\discord-bot\bot.js:121:27
)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:5932) 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)

earnest phoenix
#

First tell us what you think it might be, and send relevant code.

#

but from TypeError: Supplied parameter was neither a Role nor a Snowflake., Its probably you trying to add a role, and you are giving an argument that isnt a role/snowflake when it should be

remote basalt
#

Auto roles

#

I write role ID but doesn't work

earnest phoenix
#

ID is string

remote basalt
#

I checking wait

gleaming glen
#

.addRole('id') works for me

remote basalt
#

Eren I send you friend request

gleaming glen
#

kk

misty pawn
#

My bot now has a working Votelistener....
But what is the new method of getting the actual amount of votes the bot has so far?

gleaming glen
#

there should be something useful in docs

misty pawn
#

Sadly not

#

I only found a method to get the votes, that a single user did so far....

#

And the API had a change some time ago and the method of getting all votes is depricated/no longer available

eager spoke
#

The field points is for the number of upvote

misty pawn
#

Doesn't really help me on how to get the number itself...

#

I don't want to make a seperate get to just find that stuff...

earnest phoenix
#

fetch it once, then count how many with the webhook in future GWfroggyWeSmart

misty pawn
#

<--- No expert right here

#

I hat huge difficulties with the webhooks alone...

#

Why was the simple API-method removed?

earnest phoenix
#

i dont use the api apart from posting stats, but im guessing they removed the method that fetched all votes?

#

and probably because thats not very efficient for them

#

or anyone

eager spoke
#

https://discordbots.org/api/bots/{bot.id} here you will get a JSON object with the bot info, in that object is a field called "points"

hot sleet
#

role

#

WHY

sullen path
#

Either Gamer or everyone has explicit send message perms

#

Set both to /

pale marsh
#

Actually no, sinec Muted is a higher role it overrides it

#

Check if there's Admin perms instead

#

Actually lemme check what you said creepers

sullen path
#

I know from experience

#

And I believe it’s explicitly stated in the discord api docs that is the case

pale marsh
#

Yeah I was right

#

Higher roles override lower roles

#

Except if a lower role has Admin perms

#

I just tried it dude lol

sullen path
pale marsh
#

Hmm

sullen path
#

Discord pls

pale marsh
#

I just tried it on a user and he was unable to view a channel when I edited @ everyone and one of the user's roles

#

@ everyone allowed viewing the channel and the role disallowed it

sullen path
#

Well good luck

pale marsh
#

And he was unable to read any messages

misty lagoon
quartz kindle
#

its telling you whats wrong

#

prefix = set in line 46 is invalid

#

you're trying to use = inside an object

misty lagoon
#

ok.

#

but

#

nvm

#

got it

ruby dust
#

have anyone ever have an error printed in python's console with the whole content of 2?

#
2```
#

anyone has an idea?

#

lol

quartz kindle
#

no idea lmao

#

are you sure you dont have any console.log somewhere in there? (i dont even know if python has a console.log equivalent)

ruby dust
#

well the thing is, I know for sure that it's a sign that my MemberPresence module doesn't load

#

but it errors out with the 2 lol

slate kayak
quartz kindle
#

well

#

first google result

#

Where can I find information about meaning of exit codes of "python" process on Unix? For instance, if I do "python thisfiledoesntexist.py", I get exit code 2

#

that should explain it

ruby dust
#

also I don't print anything at all, unless command executions that is in a different file

quartz kindle
#

forbidden by system permission lol

#

did you try uninstall as admin?

misty lagoon
#

what should i use to host my bot 24/7?

inner jewel
#

a vps

quartz kindle
#

how much are you willing to pay?

#

there are very few free options, but you can try those if you dont want to pay

#

otherwise you can get a vps for like 3-5 usd/month

slate kayak
#

well tim i have got google cloud for that one and have it set up everything but refuses me to uninstall that version

quartz kindle
#

thats a windows vps?

slate kayak
#

yes 😦

quartz kindle
#

should have gone for linux

#

xd

slate kayak
#

i sould have but im not good with linex 😦

quartz kindle
#

never too late to learn

#

and its much better to run things in

slate kayak
#

true well how do i stop it now as google has a free trail

#

and then just choose linex ?

quartz kindle
#

i believe you can delete that instance of the compute engine and create a new one

#

as long as you only have 1 compute engine, it should still be free

earnest phoenix
#

u might wanna read up on basic commands for linux too

#

cant just open up my compter and find ur files

quartz kindle
#

^

#

linux is all command line, so learn how to navigate it

#

use commands like cd and ls

earnest phoenix
#

installs desktop environment

quartz kindle
#

infidel

misty lagoon
#

idk. How bout’ ones less than $5 usd?

#

oof

#

bad grammar

quartz kindle
#

there are many options, you can google vps rankings and recommendations

#

many people here use galaxygate

misty lagoon
#

ok

quartz kindle
#

google gcp is also an option

misty lagoon
#

i will look that up

quartz kindle
#

alco amazon ec2

#

ms azure

#

and many other companies

slate kayak
#

well google give you a free trail for 1 year and then its 9.99$

grim elk
#

Using Windows to handle Python development is not exactly a good idea.

slate kayak
#

yeah i noticed it sorry so what linex verion do i need to take ?

#

is ubuntu going to work ?

knotty steeple
#

yea ubuntu is good

slate kayak
#

what version ?

knotty steeple
#

well i use 16.04

gleaming glen
#

i used 16 before

#

it was good

knotty steeple
#

yes

#

but 18 is cool

#

also

slate kayak
#

ok 16 lts or lts mini

eager spoke
#

ever use latest LTS version

#

for ubuntu it's 18.4

quartz kindle
#

thats the command line interface

#

by default, linux doesnt have a desktop like windows does

#

you'll get used to it soon

eager spoke
#

also linux has a lot of desktop distribution 🤔

quartz kindle
#

yes but not needed for servers

eager spoke
#

cauz windows server does have one?

earnest phoenix
#

I need help with my bot. Its saying this in console

#
(node:7082) UnhandledPromiseRejectionWarning: Error: 401 Unauthorized
    at _response.transport.request.then (/root/Gamer/node_modules/snekfetch/src/index.js:193:21)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:7082) 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: 4)
inner jewel
#

wrong/missing token

earnest phoenix
#

Im running 2 instances of the bot. One on Glitch for the Vote Notifications / Checker which announces when a user votes. And the other is the main bot. Would that be bad?

#

Both on the same token

#

Funny thing is. All of my other commands work but the NSFW Ones

#

@inner jewel

gleaming glen
#

you can check your dbl token

earnest phoenix
#

oh yeah lol

#

I have NSFW On Vote Only. Would that be why? My DBL Token is incorrect?

#

Why did my dblToken Change anyway? I never altered anything on it

gleaming glen
#

this error happened to me as well

#

when i changed my token, it fixed

#

i got the exact same error

earnest phoenix
#

Could this be a website bug maybe?

gleaming glen
#

just try to renew your token

#

that should work

earnest phoenix
#

already did thanks for the help 😄

gleaming glen
#

np

grim elk
#

If Windows Server needs a desktop environment, then chances are people who have no idea how to use a Terminal use it.

eager spoke
#

sad 😔

misty pawn
#

@eager spoke Sorry for the late response: Thanks for the link.
That helped me a LOT and I finally can show the votes on the vote-images...

eager spoke
#

Yw ^^

misty pawn
#

And I also finally found a way to make text allign to the right...
Java doesn't support that by default..

inner jewel
#

it does

#

String.format

misty pawn
#

@inner jewel ik but drawString is a bit... different. At least for me

viscid falcon
#

currently i am trying to get my bot to respond to a mention using discord.js, why wont this following code work

if(message.mentions.user.first() == client.user) {.....
boreal acorn
#

Try to put the } { to }{

viscid falcon
#

what do you mean?

quartz kindle
#

instead of doing that

#

you can just check for instances of <@ botid>

#

or do === "botid" instead

#

assuming you're correctly getting the ID of the mentioned user with .first()

earnest phoenix
#

if (msg.mentions.user.first().id === client.user.id) {... }

#

@viscid falcon

viscid falcon
#

thank you

earnest phoenix
#

Np

mild forge
#

How do i keep a bot to one channel?

viscid falcon
#

remove its permssions to read in every other

mild forge
#

Okay....

earnest phoenix
#

That's one way of doing it

#

<@&304313580025544704>

uncut slate
#

you're 15 seconds late

mild forge
#

Well that one way is going to screw up my server ironically

viscid falcon
#

how

earnest phoenix
#

you can also code your bot to make it only accept commands in certain channels

mild forge
#

Ah

earnest phoenix
#

Depends on what you're trying to do

viscid falcon
#

pshh, coding is for nerds

earnest phoenix
#

Discord bot maker is

mild forge
#

Im tring to make a bot that does that and see how to do it to other bots

#

Example: Pokecord

#

And intro bots

earnest phoenix
#

Are you trying to restrict other bots from typing in certain channels?

mild forge
#

Yea, not from one bot to another,

earnest phoenix
#

Why would you want to do that

mild forge
#

Because there are server owners that don't know everything, and i want to give some of these tips from a message in my bot

earnest phoenix
#

There's a few ways to do that

#

Hold up

#

Do you want the owners to specify which bots to prevent from typing?

#

Like in the command

mild forge
#

I just want to be helpful when my bot is invited

#

My bot is going to be a helper bot

earnest phoenix
#

It's easier for me to explain if you tell me exactly what you want

#

Because there's no strict way of doing this

mild forge
#

I need a idiot to understand how to keep a bot onto one channel. That would be a command such as h!botspam

earnest phoenix
#

only one channel?

#

Ok

mild forge
#

Yea

earnest phoenix
#

What library are you using

mild forge
#

Lemme see

sick cloud
#

basically loop over every channel and make the bot's id in overrides unable to send messages or read messages, and allow for the channel it's done in

earnest phoenix
#

Pretty much

mild forge
#

Okay

#

Got it

earnest phoenix
#

but you need to get the channels first

mild forge
#

Thanks

#

Now to just code it in

limpid meteor
#

Hey guys... Having some issues with my personal bot... I'm trying to make it set a specific channel's permissions. But it tends to say can't read property 'channel' of null... Please help for more information you can ask in the dm's I'm using discord.js

finite kelp
#

Why not joining the discord.js server (i will not link it, you are old enough to google by yourself to find it) and put your part of your code there and they will tell you what you didnt understood about the framework

#

Btw any null object have no property called channel, might want to be sure you are selecting a corrext instance through the message sent or through a screening of the channels

sick cloud
#

Can you do Array.from(collection)?

heady zinc
#

you can Array.from(collection.values())

#

@sick cloud

sick cloud
#

okie

restive silo
#

why not Collection#array tho

earnest phoenix
#

Hmm idek. I use collection#array all the time

fiery birch
#

I have a command which is ,awwnime and another which is ,aww

#

When I use ,awwnime it executes the ,aww command though

#

because I used .startsWith

#

what do

#

Discord.js btw

grizzled isle
#

Regex exact casing

gilded blaze
#

Regex is expensive

#

Would split the message into arguments and get the first one for command

eager spoke
#

startsWith("aww") && !startsWith("awwnime") something like that

fiery birch
#

I ended up using message.content.slice(prefix.length).trim().split(/ +/g).shift().toLowerCase() == 'awwnime' thanks for the help tho

austere sedge
earnest phoenix
#

help me

viscid falcon
#

can you be more specific

earnest phoenix
#

its about a code

viscid falcon
#

ok i kinda figured, practicly everyone on here is a dev

earnest phoenix
#

alright, i want help with my music bot, i got two seprate commands, i want to make the two seprate commands into one

#

like they work together

viscid falcon
#

if you only have 2 commands, then just have one main file

earnest phoenix
#

no

#

Bjoin

#

then you gotta freakin do Bplay bahahaha

#

i want it to be Bplay (song) then it joins the room then plays that song

earnest phoenix
#

hello

#

Error =(node:6911) DeprecationWarning: Collection#find: pass a function instead

Code = let muterole = message.guild.roles.find("name","muted by 02");

#

can you help me pls? 🤔

#

bcs i don't undrstnd

sick cloud
#

@earnest phoenix d.js doesn't use that anymore

#

use a function as it says

#

.find(role => role.name === "Name here")

earnest phoenix
#

yep i foun that just now ty :3

bright spear
#

Oh nice it has a useful error now

#

It used to just say "Error: fn.bind is not a function"

earnest phoenix
#

...

earnest phoenix
#

good someone tells me how to select a channel with my bot for member-log? for example
!setwelcomelogs enable #general

pale marsh
#

That's pretty much basic stuff

#

Store the channel in a local variable and in your DB, check the variable each time the event is fired and send your message

#

Idk if that's what you need or not, but it's not as complicated as you think it is

gleaming glen
#

don't forget to check if the channel is null

pale marsh
#

Well yeah

#

I think he can figure out the rest anyway

split lantern
earnest phoenix
#

One message removed from a suspended account.

#

discord issues, refer to the message above yours

pale marsh
#

@earnest phoenix if only you could read...

earnest phoenix
#

Yeet. My bot wont login either

#

all shards just reconnected FeelsGoodMan

#

Yay

#

Whoops. Double time. I just saw that i sent six images instead of three. Mobile, fuck you

#

only sent once on my screen :p

#

so dont sweat it

quasi marsh
#

Locale is new?

#

That sounds like an awesome way to support i18n in web dashes and stuff

knotty steeple
#

yes i know how i can use this

#

you can make it so people dont have to set it to their language

#

just detect the locale and do stuff

earnest phoenix
#

oh niiiiiiiiiiiice

quasi marsh
#

I'm not yet sure if this is supported on a GET User

earnest phoenix
#

not like my bot supports languages but i am working on a dashbaord

quasi marsh
#

Or only on GET Me

earnest phoenix
#

so maybe ill start there lol

quasi marsh
#

I'll try this

#

One sec

#

Hmm, it doesn't seem available in a limited user object

earnest phoenix
#

like just identify?

quasi marsh
#

When you do GET /api/users/id

#

It's only available on GET /api/users/@me

earnest phoenix
#

ahk

quasi marsh
#

Would be nice if it could

#

Bot's wouldn't language settings but could dynamically adjust language based on Discord

bitter sundial
#

oh thats cool

quasi marsh
#

I mean I'd still have a language setting for languages not on Discord or users preferring English clients

#

@bitter sundial DBL translations when mmLol

bitter sundial
#

idk if ever

#

but maybe

quasi marsh
#

It's quite nice that Discord does this now just a shame it's limited to identify

#

Maybe I'll try asking if it could be a thing in the future

#

I'd personally use auto language which you can optionally disable

#

I'm planning to add setup for my bot into the web dashboard and this was will be mucho useful to detect the users language

#

Though, you can read browser locale too technically, although this might be a nicer way

latent heron
#

I wonder how Discord handles their languages setup

#

Google? Do they have their own translators working for them?

knotty steeple
#

yea im sure they have their own translators

earnest phoenix
latent heron
#

If I recall correctly Discord went down once just because of Google update

#

So it wouldnt be far fetched

slate kayak
latent heron
#

are you coding on your phone dude?

#

if yes, then you are a man of talent

quartz kindle
#

you're trying to run the js file with microsoft JScript?

#

if you're using node, you should run it as node index.js not just index.js

earnest phoenix
#

@latent heron yes i am

latent heron
#

jesus

#

you have skill

#

to do it all on a phone

#

I feel bad for the amount of times you have had to tap the bottom left/right (depending on phone and OS) for symbols

earnest phoenix
#

Ye

#

I push it to a vps to run it tho, running it on my phone woild suck

hidden patio
#

ok

quartz kindle
#

what is it that you want to do?

earnest phoenix
#

@hidden patio for a webhook, you need to setup a webserver to listen to a post request from dbl. It will contain information about who voted.
Its at the bottom of bot edit page https://img.69420.me/PcTywCAY.png

hidden patio
#

I want a bot or any way to make me somehow find out who upvoted my bot and when

gleaming glen
#

okay, there's something called in github, votehook

hidden patio
#

oh

gleaming glen
#

u can try that

hidden patio
#

can you send me a link?

gleaming glen
#

i cant rn, just search votehook

hidden patio
#

nvm

#

i found it

#

thanks tho

#

thanks @earnest phoenix GWcentrallHUGS

earnest phoenix
#

apt-get update

#

lmfao

earnest phoenix
#

where can i get an Idiotic API key?

topaz fjord
#

a wut

winter spindle
#

@restive silo how long does it take to get approved?

topaz fjord
#

oh that

#

@winter spindle 1 day to a week

winter spindle
#

yIkEs

earnest phoenix
#

@topaz fjord you dont know what Idiotic api is?

quiet bobcat
#

there's also alot more information in there

topaz fjord
#

i do

earnest phoenix
#

it is used for a lot of fun commands such as the beautiful command and others

topaz fjord
#

haven't used it tho

earnest phoenix
#

do you know where to get a key?

topaz fjord
#

nop

earnest phoenix
#

shit

slender thistle
gleaming glen
#

background and hover is

#

but i don't think that one is

quartz kindle
#

the button is a base64 image

#

you can use display:none, and replace it with a background in css

slender thistle
#

👌

#

Thanks

knotty steeple
#

@earnest phoenix i know where u can get a key

earnest phoenix
#

where?

knotty steeple
#

in the server

#

ill dm u

slender thistle
quartz kindle
#

right click > inspect element

slender thistle
#

Eh aight

quartz kindle
slender thistle
#

This is the point where I realize I should learn HTML 😄

craggy roost
#

Hello friends. I am coding my bot with node. Is there a command like client.guilds.find? I want !support to come up with my server notification. I could not. Could you help me? Sorry for my English

#

🤦 Translate!

knotty steeple
#

server notification?

quartz kindle
#

funny you can do this

#

in css

slender thistle
#

I must be doing it wrong then 😄

craggy roost
#

For example, when you send my bot support command on this server, the bot wants to support a sample user on the support server!

quartz kindle
#

i dont understand what you're asking

#

do you want the bot to post a link to the support server?

slender thistle
#

Which style rule is that?

craggy roost
#

😐

quartz kindle
#

make the bot send a message with your invite link

craggy roost
#

Dur bir dakika @steel heath burada

quartz kindle
#

message.channel.send("discord.gg/yourinvite")

craggy roost
#

No no no. This is not it

#

One minute

quartz kindle
#

@slender thistle this is the hierarchy

#

so #details .container .columns .column .status

slender thistle
#

Oh

#

Thanks

cerulean zinc
#

Whats better Jimp or Canvas? And why?

quartz kindle
#

canvas is much faster than jimp

#

sharp is much faster than both, depending on what you want to do

cerulean zinc
#

hmm. Whats interesting is jimp has 2x the downloads as Canvas, maybe because it seems easier?

quartz kindle
#

they do completely different things

cerulean zinc
#

But I prefer better compatibility and features

#

Well

#

They both to image manipulation

quartz kindle
#

jimp is an image editing library ported into javascript, while canvas is the html5 canvas ported into node

cerulean zinc
#

hmm

quartz kindle
#

jimp is like imgmagick

#

canvas is.. well.. canvas

cerulean zinc
#

True

#

So canvas would be better for things such as widgets?

quartz kindle
#

jimp runs on commands, while canvas is directly draws using javascript methods

cerulean zinc
#

Interesting

quartz kindle
#

canvas is faster because you're drawing everything in a virtual canvas in memory

#

jimp is using external manipulation libraries ported into js language, which is not fully optimized for that type of code

cerulean zinc
#

Ah

#

Canvas seems overall better

craggy roost
quartz kindle
#

so if you're doing simple things like cropping and overlays, go with sharp

#

or canvas

cerulean zinc
#

What about like widgets or profile images/stats

#

Same thing?

quartz kindle
#

canvas is good when you need to draw something from scratch based on user input or saved data

cerulean zinc
#

Hmm alright

quartz kindle
#

i'd use canvas

cerulean zinc
#

Because I noticed the BFD Widget module used Canvas

#

and it did it fast and with quality

#

But also, is Canvas Constructor better to use than raw canvas?

craggy roost
#

😦

cerulean zinc
#

Constructor seems to be easily done such as like Jimp, but is canvas

quartz kindle
#

@craggy roost

#

guru.guilds.find(name, "Guru Bot Support Server"); -> guru.guilds.get("support server ID");

slender thistle
#

Eh, #bot-details-page .status worked for me Thonk

quartz kindle
#

i personally use raw canvas

cerulean zinc
#

hmm

craggy roost
#

Hmm

quartz kindle
#

canvas constructor is easier to use, as its an abstraction layer

cerulean zinc
#

Constructor just makes it easier, but still requires Canvas

knotty steeple
#

canvas constructor doesnt have all the methods canvas has Thonk

cerulean zinc
#

Like whats missing

quartz kindle
#

canvas constructor is to canvas the same as discord.js is to discord api

craggy roost
#

@quartz kindle let destekduyurukanali = desteksunucusu.channels.find(name, "📃support-notifications"); This command is a finding support channel (İs this wrong?)

quartz kindle
#

also @slender thistle , its fine if it works in this case, but that selector will look for ALL status classes anywhere inside that ID, so its both slower and can possibly affect things you dont want it to

slender thistle
#

Would doing .status {} be a good idea, though?

#

Kinda new to HTML stuff :p

quartz kindle
#

that would look for the status class anywhere in the page

#

all instances of that class

slender thistle
#

Oh, okay

#

Gotcha, thanks

quartz kindle
#

the more specific you are with css, the faster it will be, and less possibilities of affecting things you dont want to affect

#

also, the more specific you are, the higher priority the rule has

slender thistle
#

👍

quartz kindle
#

for example .column .status will overwrite .status if they have the same rules

wide ruin
#

What is the client secret for?

inner jewel
#

oauth

wide ruin
#

What about it

inner jewel
#

getting access tokens

quartz kindle
#

@craggy roost if your channel never changes, use this desteksunucusu.channels.get("support channel ID")

slender thistle
#

Understood. Thanks for an explanation

wide ruin
#

Ok

#

Thanks

craggy roost
#

@quartz kindle Ok 👍 Thx

cerulean zinc
#

Anyone have a list for the methods on canvas constructor?

quartz kindle
#

you should be able to find them in their github page

#

also, if you're loading images from disk, do so only once, and keep them in memory

cerulean zinc
#

hmm alright

sick cloud
#

docs are there

cerulean zinc
#

Ah

#

Thanks

craggy roost
#

@quartz kindle

cerulean zinc
#

Im assuming constructor is better than reg canvas?

craggy roost
#

İs this now

quartz kindle
#

its not better

cerulean zinc
#

hmmmmmmmmmmm

quartz kindle
#

its just easier to use by adding an additional layer on top of it

cerulean zinc
#

Ah

quartz kindle
#

that simplifies commands

cerulean zinc
#

Right

#

So technically better 🙂

sick cloud
#

CC is just easier, it's like using a RichEmbed builder instead of making a raw embed JSON property

#

if that makes sense

cerulean zinc
#

It does

#

I do raw json tho 👏

quartz kindle
#

@craggy roost guru.guilds.channels.get(${ayarlar.destekkanali}); -> guru.channels.get(${ayarlar.destekkanali});

craggy roost
#

🤦

#

I am stupid

#

Now, thanks.

quartz kindle
#

i prefer raw canvas because i dont want additional dependencies

#

also my bot uses a lot of complicated canvas code, so im used to it

#

canvas trigonometry anyone? xD

fervent oyster
#

How the hecc do you guys get pictures from rule34 for the bot

sick cloud
#

idk, it has an api probably

#

google it

fervent oyster
#

I have been

#

No luck

knotty steeple
#

yea it has an api

#

idk where to get it

#

tho

quartz kindle
#

i mean

#

i literally just googled rule34 api

fervent oyster
#

IVE BEEN LOOKING FOR 2 DAYS BECAUSE SO MANY PEOPLE HAVE BEEN BEGGING ME FOR IT, also thank you

sick cloud
#

Anyone that uses RethinkDB can help me with this?

(node:21397) UnhandledPromiseRejectionWarning: ReqlDriverError: None of the pools have an opened connection and failed to open a new one.```
quartz kindle
#

i dont use rethink, but... wrong password?

zealous veldt
#

Tony

#

You used the wrong password

#

Pls cute

cerulean zinc
#

Any idea why canvas constructor aint writing text? Look in #commands for an example

earnest phoenix
#

Im getting this deprication warning... Anyone know what I am needing to change? Just let me know what piece of code you need

#

O I think this is the line thats depricated

let donatorRole = newMember.guild.roles.find("name", "Moosic Premium")
latent heron
#

anybody aware of if discord.py allows rich presence code?

earnest phoenix
#

Do you even know what deprication is @earnest phoenix?

latent heron
#

@gilded plank

earnest phoenix
#

Means that its gonna be removed?

#

o

#

@earnest phoenix its not deprecated

knotty steeple
#

it says its depreciated

#

it is

earnest phoenix
#

weird

#

its not documented

#

here

#

i use this because of role names being changed

heady zinc
#

what is deprecated is the <Collection>.find("property", "value") usage

#

it isn't supported in d.js v12

earnest phoenix
#

huh

slender thistle
#

@latent heron Setting activity to Rich Presence or fetching the info from Rich Presence?

earnest phoenix
#

this is how i get my roles and Everything else

latent heron
#

setting

heady zinc
#

so the valid syntax is <Collection>.find(r => r.name === "Moosic Premium");

#

@earnest phoenix

slender thistle
#

Not possible

earnest phoenix
#

wow really?

#

Why didnt they keep it the same?

#

i truthfully question that aswell

#

Its stupid that way

#

it looks like if you still have problems

#

you might need to map find it

deep yoke
#

because with find you cand do more things, like <Collection>.find(r => levensthtein.distance(r.name, somename) < somename.length / 3)

#

with .find(prop, value) it only do a strict equal

earnest phoenix
#

okay

#

@earnest phoenix is your solution solved yet?

#

or problem

#

Indeed. Thank you

#

i think you should thank @deep yoke

earnest phoenix
#

still beta so its free atm

#

You already mentioned that in another channel nut

#

So is discord having api trouble or not?

#

i am not sure

knotty steeple
#

im not having issues

earnest phoenix
#

same here

#

Fuck. Its always my bot

#

I'm re building my bot. Today

#

oh okay

#

Same account tho

#

i have a module system for mine

#

it makes my coding alot cleaner

#

Hey ^^
i have a probleme :l
How to ban with Id ( like zt!ban [ID] )
Bcs i have !ban @[user] but if i try id , isnt work XD

#

get the ID from the mention POGGERS

#

precisely ... if the member is not on my discord and I want the ban with id

#

🤔

#

@earnest phoenix oh let me get u somthing

#

hm?

#

@earnest phoenix i can find it sorry

#

np ^^

sick cloud
#

@earnest phoenix if they provide an ID (ie args) just use <Message>.guild.members.get(<The ID>).ban( ... ); (if your on discord.js that is)

earnest phoenix
#

oh

#

that was it

#

dang thanks tony

#

but

#

mine was a tine bit different

#

oh ty :3

#
guild.ban("ID HERE",'ban').catch(() => {})```
#

@earnest phoenix

sick cloud
#

that isn't how you use it

#

GuildMember#ban

#

so it's like, <GuildMember>.ban({ /* things */ })

earnest phoenix
#

hm

#

@sick cloud i was trying to remember

#

im on mobile aswell

#

@sick cloud isnt there a guildOption aswell?

sick cloud
#

no

#

iirc there isn't

earnest phoenix
#

any reason my bot wouldn't be recieving the ready event?

sick cloud
#

you gotta directly run ban on the guildmember

#

uh

#

is the event setup right?

earnest phoenix
#

yes

#

i was just double checking

#
// Ban a user by ID guild.ban('some user ID') .then(user => console.log(`Banned ${user.username || user.id || user} from ${guild}`)) .catch(console.error);```
heady zinc
#

that is not a thing in v12, which is why <GuildMember>.ban() is a better choice, as it works both on d.js v11 and v12

knotty steeple
#

Is there a hastebin API? i googled and i saw multiple so im asking which one most of you use

uncut slate
#

there's only one official hastebin API

knotty steeple
#

whats the link

#

i couldnt find the official one Thonk

uncut slate
#

docs ^

knotty steeple
#

ok thanks

earnest phoenix
#

dang, there removing nearly everything

knotty steeple
#

whats the base url

sick cloud
#

@knotty steeple https://hastebin.com/ i guess?

knotty steeple
#

ok then Thonk

sick cloud
#

idk

earnest phoenix
#

@knotty steeple i have it

#

let me get u it

#

or not

sick cloud
#

Honestly, Rethink is dead for me? I've never set a password, suddenly it's saying "Wrong password"

#

I've NEVER set one. Like now, nothing at all works

#

(╯°□°)╯︵ ┻━┻

quasi marsh
#

@sick cloud Don't you like

#

Own the Rethink instance?

sick cloud
#

yes its on my account, but I've never set an admin password

#

somehow it now exists

#

Ignoring --initial-password option because the admin password is already configured.
and trying to override it doesn't work

#

mmLol i did something fancy

latent heron
#

@earnest phoenix help

#

still not certified eh

earnest phoenix
#

mysql is screwing up for me but ive managed to slow it down

misty pawn
#

@sick cloud no idea, what you did... I use RethinkDB myself and it works well.... 🤷

dull breach
#

Can someone help me? I'm trying to send a "join-leave" message but when i'm trying to find a channel with that name there is warning:

earnest phoenix
#

well you should pass a functon to Collection.find() Thonk

#

d.js find uses new parameter since 11.4 i thnk

#

And you should use

member.guild.channels.find(c => c.name === joinChannel)
``` instead of 
```js
member.guild.channels.find('name', joinChannel)