Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 29 2020 12:24
    @roblabla banned @SWP360
  • May 29 2020 12:24
    @roblabla banned @diediediediede1_twitter
rom1504bot
@rom1504bot
<huben> sometimes just having a browser extension wont let u access their sites
rom1504bot
@rom1504bot
<extremeheat> Why would that be accessible over a GET request?
<extremeheat> Weird
rom1504bot
@rom1504bot
<VLAADOS> maybe someone knows how to make it so that the photo is sent 1 time when it is turned on, and it is not sent anymore?
https://cdn.discordapp.com/attachments/413438067471548427/1067756884074954762/image.png
<Lucienn> messageCreate is fired when it receives a message event, Discord recently made this a private intent so you'd need to enable it for your bot in the Discord developer portal.
rom1504bot
@rom1504bot
<Lucienn> You can use client.on('ready', client => {}) to trigger an action on bot start
rom1504bot
@rom1504bot
<VLAADOS> does not work
rom1504bot
@rom1504bot
<Lucienn> It's a documented event with Discord.JS so it will work if you use it properly. I'd ask for support in their server or have a look at the documentation online.
rom1504bot
@rom1504bot
<CobbleShop> Since updating to the latest mineflayer version (for 1.19.2) there's a strange bug(?) for previous server-versions. Or maybe i'm dumb?
Before updating i used to get the "system" pos in the message-event for server-related messages.
Since the update this pos is "undefined" on 1.8.9 servers.
Is that due to the changes for the 1.19.2 update?
rom1504bot
@rom1504bot
<extremeheat> Probably a bug, make an issue
<CobbleShop> wish me luck, never done anything on github before :Kek:
rom1504bot
@rom1504bot
<VLAADOS> !s bot.attack()
<VLAADOS> /s bot.attack()
<VLAADOS> !s bot.attack
rom1504bot
@rom1504bot
<SkillIssue> !s bot._client
<SkillIssue> !s bot.client
rom1504bot
@rom1504bot
<WhoTho> nice
rom1504bot
@rom1504bot
<Pix3lPirat3> ThTs node-Minecraft-protocol
rom1504bot
@rom1504bot
<Generel> !s bot._client
<Generel> huh.
<Generel> i thought that’d show up
<Jovan04> that's node-minecraft-protocol
<Jovan04> ._client is basically accessing n-m-p
rom1504bot
@rom1504bot
<SkillIssue> i see
<SkillIssue> ty
This message was deleted
rom1504bot
@rom1504bot
<Generel> right but its mentioned on mineflayer’s api page
<Frej Nielsen> It's only on the unstable api
rom1504bot
@rom1504bot
<Jovan04> is there any documentation for the unstable api?
<extremeheat> Unstable means undocumented
<extremeheat> It will break between versions as necessary
rom1504bot
@rom1504bot
<Jovan04> okay fair
rom1504bot
@rom1504bot
<declan> how do i get intellisense working for mineflayer?
<Pix3lPirat3> ask a professional :kekw:
rom1504bot
@rom1504bot
<squeaky> <a:laughbounce:755086227744751656>
rom1504bot
@rom1504bot
<bonana> Quite rude
<bonana> ._.
<Pix3lPirat3> Alright mr professional <a:ZeroTwoNo:854899505600921660>
<Pix3lPirat3> idk what intellisense is tho only intelligence :dab:
<bonana> Oh no no no... im a retard
rom1504bot
@rom1504bot
<Pix3lPirat3> Sameeeee
<bonana> I managed to crash my pc with node
<Pix3lPirat3> :potatopc:
rom1504bot
@rom1504bot
<Ic3Tank> If it is not working already you have done something wrong while installing mineflayer
<declan> i figured it out it was some random setting in my vscode
rom1504bot
@rom1504bot
<KayDeeSea> hey
<KayDeeSea> why is socks undefined in the proxy example
<PrismarineJS> To use a proxy with mineflayer, add the key connect to your mineflayer.createBot() like this:
const bot = mineflayer.createBot({
+  connect: (client) => {
+    socks.createConnection({
+      proxy: {
+        host: <proxy_ip/proxy_host>,
+        port: <myProxyPort>,'
+        type: 5,
+        userId: '<proxy_username>',
+        password: '<proxy_password>'
+      },
+      command: 'connect',
+      destination: {
+        host: '<mc_server_host/ip>',
+        port: <mc_server_port>
+      }
+    }, (err, info) => {
+      if (err) {
+        console.log(err)
+        return
+      }
+      client.setSocket(info.socket)
+      client.emit('connect')
+    })
+  },
- host: 'localhost'
  username: <mc_username>,
  password: <mc_password>
})
rom1504bot
@rom1504bot
<Dr.D> I think socks is a npm package you can install, then require it like you do mineflayer