Giter Site home page Giter Site logo

tibia-ts3-teamspeakbot's People

Contributors

dependabot[bot] avatar ethaan avatar katyadelarosa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tibia-ts3-teamspeakbot's Issues

commands dont work

Hello, i managed to use this bot, but the commands !addEnemy ${enemyName}
!addEnemysByGuild ${guildName}
!removeEnemy ${enemyName}
!addFriend ${enemyName}
!addFriendsByGuild ${guildName}
!removeFriend ${enemyName}
!addNeutral ${enemyName}
!removeNeutral ${enemyName}
!addMakersEnemy ${enemyName}
!removeMakersEnemy ${enemyName}
!addMakersFriend ${enemyName}
!removeMakersFriend ${enemyName}
!addPossibleEnemys ${enemyName}
!removePossibleEnemys ${enemyName} dont work

only !mp, !mk, !mmove !addNewAdmin ${username}
!removeModerator ${username}
!addNewModerator ${username}
!removeModerator ${username}

do you have any idea why it wouldnt work?

Still white page, GHI-2-DEV does not give white page

The master branch still gives me white pages but GHI-2-DEV works, i messed with it a bit and it didn't want to add anything to lists but I think it was my fault. Any way i can fix the white page on master branch? @Ethaan All i do is yarn install and then start.

i need some help pls

when i try to setup get some errors

root@teaspeak:/home/teaspeak2020/tibia-ts3-teamspeakbot# yarn ts3-setup
yarn run v1.22.4
$ babel-node -r ./node_modules/dotenv/config.js ./src/scripts/setup
⠋ Connecting to the DB(node:2957) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2957) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
(node:2957) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
(node:2957) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
✖ There was some error starting the server
(node:2957) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
(node:2957) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:2957) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Send MassPoke AS ${user}

There should be a way to send a massPoke as ${user} to avoid having pokes like ETHAN_TS3_BOT instead have pokes like .Ethaanpump (we should add a . to avoid having errors like name_already_taken)

Delete alerts

Right now deleting items and stuff its very easy and tend to be very error promp, we need as a minimum show an confirm box

Ubuntu Guide 16.01

Hello, im looking for any guide to install and run in Ubuntu 16.01 and want to know more about the features like if I can use this bot installed in home and have it on some servers

!addFriendsByGuild command issue

After using !addFriendsByGuild bot is not working.

[root@server tsbot]# yarn ts3-start
yarn run v1.22.4
$ babel-node -r node_modules/dotenv/config ./src/scripts/start
Browserslist: caniuse-lite is outdated. Please run next command yarn upgrade
✔ Server running!, happy hunting
(node:5691) DeprecationWarning: Mongoose: findOneAndUpdate() and findOneAndDelete() without the useFindAndModify option set to false are deprecated. See: https://mongoosejs.com/docs/deprecations.html#-findandmodify-
TypeError: Cannot read property 'info' of undefined
at info (/tsbot/src/api/crone/lists.js:158:41)
at Array.forEach ()
at forEach (/tsbot/src/api/crone/lists.js:158:30)
at tryCatch (/tsbot/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/tsbot/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype. [as next] (/tsbot/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/tsbot/src/api/crone/lists.js:36:103)
at _next (/tsbot/src/api/crone/lists.js:38:194)
TypeError: Cannot read property 'info' of undefined
at info (/tsbot/src/api/crone/lists.js:158:41)
at Array.forEach ()
at forEach (/tsbot/src/api/crone/lists.js:158:30)
at tryCatch (/tsbot/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/tsbot/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype. [as next] (/tsbot/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/tsbot/src/api/crone/lists.js:36:103)
at _next (/tsbot/src/api/crone/lists.js:38:194)
TypeError: Cannot read property 'info' of undefined
at info (/tsbot/src/api/crone/lists.js:158:41)
at Array.forEach ()
at forEach (/tsbot/src/api/crone/lists.js:158:30)
at tryCatch (/tsbot/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/tsbot/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype. [as next] (/tsbot/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/tsbot/src/api/crone/lists.js:36:103)
at _next (/tsbot/src/api/crone/lists.js:38:194)

Error info

I run the command !addFriend and i get this error constantly and the character is not added on friends channel

TypeError: Cannot read property 'info' of undefined
    at info (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:158:41)
    at Array.forEach (<anonymous>)
    at forEach (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:158:30)
    at tryCatch (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:45:40)
    at Generator.invoke [as _invoke] (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:271:22)
    at Generator.prototype.(anonymous function) [as next] (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:97:21)
    at asyncGeneratorStep (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:36:103)
    at _next (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:38:194)
    at <anonymous>

debugging i see this problem

{ CloudflareError: 1020, Access Denied (Custom Firewall Rules)
    at validateResponse (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/cloudscraper/index.js:240:11)
    at onCloudflareResponse (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/cloudscraper/index.js:195:5)
    at onRequestResponse (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/cloudscraper/index.js:178:5)
    at Request.<anonymous> (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/cloudscraper/index.js:137:7)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/request/request.js:1161:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
    at Gunzip.<anonymous> (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:111:20)
    at Gunzip.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
  name: 'CloudflareError',
  message: '1020, Access Denied (Custom Firewall Rules)' }

debugging cloudscraper i get this

REQUEST { requester: 
  { [Function: request]
    get: [Function],
    head: [Function],
    options: [Function],
    post: [Function],
    put: [Function],
    patch: [Function],
    del: [Function],
    delete: [Function],
    jar: [Function],
    cookie: [Function],
    defaults: [Function],
    forever: [Function],
    Request: 
     { [Function: Request]
       super_: [Object],
       debug: true,
       defaultProxyHeaderWhiteList: [Array],
       defaultProxyHeaderExclusiveList: [Array] },
    initParams: [Function: initParams],
    debug: [Getter/Setter],
    bindCLS: [Function: RP$bindCLS] },
 jar: 
  RequestJar {
    _jar: CookieJar { enableLooseMode: true, store: { idx: {} } } },
 headers: 
  { Host: Symbol(host),
    Connection: 'keep-alive',
    'Upgrade-Insecure-Requests': '1',
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36',
    Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
    'Accept-Language': 'en-US,en;q=0.8',
    'Accept-Encoding': 'gzip, deflate, ' },
 cloudflareMaxTimeout: 30000,
 followAllRedirects: true,
 challengesToSolve: 3,
 decodeEmails: false,
 gzip: true,
 agentOptions: 
  { ciphers: 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA:!ECDHE+SHA:!AES128-SHA' },
 uri: 'https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor',
 header: 
  { 'Cache-Control': 'max-age=0, no-cache, must-revalidate, proxy-revalidate' },
 method: 'GET',
 realEncoding: 'utf8',
 encoding: null,
 callback: [Function: RP$callback],
 transform: undefined,
 simple: true,
 resolveWithFullResponse: false,
 transform2xxOnly: false }
REQUEST make request https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor
REQUEST onRequestResponse https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor 403 { date: 'Wed, 30 Oct 2019 04:07:40 GMT',
 'content-type': 'text/html; charset=UTF-8',
 'transfer-encoding': 'chunked',
 connection: 'keep-alive',
 'set-cookie': 
  [ '__cfduid=dadac3b73e8ba480c31fb3292117f8f161572408460; expires=Thu, 29-Oct-20 04:07:40 GMT; path=/; domain=.tibia.com; HttpOnly; Secure' ],
 'cache-control': 'max-age=15',
 expires: 'Wed, 30 Oct 2019 04:07:55 GMT',
 'x-frame-options': 'SAMEORIGIN',
 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
 vary: 'Accept-Encoding',
 server: 'cloudflare',
 'cf-ray': '52da860be865c5c4-EWR',
 'content-encoding': 'gzip' }
REQUEST reading response's body
REQUEST finish init function https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor
REQUEST response end https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor 403 { date: 'Wed, 30 Oct 2019 04:07:40 GMT',
 'content-type': 'text/html; charset=UTF-8',
 'transfer-encoding': 'chunked',
 connection: 'keep-alive',
 'set-cookie': 
  [ '__cfduid=dadac3b73e8ba480c31fb3292117f8f161572408460; expires=Thu, 29-Oct-20 04:07:40 GMT; path=/; domain=.tibia.com; HttpOnly; Secure' ],
 'cache-control': 'max-age=15',
 expires: 'Wed, 30 Oct 2019 04:07:55 GMT',
 'x-frame-options': 'SAMEORIGIN',
 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
 vary: 'Accept-Encoding',
 server: 'cloudflare',
 'cf-ray': '52da860be865c5c4-EWR',
 'content-encoding': 'gzip' }
REQUEST end event https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor
REQUEST has body https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor 3061
REQUEST emitting complete https://www.tibia.com/community/?subtopic=characters&name=Falaron%20Ghanor
TypeError: Cannot read property 'info' of undefined
   at info (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:158:41)
   at Array.forEach (<anonymous>)
   at forEach (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:158:30)
   at tryCatch (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:45:40)
   at Generator.invoke [as _invoke] (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:271:22)
   at Generator.prototype.(anonymous function) [as next] (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:97:21)
   at asyncGeneratorStep (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:36:103)
   at _next (/opt/teamspeak3-server/bot/tibia-ts3-teamspeakbot/src/api/crone/lists.js:38:194)
   at <anonymous>

somehow cloudflare is blocking my access to the tibia site, is there anything i can do?

Commands

To make the bot more re-usable, we should add a way to add and configurate commands so the user can simple call !masspoke <message> and the TS will be smart enought to.

  • Check if the user can send pokes (have master admin role or something)

  • Mass poke everyone

Error

TypeError: Cannot read property '_id' of null

Error executing command on bot

When running the command on ts3! addFriend $ {enemyName} the following error appears in the terminal:

TypeError: Cannot read property 'info' of undefined
at info (/root/tibia-ts3-teamspeakbot/src/api/crone/lists.js:158:41)
at Array.forEach ()
at forEach (/root/tibia-ts3-teamspeakbot/src/api/crone/lists.js:158:30)
at tryCatch (/root/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/root/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (/root/tibia-ts3-teamspeakbot/node_modules/regenerator-runtime/runtime.js:97:21)
at asyncGeneratorStep (/root/tibia-ts3-teamspeakbot/src/api/crone/lists.js:36:103)
at _next (/root/tibia-ts3-teamspeakbot/src/api/crone/lists.js:38:194)
at

Mass Kick + message

When the user selects Mass Kick, there should be an optional input to send a message so it Mass Poke then Mass Kick

Item Pokes

We should send a POKE when certain actions happends to the items like.

  • Poke if died

  • Poke if lvl up

  • Poke if online

Cannot change bot's nickname

Hi, @Ethaan !

Dude, many ways I've tried to change bot's nickname but unsuccessful...
I've tried to set it on .env, explicited on init.js without import from constants, searched if there's a way to change in teamspeak files... and either unsuccessful...

I would like to change this: https://prnt.sc/se7cjr

Ts3-setup not found!

XXXX@XXXXXXXX:/tibiabot/tibia-ts3-teamspeakbot$ ls
README.md SETUP_0.md SETUP_1.md package.json src yarn-error.log yarn.lock
XXXX@XXXXXXXX:
/tibiabot/tibia-ts3-teamspeakbot$ yarn ts3-setup
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'ts3-setup'
XXXX@XXXXXXXX:~/tibiabot/tibia-ts3-teamspeakbot$

Better info messages

Right now its not much clear how the TS BOT works, and how to help us, we should.

  • Create a Default channel with the info

  • Create a better wiki

  • Update the app to display the info, like banner messages etc

Missing routing file

modules-runtime.js?hash=8587d188e038b75ecd27ed2469a52b269e38fb62:231 Uncaught Error: Cannot find module '/imports/startup/client/Routes'

at /imports/startup/client/index.js request a /imports/startup/client/Routes which is not present

Errors when trying to set up the bot

I'm trying to set up the bot and I'm getting the following messages (after npm install)

Error: Cannot find module 'node_modules/dotenv/config' from 'C:\Users\User\Documents\GitHub\tibia-ts3-teamspeakbot'
    at Function.module.exports [as sync] (C:\Users\User\Documents\GitHub\tibia-ts3-teamspeakbot\node_modules\resolve\lib\sync.js:74:15)
    at Object.<anonymous> (C:\Users\User\Documents\GitHub\tibia-ts3-teamspeakbot\node_modules\@babel\node\lib\_babel-node.js:158:32)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)
    at startup (bootstrap_node.js:190:16)
    at bootstrap_node.js:662:3

If i drag the dotenv folder to the root directory and change ts3-setup to babel-node -r dotenv/config ./src/scripts/setup in package.json I get the following:

× There was some error starting the server
(node:188468) UnhandledPromiseRejectionWarning: Error: connect EADDRNOTAVAIL 127.0.0.1 - Local (0.0.0.0:27800)
    at Object._errnoException (util.js:1003:13)
    at _exceptionWithHostPort (util.js:1024:20)
    at internalConnect (net.js:962:16)
    at defaultTriggerAsyncIdScope (internal/async_hooks.js:280:19)
    at GetAddrInfoReqWrap.emitLookup [as callback] (net.js:1115:9)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:102:10)
(node:188468) 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: 3)
(node:188468) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Erro

$ meteor --settings settings/development.json
[[[[[ ~/tibia-ts3-teamspeakbot ]]]]]

=> Started proxy.
Browserslist: caniuse-lite is outdated. Please run next command npm update caniuse-lite browserslist
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
Unexpected mongo exit code 14. Restarting.
Can't start Mongo server.
Unspecified unrecoverable error. Exit was not clean
error Command failed with exit code 254.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

can anybody help me?

BOT Channels

The bot channels should:

  • Not allow edits

  • Not allow people to enter them

Errors prevented startup:

Errors prevented startup:

While preparing to run:
settings/development.json: file not found (settings file)

Your application has errors. Waiting for file change.
Started MongoDB.

Notiify about Whitelist IP

We need to notify users that 162.243.136.10 should be whitelisted if not they will get banned in seconds

Problems with initials configuration

hey ethaan.
nice project you have over here, but i m stuck in some configurations steps and i was wondering if you could help me out, o hole guild need this bot quite urgentlly so if you could please send me a whatsapp we would be very gratefull my phone is +5534997781312
please help us out with this!

I need help with the following error

npm run ts3-setup

[email protected] ts3-setup /home/tibia-ts3-teamspeakbot
babel-node -r ./node_modules/dotenv/config.js ./src/scripts/setup

/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/files/plugins.js:175
throw e;
^

Error: Cannot resolve module '@babel/preset-env'
at parseFloat (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/files/plugins.js:97:11)
at resolveStandardizedName (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/files/plugins.js:100:7)
at resolvePreset (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/files/plugins.js:48:10)
at loadPreset (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/files/plugins.js:67:20)
at createDescriptor (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
at items.map (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/config-descriptors.js:109:50)
at Array.map ()
at createDescriptors (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
at createPresetDescriptors (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/config-descriptors.js:101:10)
at presets (/home/tibia-ts3-teamspeakbot/node_modules/@babel/core/lib/config/config-descriptors.js:47:19)

npm ERR! Linux 5.3.13-1-pve
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "ts3-setup"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] ts3-setup: babel-node -r ./node_modules/dotenv/config.js ./src/scripts/setup
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] ts3-setup script 'babel-node -r ./node_modules/dotenv/config.js ./src/scripts/setup'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the carlin-backend package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel-node -r ./node_modules/dotenv/config.js ./src/scripts/setup
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs carlin-backend
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls carlin-backend
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/tibia-ts3-teamspeakbot/npm-debug.log

Erro

yarn ts3-setup
yarn run v1.17.3
$ babel-node -r node_modules/dotenv/config ./src/scripts/setup
⠋ Connecting to the DB/home/snop3252/tibia-ts3-teamspeakbot/node_modules/mkdirp/index.js:90
throw err0;
^

Error: EACCES: permission denied, mkdir '/home/snop3252/tibia-ts3-teamspeakbot/node_modules/.cache'
at Object.mkdirSync (fs.js:757:3)
at sync (/home/snop3252/tibia-ts3-teamspeakbot/node_modules/mkdirp/index.js:71:13)
at sync (/home/snop3252/tibia-ts3-teamspeakbot/node_modules/mkdirp/index.js:77:24)
at sync (/home/snop3252/tibia-ts3-teamspeakbot/node_modules/mkdirp/index.js:77:24)
at save (/home/snop3252/tibia-ts3-teamspeakbot/node_modules/@babel/register/lib/cache.js:50:20)
at process._tickCallback (internal/process/next_tick.js:61:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:832:11)
at Object. (/home/snop3252/tibia-ts3-teamspeakbot/node_modules/@babel/node/lib/_babel-node.js:234:23)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Error: Cannot find module 'node_modules/dotenv/config'

yarn run v1.21.1
$ babel-node -r node_modules/dotenv/config ./src/scripts/setup
/root/tibia-ts3-teamspeakbot/node_modules/resolve/lib/sync.js:83
throw err;
^

Error: Cannot find module 'node_modules/dotenv/config' from '/root/tibia-ts3-teamspeakbot'
at Function.resolveSync [as sync] (/root/tibia-ts3-teamspeakbot/node_modules/resolve/lib/sync.js:81:15)
at Object. (/root/tibia-ts3-teamspeakbot/node_modules/@babel/node/lib/_babel-node.js:166:32)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


[root@DESKTOP-UFJ7E2F tibia-ts3-teamspeakbot]# ls -l node_modules/dotenv/
total 24
-rwxrwxrwx 1 root root 3919 Oct 26 1985 CHANGELOG.md
-rwxrwxrwx 1 root root 189 Oct 26 1985 config.js
drwxrwxrwx 1 root root 512 Feb 26 18:03 lib
-rwxrwxrwx 1 root root 1294 Oct 26 1985 LICENSE
-rwxrwxrwx 1 root root 3858 Feb 26 18:03 package.json
-rwxrwxrwx 1 root root 9542 Oct 26 1985 README.md

Requests!

Can you add poke if friend/enemy/maker is died?

I have test new integration with tibiadata (requests provided by me) and is working perfect.

Thanks you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.