forked from afspiegeling/NitoriBot
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d43ecc249 |
@@ -20,6 +20,6 @@ module.exports = {
|
||||
const bot = context.bot;
|
||||
const args = context.arguments;
|
||||
bot.discord.message.channel.send(args.join(' '));
|
||||
bot.chat.send(args.join(' '));
|
||||
// bot.chat.send(args.join(' '));
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"buildstring": {
|
||||
"build": "2050",
|
||||
"codename": "§aGame §aTheory",
|
||||
"version": "v7.0.0",
|
||||
"build": "2055",
|
||||
"codename": "",
|
||||
"version": "v7.0.1",
|
||||
"url":"https://code.chipmunk.land/Parker2991/FridayNightFunkinBoyfriendBot"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,10 +5,10 @@ function inject (context) {
|
||||
|
||||
bot.on('packet.position', packet => {
|
||||
bot.position = {
|
||||
x: packet.flags & 1 ? (this.x + packet.x) : packet.x,
|
||||
y: packet.flags & 2 ? (this.y + packet.y) : packet.y,
|
||||
z: packet.flags & 4 ? (this.z + packet.z) : packet.z
|
||||
};
|
||||
x: packet.x,
|
||||
y: packet.y,
|
||||
z: packet.z
|
||||
}
|
||||
|
||||
bot._client.write('teleport_confirm', { teleportId: packet.teleportId })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user