#development
1 messages · Page 1575 of 1
no errors come up either
@client.group(invoke_without_command=True, aliases=['cmd', 'commands', 'Help','HELP'])
@commands.cooldown(1, 10, commands.BucketType.user)
async def help(ctx):
embed = discord.Embed(
colour = discord.Colour.red()
)
embed.set_author(name = 'Agent 47 Help')
embed.add_field(name = 'Prefix setup', value = '`?help Prefix`', inline=True)
embed.add_field(name = ':scales: Moderation :scales:', value = '`?help Mod`', inline=True)
embed.add_field(name = ':tada: Giveaways :tada:', value = '`?help Giveaways`', inline=True)
embed.add_field(name = ':tools: Utility :tools:', value = '`?help Utility`', inline=True)
embed.add_field(name = ':money_with_wings: Crypto :money_with_wings:', value = '`?help Crypto`', inline=True)
embed.add_field(name = ':information_source: Bot info :information_source:', value = '`?help Info`', inline=True)
embed.set_footer(text='Made by H I T M A N#8128')
await ctx.message.delete()
await ctx.send(embed = embed)```
oh lord please make a dynamic help command
at=error code=H14 desc="No web processes running" method=POST path="/dblwebhook" host=python-bot-69.herokuapp.com request_id=8d419c85-3215-4aa0-ad97-c641cada6851 fwd="165.22.130.154" dyno= connect= service= status=503 bytes= protocol=https
I'm getting this error when using a heroku webhook
why??
Flaze know any api or npms that can retrive random images or gifs from query
a dynamic help command saves you time since you don't have to add new commands to the help command everytime
yh but will that fix the problem?
my problme is when the bot has no permissions, the help command doesnt work
not really has to do with your problem but you should do it anyways
you need to catch the error
only command that works is the changeprefix command when it has no permissions
the same reason as to why you wouldn't draw an image you saw on google but you would rather print it
because it's more convenient, efficient and you get a better end result
just check if the bot has the EMBED_LINKS permission before trying to send the message
lol
try except finally else is python's system
idk python so yeah
thats why im stuck
also im having a bit of a dumb momenet, Is there anyway to import a class from a CDN url from a function in JS
thats the thing when they test the bot they dont use any permissions
set up error handling properly
^
I feel like this is not how to go about this problem:
export function extractFiles(torrentId, submit) {
import("http://127.0.0.1:8080/static/torrent.min.js").then((wt) => {
let client = new wt.Webtorrent()
client.add(torrentId, function (torrent) {
torrent.on('error', function (err) {
console.log(`Got exception: ${err}`)
})
submit(torrent.files)
})
});
}```
That could work
probably doesnt help that im not entirely sure wtf im importing
console.log wt to check what it is and go from there
Also maybe cache the result from import so you don't make a new request every time you call the function
client.on(eventName, event.bind(null, client));
^
TypeError: event.bind is not a function
why i got this error?
Function.prototype.bind() only works on functions
You might be exporting something else
but yesterday it works :/
What did you change since then?
nothing
Log event and see what it returns
maybe you added a file which doesn't export a function
^
and eventFile to see from which file it's coming
Don't you love it when your code fixes itself
that's concerning
scary
Can anyone tell me why this command is not working?
if(message.content === " ") { let rate = [] let embed = new discord.MessageEmbed() .setTitle() .setColor() .setDescription(rate[Math floor(Math.random() * rate.length)]) }
you are checking if the message is a space
Nope

There is a command
The command only does something if the message is a space
I think he's cutting out the command name and whatever inside the rate array
Not to reveal anything to us 🗿
that doesnt really help us tho does it 
a message can't be a space
Please go learn javascript and then come back k thanks
what do you expect it to return
there's no send message or anything
Like dankrate command
console.log("Code blocks like these")
console.log("Because syntax higlighting makes the code easier to understand for most")
No i kept message.channel.send(embed)
if(message.content === " ") {
let rate = []
let embed = new discord.MessageEmbed()
.setTitle()
.setColor()
.setDescription(rate[Math floor(Math.random() * rate.length)])
}
You expect us to help you while you're cutting out everything from the code you showed
any error logs?
No
also rate is an empty array and you are trying to set the description as a null or undefined value
thats it
Why not show us the actual code instead of cutting everything out as i said
yes
Ok
if you cut things out we can't help
It's more easy to use
let rate = Math.floor(Math.random() * 101)
Ohk
@earnest phoenix
Yep
Thats my prefix
You're checking if the entire content is equal to that command, use String.prototype.startsWith() to check if it starts with the command
ok
also, just do this instead
Ok
and then append % to the number (in a string)
sure
Where i have to add %?
in a string
Not in message.channel.send?
Ya
like ```js
message.channel.send(Your rate is **${rate}%**)
["1%", "2%", "3%"...] bruh
Working
Yeah
Imagine doing that up to 1k
i don't know whether to feel mad or sad just how many people don't understand how percentages work lmfao
Why not both
i could tell
close enough
Ya
on programming the numbers starts since 0
So if you use 100 it gives a number btw 0 and 99
which means just moving decimal places
just +1
you would + 1 at the result
Ya
ez
Like
let finalRate = rate + 1;
ok
const
function getRandomPercentageFromPercentageArray() {
const percentageArray = ["1%", "2%", "3%", "4%", "5%", "6%", "7%", "8%", "9%", "10%", "11%", "12%", "13%", "14%", "15%", "16%", "17%", "18%", "19%", "20%", "21%", "22%", "23%", "24%", "25%", "26%", "27%", "28%", "29%", "30%", "31%", "32%", "33%", "34%", "35%", "36%", "37%", "38%", "39%", "40%", "41%", "42%", "43%", "44%", "45%", "46%", "47%", "48%", "49%", "50%", "51%", "52%", "53%", "54%", "55%", "56%", "57%", "58%", "59%", "60%", "61%", "62%", "63%", "64%", "65%", "66%", "67%", "68%", "69%", "70%", "71%", "72%", "73%", "74%", "75%", "76%", "77%", "78%", "79%", "80%", "81%", "82%", "83%", "84%", "85%", "86%", "87%", "88%", "89%", "90%", "91%", "92%", "93%", "94%", "95%", "96%", "97%", "98%", "99%", "100%"]
let num = 0;
for(const x = { num: 1 }; x.num < Math.random() * 100; x.num++) {
if (Math.random() > .1) num = num + 1;
}
return percentageArray[num]
}```
bro I swear that was pain to type
good code
dammn
Calm down your hands with Nick Furry #memes-and-media
@earnest phoenix can you try breaking a cs sandbox
depends
now do floating points as well
floating points are what?
points that float
ah ty for the clarification
okay so
export function extractFiles(torrentId, submit) {
import('http://127.0.0.1:8080/static/torrent.min.js')
.then((module) => {
console.log(module);
});```
This is successfully acquiring the module
But how does one extract a exported constructor from said module 
Hmm what does a module object look like actually? Never seen one
won't it be YouClassName?
like, the constructor has the same name as the class
Thats what i thought until we got undefined 😔
Retorna uma referência para a função Object que cria a instância do protótipo. Note que o valor desse protótipo é uma referência para a própria função, não uma string contendo o nome da função. O valor é apenas read-only para valores primitivos como 1, true e "test".
have u tried module.constructor?
How is the class expoted? Is it the default export
ok then
hi im new and im tryna make a disc bot and i am learning from tutorial however, for some reason, i get this error
u can see in 15th,
something is wrong, but i do not know where i went wrong
please help at the earliest
you have a bunch of syntax errors
wdym?
:, indentation
hover over the red line, your ide should tell u
unintendent does not match any outer indention
then as norizon said, indentation
im sry to waste ur time, but, truth be told, i am rly bad at comp science, so i do not know how to fix that
hope im not bein annoying, this is just a passion i wanna learn
You really might wanna learn basic Python instead of getting straight into Discord bots
starting with the language fundamentals
um, how long does it take to learn?
maybe a couple months to a year perhaps to get to the right stage
Also for indents you must use the same number of spaces/tabs and you used 1 space on one indent and more on another
depends, but python is relatively an easy language to start with, at least to me
If you already have coding experience it's even faster. But yeah- Python is definitely one of the easier ones
how do i fix it?
I would advise against delving into Discord bot development before you know how to write proper syntax. You're just gonna be confused, and people will most likely not help you if you don't understand what they're telling you
use the same number of spaces for indents everywhere
thanks, do u k a good website to learn?
I learned quite a bit from just watching YouTube videos. But there are hundreds of different websites and guides. Just google around and you'll surely find one that you like
Just make sure the guide isn't like 5 years old
Example:
def my_function():
# do some stuff
if True:
print("one") # 4 spaces indents here
else:
print("two") # 2 spaces indents here
# won't work because you must use EITHER 4 spaces or 2 EVERYWHERE
thank you so much
if that makes sense lulw
so
this line of code isnt working...
it works fine with the ban permition
but the move members isnt working as it shoud
can u send the other parts of the code
not the enteire bot, just this command
here
i won't help to make a nuke bot cause it's against the tos
but its a random thing
Is there any way to get the Sticker URL from a Message if a Sticker is sent? Discord JS 12.4.0
yes
Is there any way to get the URL of it? Cuz message.content doesnt have that. And is there any way to use the new Reply feature in Discord JS?
djs doesn't support them
stickers are a property of the message object so you can't really get it without modifying djs
there's a PR open if you wanna fork djs and merge it yourself
Okay imma try
Hmm
Would be a Idea too
Replies are not there yet too right? If yes i would just fork the Libary and Add both thingys
correct
Can i just fork it and yoink those prs in it and just straight up use it or is there a catch?
yeah, npm allows installing from a git repo
you might encounter some breaking changes though
Yea lets just hope
Can someone help me install nodejs in bitvise
How do i get that PR to merge with mine tho
If you don't have push (write) access to an upstream repository, then you can pull commits from that repository into your own fork.
Is that the one for the new Replies? https://i.raven-bot.de/data?file=32AO66XP.jpg
Or whats the one i need?
replies are already supported in the master branch
that PR is just for the reply method
If u mean this reply it’s gonna be in v13 of discord.js
Yea i mean this reply
Cry said its usable in v12 too. Lets just hope
:woah: 13✨ :blobreach: _ _ _ _ _ _ :ayy: ha, neeerds, i'm still on v11
• is it out yet? no.
• replies?! replies.
• slash commands?! slash commands.
• rewrite?! no.
• is it out yet? no.
From the support server
Hmm okay
you can roll your fork, you don't have to use the official npm releases lol
lel
Can Someone Help About Why Wont My Command Work?
Code: https://pastebin.com/hu7CKKsx
Everytime I Put The Command, The Bot Wont Do Anything And The Command Handler Seems Fine.
https://i.raven-bot.de/data?file=40RZ29KC.jpg Currently trying to get this puppy to work
Everytime I Put A Command The Bot Dont Say Anything
https://i.raven-bot.de/data?file=44AA04HD.jpg just havin lil problems here and there lmao
okay so @sterile minnow it seems that you just need to set replyTo property in the options object in send
send("content", { replyTo: message object | message id });```
Can Someone Help About Why Wont My Command Work?
Code: https://pastebin.com/hu7CKKsx
Everytime I Put The Command, The Bot Wont Do Anything And The Command Handler Seems Fine.
Debug It
oh god... why are you hard-coding every role?
It Looks More Eaiser To me
So How Do i Fix It
Since It Wont Work
If you knew javascript you could be able to do what you are doing in 30 lines
i am on python and i have a code question
my trivia command count as answer any message from any member
how can i put that it take as answer only a message from the member who requested the command?
hey
how do i create an array in c# with all the letters of the alphabet, and it ranmdomly generates 9 of them each time.
yeah, i have tried findinitbut i can't.
are you sure you need to create an array filled with letters
why not an array with just those 9 letters
check if ctx.author.id is the same as the author id of the reply
is this for your assignment lmfao
wait_for()?
yes

that's not how js comparison works
omg life saver. Thanks.
Nice google
when in doubt stackoverflow your way out
do i have to put this at the start?
What
Put it wherever you want to check that the author replied
Are you sure you can't find that on google?
.net
use dotnet publish
def check(m):
return m.author = ctx.author and m.channel is ctx.channel
try:
await bot.wait_for('message', timeout=10, check=check)
except asycnio.TimeoutError:
handle_error()``` 
the existence of for loop is in danger 

Actually, did you mean to just random pick the question? If so, just use random.choice or secrets.choice 
==, you should not copy it directly doe
the alll thing that i want is that the bot consider as a reply a message from the guy who type the command
I know, you've been told how to do so
==
But the way you do your command doesn't scale
also handle_error() isnt an actual function, that's gonna throw an error
I just put it there as a placeholder
and the if checks should go in the try/except block
yh it's giving an error on it
not really, if they just want to wait for a message, they can just do it once instead of waiting for a message in every if / elif
true
hi, i'm brazilian, someone?
hi brazillian, here - https://www.youtube.com/watch?v=d0GAsYpxvlo
Watch the official music video of "Someone" by The Rembrandts .
Get The Rembrandts music:
iTunes: http://apple.co/1dkfU34
Amazon: http://amzn.to/1APCpb2
The Rembrandts info:
Website: http://www.therembrandts.net/
😂
Hey guys, umm, reviews from my bot on topgg keeps disappearing, is it some sort of housekeeping done on the reviews?? This is the second time that happened..
uh probably this? #site-status message
Thanks
yikes is that a cf ban?
need help?
lol, I just got 429'd from my own server 😆
Any problem/issue?
!command args1 <#channel>
How can I get #channel?
message.mentions.channels.first() gets the args1.
is args1 a channel?
no.
hi i need help makiing a ping command
It's a message, basically it will be an id
it's in js
You can view a tutorial! .. or read the documentation.
neither worked for me
module.exports = {
commands: 'ping',
callback: (message, arguments, text, client) => {
message.reply('Calculating ping...').then(resultMessage => {
const ping = resultMessage.createdTimestamp - message.createdTimestamp
message.reply(`Bot latency: ${ping}, API Latency: ${clients.ws.ping}`)
})
},
}
this doesn't work...
How can I get the channel from <#channel>?
@quartz kindle just discovered how I hate to publish packages to mavencentral
Guys, can someone help me?
the move members chek is not wprking...
check*
it blocks me evry time
even if i have the move_members permittion
that's so colorful idk where to start reading lul
is that the eclipse theme
pog
fixed this!
let channel = <message>.mentions.channels.first();
guys?
What do u need??
here
Oh that's python, sorry idk about discord.py
I can help lol
Show the code , where the problem is caused
here
Python... like basic english
hahahaha
that's not the problem 
or does python allow this kind of strings?
check*
that's an f string
hahah
lul
no
the cool kids use f strings
is the check , where the #is beginning?
?
this isnt working
its allways bgiving me the not permission error
even if i have the move member permittion
permission*
log out the permisson
log the permissons of the member / commands in this case in console
that looks fine lol
format string
fuck string
bruh string for you
whats the ID of everyone?
The guild's id
ah, ty
SO I'm working on my programming language, and it's very difficult to parse function the way javascript does:
(...) => { ... }
replacing the parentheses with another character (for example |) would make it super easy but I don't really want to do that
About a week or so is i think how long it took for me
you should ask in discord.gg/discord-developers
i can't send invites cause im a whitename
i see, thanks guys ^^ 🙂
so, question
how do you make a category channels that visible to everyone?
whenever theres no channels, it seems to autohide
though the moment i add channels to it, its visible to @ everyone

i suppose you just make the category visible and the channels require a role
huh, not sure in that case
though when im inspecting as the @ everyone role, it simply doesnt show up
though, as soon as i add a channel to the category, it appears just fine
i mean, using voice is an option, but i'd be best to use categories
I think that's just how discord works
thats kinda of a bummber tbh
Edit those channels?
you have to sync them with the category, then you have to sync them manaully, through pulling them in a category or editing each one xD
Following up on that, I'm currently thinking of a way of checking if this is in fact an arrow function and not just a wrapped expression - but I can only look one token ahead of time. A function can be () =>, or (param) =>, or (param, ...) =>.
what?
since when do categories need to have a parent?
messed things up lol, when the channels are not located in a category, then you have to edit them each manaually, when they are , you have to sync them manaually the category
finally, after crossing the pits of despair, climbing through mountain of bureaucracy, swimming against the currents of teminal errors...
lol
I successfully published the package
Which one 👀 ?
i still cant make sense of what you're saying
im ONLY using a category
lol, what is your problem xD?
theres no channels involved in any of this
so idk why you're mentioning text channels
so you want a category without any channel?
yeah
this behavior must be new or your perms are fucked
they can not see it , when they do not have the Manage Channel perm lol @opal plank
nah tested it
huh interesting
xD
but I am not sure.If it is your Intention to give random users manage channel perm lol
what are yall talkin about?
thats the thing, giving manage channel to @ everyone does NOT seem like a good idea whatsoever
voice channels are your best option
yeah thats what i might have to fallback to
@Not Erwin#8753 wants to create a category, with no channel, which is shown to everyone
why is the category better than the Vc?
what's the issue?
Categories with no channels in there, will not be shown, when they do not have the Manage_Channel perm in the category
was playing around with some stuff, and needed to lock users out of it without the lock sign on it
purely visual
the voice would have a lock sign next to it if users couldnt connect
yeah, true
doesnt happen in categories
see the server as @everyone
look at the first ss
ah yes, is this spanish?
pt-br

categories without channels get hidden by default
thats a big bummer
unless MANAGE_CHANNELS
portuguese, brazilian
nearly xD
doesn't discord have a suggestions page?
this is infuriating tbh
that'd be neat to have
hate those locks
but when you are the admin, they are not shown
well, the point is for the users to see it, not me
i got my stats locally, the whole point is to advertise it
¯_(ツ)_/¯
to other people
they do not inbuilt everything xD, what the users suggest
and they have reported this and they are freaking out about that?
wait what?
Was the "no seeing lock on channel idea" a Idea/Request from the user?
so you would like that Uses , will not see the lock or the connect button on the vc?

"Create text"
i am so confused as to what either of you are talking about
lol, forgot it, have to go off 

i made a category, which is part of a channel structure, i set poeple to see it. Why the fuck does discord thinks its fine to just hide it?
more place 
like, a "create text" would be very easy on their side, would take almost no space/processing as a channel and would be useful af
.entity-button .entity-table .entity-owner {
border-radius: 4px;
}
is this the correct way to have multiple classes using same code
idk
or do i have to add commas between these classes
pretty sure you use commas in between the classes
^
ok ty
right now this is selecting an element that has all three applied
yes
how
lib?
what
what lib are u using?
ty
was getting the doc link
my bot is turning off when someone kicks or invites it and i dont know whats causing it to do that
it was working yesterday
show code
at least the part where you're declaring onGuildRemove event
also, is there something in the log?
it is, but goddamn i hate it
like just screenshot i will know if it works or not
what font are u trying to use?
It’s working
it's not probably, times is default fallback for missing fonts
if you didn't set font-family
monterserrat
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;900&display=swap');
* {
font-family: "Monterserrat", sans-serif
}
.content a {
color: #2afad0;
}
.entity-content__description {
border-radius: 5px;
}
.entity-button, .entity-table, .entity-owner {
border-radius: 4px;
}
this is the full code
what did i make wrong
i followed the google add font steps
idk if import will work at all
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;900&display=swap" rel="stylesheet">
``` or this
think you want to use the font face
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}```
credit from w3schools for sure

ok
woff
woff ok
even though i added these it still shows serif font
@font-face {
font-family: "GothamPro";
src: url(https://gist.github.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/fad2f254369fb54250260077a4c87391a6280c52/GothamPro.woff) format("woff");
font-weight: 400, 500;
}
@font-face {
font-family: "GothamPro";
src: url(https://gist.github.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/fad2f254369fb54250260077a4c87391a6280c52/GothamPro-Medium.woff) format("woff");
font-weight: 600;
}
@font-face {
font-family: "GothamPro";
src: url(https://gist.github.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/fad2f254369fb54250260077a4c87391a6280c52/GothamPro-Bold.woff) format("woff");
font-weight: 900;
}
i don't see what's wrong
body {
font-family: "GothamPro" !important
}```
you need to apply the font family that was created by the @font-face
that applies it to the body
np
wait no i think it's not really working
;-;
it's showing the other font
because when i edit it locally using inspect it still shows the serif stuff
i think no matter you change body or * it's basically the same
do you see the .woff file being downloaded in the network tab?
is there a reason for not using google fonts and @import
um yeah i do have some alts: gotham, monterserrat, and metropolis
no idea how to get the font file from google
like the raw link
yes but
what
shit
wrong reply
OK, so in mongoose I am having a bit of an issue. This should be getting rid of the prefix value from the document, right? js await guildConfig.findOneAndUpdate( { _id: message.guild.id }, { _id: message.guild.id, prefix: undefined }, { upsert: true, omitUndefined: true }, );
i hate mobile
lol
this
that should work completely fine
i tried import but not working tho
revert back to google fonts and import then check the console and network tab
was this for me? If so, it just didn't seem to work
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;900&display=swap');
is this correct thing to import
was talking to raymond, i hate nosql
if that's what google gives you, sure
ok
oh lmao
nice google task failed successfully
are u recording network traffic?
idk but i can't even find a single font from google
wait it's using a bunch of woff2 is that ok
well, you shouldn't define anything but src and font-family there
google fonts takes care of providing the font sources for you
@import and setting font-family is enough
aren't google fonts included in chrome already?
no
https://top.gg/bot/619613322903420929 ok go check also i use firefox
bruh this is dumb i had no idea why it's failing
but by editing the * block and replace the font with ur local existing font will work
this is a literal earthbound monment
when u use local existing fonts for the block it works
when u try to import it doesn't even try to work
so i guess the problem is the importing
it's because you didn't structure your html correctly
share your bot description
in a bin
sure the markdowns like the desc won't affect stuff
https://paste.mod.gg/wuyekuqolo.md with everything if ur professonal
<html>
<head>
<!-- everything that belongs in the head (scripts, styles, meta tags...) -->
</head>
<body>
<!-- the actual content of your page -->
</body>
</html>
you can't place style tags anywhere you want
ohhhh forgot about that
md supports html tho
iirc they're put inside body right?
they just probably parse markdown stuff to html
the content is put inside a div
and set everything as innerHTML, which also includes html-specific stuff
really
just follow the structure i sent above
before <style>
you can still use md in the body as the markdown parser takes care of that i think
nvm i messed up my explanation
if not, well, if you're going to use html, might as well use it fully
um ok
you should also probably just set the font in your bot description, not the entire page
.entity-content__description > * {
rules:;
}
i'm setting for the entire page tho
i know you are
so is my thing correct now? https://paste.mod.gg/ufaqirulut.xml
try it and see
that depends on the speed of your brain-waves
lol
I get this/./..
const banembed = new Discord.MessageEmbed()```
and my code is..
no
@quaint wasp what's wrong with your code? what doesn't work
// using akairo so args is defined in CommandOptions
let prefix = args.prefix; // '.'
if (prefix === this.client.config.prefix) { prefix = undefined; } // prefix is now undefined
await guildConfig.findOneAndUpdate(
{ _id: message.guild.id },
{ _id: message.guild.id, prefix },
{ upsert: true, omitUndefined: true },
);``` So if the prefix is `.` which is the current value for the config, this should delete that value from the document but it's not even updating it
why three seperate add fields 👀
```js
code
```
```js
```
this also works y'know
just in case you believe you actually have to chain the methods
???
I assume you clicked the wrong person?
if the prefix is undefined, delete it from the document in mongoose
that's not what they're trying...
^^
its probably better to check if its undefined when you set it, and then just delete it rather than updating/adding it
yeah
Thing is, there are other values in the schema
like muteRole etc.
so I don't want to delete the entire document in case those values exist
🤔
I'll make an example
oh
but I thought omitUndefined would handle that for me, as it says in the docs?
[options.omitUndefined=false] «Boolean» If true, delete any properties whose value is undefined when casting an update. In other words, if this is set, Mongoose will delete baz from the update in Model.updateOne({}, { foo: 'bar', baz: undefined }) before sending the update to the server.```
and that's what my code has
but it had it before right?
potentially, its just setting it to undefined, since its not receiving it in the query?
i dont think mongodb has omitUndefined, so thats mongoose right?
No, in the document when I check the prefix is the same as before the update
Correct, it is mongoose
okay yeah, so its just not setting anything because your only updating other thigns
things*
mongoose is just sending nothing related to the prefix, so mongodb doesnt change anything, which is what omitUndefined does.
ok (btw sry i had to leave my computer for an hour)
Oh so I should only not have prefix in their?
hey
theres no point in adding it, since it doesnt send it.
how do i compile my c# program with folders etc to exe?
Ohh so like if it's undefined it just doesn't update it
run node build -l/usr/bin
/s
yeah
@earnest phoenix ok doesn't seem to work guess i will give up that option lol
ill check out the site in a sec
show your code
I wonder what they actually did
yeah i don't see people changing the fonts so yeahhhh
i have a program.cs file in the folder. How do i actually compile it to exe?
uH oK
i sent you an answer already
i still can't figure it out
then just use dotnet publish 👁️ 👄 👁️
what a c# bot? what even is that library
uhhhm
you have examples on the doc page
One message removed from a suspended account.
it deadass doesn't get simpler than running dotnet publish
One message removed from a suspended account.
...
One message removed from a suspended account.
wat
that's all?
One message removed from a suspended account.
not Monteserrat
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
yes, which proves you didn't read the doc page; go read the doc i sent you
One message removed from a suspended account.
they literally pasted there the code they have
One message removed from a suspended account.
One message removed from a suspended account.
\
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
you don't have a package named discord installed
except this is css
omg i am stupid
ok will try
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
are you all high on oxy or something today
you forgot to add the sarcasm switch
One message removed from a suspended account.
¯_(ツ)_/¯
@copper cradle ily wtfffffff
One message removed from a suspended account.
alr
One message removed from a suspended account.
WHAT IT'S BEEN A TYPO THE WHOLE TIME
One message removed from a suspended account.
are you high
yes
One message removed from a suspended account.
raymond and awesome are two different people
One message removed from a suspended account.
that was the first thing I noticed when I read your code
One message removed from a suspended account.
this is a misunderstanding
One message removed from a suspended account.
yeah
are you sure you're not high
One message removed from a suspended account.
One message removed from a suspended account.
raymond and awesome, again, are two different people with different issues
One message removed from a suspended account.
One message removed from a suspended account.
I was helping the dude with the css problem
One message removed from a suspended account.
which made a misspelling
One message removed from a suspended account.
🤦
bro what is going on
One message removed from a suspended account.
this chat is an oxymoron
One message removed from a suspended account.
same
One message removed from a suspended account.
so i tried installing the discord.net etc using dotnet
One message removed from a suspended account.
only thing i am getting is the same error lmao
One message removed from a suspended account.
One message removed from a suspended account.
dnet forces you to access methods through entities, in some cases you have to fetch the entity first which is very expensive for some bots which are on the brink of getting ratelimited
dsp exposes every endpoint right on the client 🤷♂️
The project does not support adding package references through the add package command.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
haven't i already installed that tho
One message removed from a suspended account.
One message removed from a suspended account.
show your csproj
vsc marketplace or just pc
One message removed from a suspended account.
One message removed from a suspended account.
already have one tho
One message removed from a suspended account.
isn't c# vs or is it vsc
c# is a language
ik
One message removed from a suspended account.
i am pretty sure i already have it
but how do people edit
One message removed from a suspended account.
show the contents of your csproj oh my god
One message removed from a suspended account.
anything that is capable of saving text to a file
chill dood
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
oh ok nvm oh wait i made a visual app that's why i used vs ok nvm that
this chat is autistic
One message removed from a suspended account.
ok
One message removed from a suspended account.
One message removed from a suspended account.
i'm not even familiar with c# text based stuff ;-;
One message removed from a suspended account.
@sage bobcat have you delved into unsafe c# yet
One message removed from a suspended account.
it's so fun i managed to break my app 10 times within 2 minutes
One message removed from a suspended account.
One message removed from a suspended account.
ik but "holy shit wrong server"
One message removed from a suspended account.
so he's definitely on somewhere else
One message removed from a suspended account.
i am using netcore 4.7.1
that isn't net core
One message removed from a suspended account.
you have a net fx project
One message removed from a suspended account.
yeah that apparently
uhhm
One message removed from a suspended account.
my bad
delete your csproj and run dotnet new console
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
okay it is done cry
now you can use the dotnet add package command
i hop se
including dotnet publish
One message removed from a suspended account.
.net fx != .net/.net core
fx means framework, the x means any version of framework
framework is windows only (and is long dead and replaced by .net5.0 which is now cross platform)
One message removed from a suspended account.
aha okay thanks!
MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file. how in fuck sakes
One message removed from a suspended account.
One message removed from a suspended account.
in ts, how would I say that a function takes a value of an enum?
you have multiple csproj in your folder
One message removed from a suspended account.


