Coder Social home page Coder Social logo

androz2091 / atlantabot Goto Github PK

View Code? Open in Web Editor NEW
842.0 31.0 580.0 72.21 MB

🤖 Another powerful Discord Bot with a web-dashboard used by more than 130k users!

Home Page: https://www.atlanta-bot.fr

License: GNU General Public License v3.0

JavaScript 78.62% Less 7.97% CSS 10.47% EJS 2.94%
atlanta dashboard discordjs useful multifunctions discord-bot dashboards easy-install

atlantabot's Introduction

Hey there 👋

I'm Androz2091 (a.k.a Simon). I'm from Toulouse, France and I'm now studying at EPFL, Switzerland.

🗒️ My blog
👨‍💼 My freelancer page
🟢 My status page

Projects ✨

I spent most of my time working on open-source software.

I'm the maintainer of hundreds of open-source projects, such as:

Skills & Tools 🖱️

When I need to build things, I usually go for vue Vue.js to code my websites and node-js Node.js with typescript TypeScript for my bots and APIs. My favorite database is definitely postgresql PostgreSQL.

I love discovering languages or frameworks that increase my productivity for my new projects such as Svelte, Golang, Flutter or tools like Sentry so feel free to send me a message with your recommendations on Discord or Twitter! 😁

Contact me 🤝

I'm available on Discord and Twitter.

atlantabot's People

Contributors

androz2091 avatar bycop avatar code-factor avatar deltacoderr avatar dependabot-preview[bot] avatar dependabot[bot] avatar devkoenv avatar emmanuel-novus-zz avatar emmiez avatar fkfhrgyufgufggfufvbgvxidfuyegry avatar galackqsm avatar helloskyline-a11y avatar hunam6 avatar leventhan avatar mizukn avatar muhitrhn avatar pkylian avatar realhinome avatar reva724 avatar shaynlink avatar synaro avatar thisdudeboy avatar tomasolsson avatar truexpixells avatar twlite avatar viruspowaa avatar wesleigh avatar windowsed1225 avatar xixi52 avatar zeriodev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atlantabot's Issues

TypeError: client.guilds.get is not a function

Please describe the problem you are having in as much detail as possible:
it's working fine on my pc but on the host i get this error
To Reproduce
Steps to reproduce the behavior:
i'm using oxide.host to host it with mongodb external
Expected behavior
A clear and concise description of what you expected to happen:
[2020-03-27 19:28:40.173]: LOG Loading Event: guildMemberRemove
[2020-03-27 19:28:40.174]: LOG Loading Event: guildMemberUpdate
[2020-03-27 19:28:40.178]: LOG Loading Event: message
[2020-03-27 19:28:40.179]: LOG Loading Event: messageUpdate
[2020-03-27 19:28:40.180]: LOG Loading Event: ready
[2020-03-27 19:28:40.481]: LOG Connected to the Mongodb database.
[2020-03-27 19:28:45.230]: LOG Loading a total of 113 command(s).
[2020-03-27 19:28:45.235]: READY Hanhona#3302, ready to serve undefined users in undefined servers.
[2020-03-27 19:28:45.469]: LOG Docs updated!
[2020-03-27 19:30:08.036]: CMD MajorAmari (309626033680941056) ran command play
[2020-03-27 19:30:17.478]: CMD MajorAmari (309626033680941056) ran command play
[2020-03-27 19:32:09.795]: CMD MajorAmari (309626033680941056) ran command play
[2020-03-27 19:32:20.280]: CMD MajorAmari (309626033680941056) ran command play
[2020-03-27 19:32:28.464]: CMD MajorAmari (309626033680941056) ran command skip
[2020-03-27 19:32:45.038]: CMD MajorAmari (309626033680941056) ran command play
[2020-03-27 19:32:55.488]: CMD MajorAmari (309626033680941056) ran command skip
[2020-03-27 19:33:04.056]: CMD MajorAmari (309626033680941056) ran command stop
[2020-03-27 19:33:09.254]: CMD MajorAmari (309626033680941056) ran command play
[2020-03-27 19:33:22.935]: CMD MajorAmari (309626033680941056) ran command stop
[2020-03-27 19:33:29.230]: CMD MajorAmari (309626033680941056) ran command help
TypeError: client.guilds.get is not a function
at /home/container/helpers/functions.js:57:39
at new Promise ()
at Object.supportLink (/home/container/helpers/functions.js:56:16)
at Help.run (/home/container/commands/General/help.js:85:92)
at module.exports.run (/home/container/events/message.js:224:17)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2020-03-27 19:35:12.374]: CMD MajorAmari (309626033680941056) ran command profile
TypeError: client.guilds.filter is not a function
at Profile.run (/home/container/commands/Economy/profile.js:53:43)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2020-03-27 19:35:30.843]: CMD MajorAmari (309626033680941056) ran command help
TypeError: client.guilds.get is not a function
at /home/container/helpers/functions.js:57:39
at new Promise ()
at Object.supportLink (/home/container/helpers/functions.js:56:16)
at Help.run (/home/container/commands/General/help.js:85:92)
at module.exports.run (/home/container/events/message.js:224:17)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[2020-03-27 19:35:44.931]: CMD MajorAmari (309626033680941056) ran command ascii
[2020-03-27 19:35:53.273]: CMD MajorAmari (309626033680941056) ran command announcement
[2020-03-27 19:35:58.022]: CMD MajorAmari (309626033680941056) ran command announcement
[2020-03-27 19:36:19.644]: CMD MajorAmari (309626033680941056) ran command minecraft
[2020-03-27 19:37:20.592]: CMD MajorAmari (309626033680941056) ran command fortniteshop
[2020-03-27 19:37:33.630]: CMD MajorAmari (309626033680941056) ran command setfortniteshop
[2020-03-27 19:37:53.989]: CMD MajorAmari (309626033680941056) ran command random
[2020-03-27 19:38:10.054]: CMD MajorAmari (309626033680941056) ran command stats
TypeError: client.guilds.get is not a function
at /home/container/helpers/functions.js:57:39
at new Promise ()
at Object.supportLink (/home/container/helpers/functions.js:56:16)
at Stats.run (/home/container/commands/General/stats.js:41:34)
at module.exports.run (/home/container/events/message.js:224:17)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Screenshots
If applicable, add screenshots to help explain your problem:
image

Further details:

  • atlanta version: latest update
  • discord.js version: 12.0.2
  • Node.js version: 12
  • Operating system: https://oxide.host/

Additional context
Add any other context about the problem here:
i hope you help me and add broadcast feature to the bot

Sharding

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
Implement sharding to the bot

Describe alternatives you've considered
N/A

Additional context
Would like to have sharding/cluster in the bot

-work not showing emoji Issue/Possible bug?

Problem: Couldn't get -work to show default emoji.
Was throwing
":regional_indicator_A:"
instead of the correct
":regional_indicator_a:"

To Reproduce
Fresh install.

Expected behavior
Actually show the default emoji instead of :regional_indicator_A::regional_indicator_W::regional_indicator_A::regional_indicator_R::regional_indicator_D:

Screenshots
https://i.imgur.com/Qp4cK0L.png

Further details:

  • atlanta version: 4.7.0.1
  • discord.js version: 12.xx
  • Node.js version: 12.xx
  • Operating system: ubuntu

Additional context
I'm not real familiar with javascript.

What I did

AtlantaBot/commands/Economy/work.js
Line 72: award[i] = :regional_indicator_${letter}:;
changed: award[i] = :regional_indicator_${letter}:.toLowerCase();

Seemed to fix the issue.

TypeError: Cannot read property 'user' of undefined

Please describe the problem you are having in as much detail as possible:
TypeError: Cannot read property 'user' of undefined

To Reproduce
Steps to reproduce the behavior:
run command invitations

Expected behavior
A clear and concise description of what you expected to happen:
TypeError: Cannot read property 'user' of undefined
at invites.filter (/app/commands/General/invitations.js:31:88)
at Map.filter (/rbd/pnpm-volume/6e0a6c9d-8740-4d20-a155-1b8398a6109b/node_modules/.registry.npmjs.org/@discordjs/collection/0.1.5/node_modules/@discordjs/collection/dist/index.js:189:17)
at Invitations.run (/app/commands/General/invitations.js:31:37)
at process._tickCallback (internal/process/next_tick.js:68:7)

Screenshots
If applicable, add screenshots to help explain your problem:

Further details:

  • atlanta version:4.6.4
  • discord.js version: 12.0-dev
  • Node.js version:10.15.3
  • Operating system:

Additional context
Add any other context about the problem here:

erreur

voial donc j'utilise la base de atlanta et le dash pour mon bot mais j'ais un problème avec le dash quand je me connect au dash , la redirection ne marche aps je reste bloquer infiniment sur la page oauth de discord

Et si j'annule je tombe sur sa :
image

problem with guildonly

if i set guildonly on false and i try to run a command in dm's its still doesn t work

Dashboard tuto

Peut tu faire un tuto comment mettre le dashboard en ligne via VPS?
Car j'ai test de le faire avec iss mes j'arrive pas et je vois pas comment faire :/

Problème de démarrage a cause de Quick.db

Bonjour j'aimerai faire par d'un problème de quick.db au démarrage du bot voici l'erreur Quickdb.init("./data/atlanta.sqlite"),

    ^

TypeError: Quickdb.init is not a function

Peut on utiliser le Dashboard à part ?

Bonjour Androz 👋

Est il possible d’utiliser le Dashboard à part ? C’est à dire sans devoir tout télécharger (si vous avez le temps). J’utilise moi meme Mongo DB et le dash étant en Mongo DB cela serait super de pouvoir le récupérer (sans négliger l’apparence qui est superbe à mon goût).

Une version du dash à part est elle prévue ?

Bonne journée à vous 🙂

Error

Error after starting bot ( Master Branch )
https://cdn.discordapp.com/attachments/569977794201649182/612740169497444409/Screenshot_2019-08-18-22-09-29.png

BUG

Bonjour Androz,

Etant donné que personne sur le Discord AndrozDev soit en capacité de m'aider, je te pose la question suivante :
Pourquoi mon bot (Code du Atlanta) n'affiche pas son statut ??

Malgré avoir regardé de nombreuses fois le ready.js et que je n'ai rien modifié dessus, je ne trouve pas l'erreur =/

Merci d'avance
Cordialement,

NocKby

Getting SentryError: Invalid Dsn when running the bot

(note: all dependencies were installed correctly. sentryDSN in config.js was not provided)
Command prompt output:

C:\ppbotB1>node atlanta.js
C:\ppbotB1\node_modules@sentry\utils\dist\dsn.js:40
throw new error_1.SentryError(ERROR_MESSAGE);
^

SentryError: Invalid Dsn
at new SentryError (C:\ppbotB1\node_modules@sentry\utils\dist\error.js:9:28)
at Dsn._fromString (C:\ppbotB1\node_modules@sentry\utils\dist\dsn.js:40:19)
at new Dsn (C:\ppbotB1\node_modules@sentry\utils\dist\dsn.js:13:18)
at NodeBackend._setupTransport (C:\ppbotB1\node_modules@sentry\node\dist\backend.js:25:19)
at NodeBackend.BaseBackend (C:\ppbotB1\node_modules@sentry\core\dist\basebackend.js:15:32)
at new NodeBackend (C:\ppbotB1\node_modules@sentry\node\dist\backend.js:15:42)
at NodeClient.BaseClient (C:\ppbotB1\node_modules@sentry\core\dist\baseclient.js:50:25)
at new NodeClient (C:\ppbotB1\node_modules@sentry\node\dist\client.js:19:23)
at Object.initAndBind (C:\ppbotB1\node_modules@sentry\core\dist\sdk.js:16:18)
at Object.init (C:\ppbotB1\node_modules@sentry\node\dist\sdk.js:102:12)
at Object. (C:\ppbotB1\atlanta.js:11:9)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

BUG Invalid DSN

Erreur pendant le démarrage du bot

SentryError: Invalid Dsn
at new SentryError (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\utils\dist\error.js:9:28)
at Dsn._fromString (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\utils\dist\dsn.js:40:19)
at new Dsn (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\utils\dist\dsn.js:13:18)
at NodeBackend._setupTransport (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\node\dist\backend.js:25:19)
at NodeBackend.BaseBackend (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\core\dist\basebackend.js:15:32)
at new NodeBackend (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\node\dist\backend.js:15:42)
at NodeClient.BaseClient (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\core\dist\baseclient.js:50:25)
at new NodeClient (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\node\dist\client.js:19:23)
at Object.initAndBind (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\core\dist\sdk.js:16:18)
at Object.init (C:\Users\cynthia\Desktop\AtlantaBot-develop\node_modules@sentry\node\dist\sdk.js:102:12)
at Object. (C:\Users\cynthia\Desktop\AtlantaBot-develop\bot.js:11:9)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

Problème impossible de lancer le bot

J'ai essayé sur plusieurs vps avec des versions de node differente et en local
discord 11.4-dev n'existe pas
"discord.js": "github:discordjs/discord.js#11.4-dev",
package.json

si j'utilise une autre version de discord.js j'ai cette erreur


/root/xiBot/atlanta.js:26
            new quickdb.table('usersdata'),
            ^

TypeError: quickdb.table is not a constructor
    at new Atlanta (/root/xiBot/atlanta.js:26:13)
    at Object.<anonymous> (/root/xiBot/atlanta.js:72:16)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

Et si node.js est trop récent cette erreur

internal/modules/cjs/loader.js:815
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: The module '/root/node_modules/better-sqlite3/build/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:815:18)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:681:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/root/node_modules/better-sqlite3/lib/database.js:5:21)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)

J'ai essayé de recompiler; de tout réinstaller sachant que j'ai un gros serveur de 1300 personnes qui attendent le retour de leur profil et que le bot était opérationnel jusqu'a ce que je veuille ajouté le site web j'ai besoin d'aide..

PS: je précise que j'ai clone le git sans toucher au code

Badges In ReadMe

What badge website did you use for your svg’s in the read me? TYIA

Help ?

Bon apparemment il faut ouvrir une issue ;-;
Bon, je n'arrive pas à installer le module, bref je comprend rien et ça me fait rager....

TypeError: Can't read property slice of undefined

Please describe the problem you are having in as much detail as possible:
Can't read property slice of undefined when click on the top 1 by credits or top 1 by level
I tried all branches and the same issue apears

Screenshots
If applicable, add screenshots to help explain your problem:
20200408_111004

BUG

Please describe the problem you are having in as much detail as possible:

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen:

Screenshots
If applicable, add screenshots to help explain your problem:

Further details:

  • atlanta version:
  • discord.js version:
  • Node.js version:
  • Operating system:

Additional context
Add any other context about the problem here:
Screenshot_2020-01-01-20-55-07-920
Why show me error :-https://discordapp.com/oauth2/authorize?response_type=code&redirect_uri=https%3A%2F%2Fmagic-aspen.glitch.me%2Flogin&scope=identify%20guilds&client_id=656731663107227678 my total setup done

BUG client

Please describe the problem you are having in as much detail as possible:
I self host the bot and have an error when I run an command that has the client tag in it
To Reproduce
Steps to reproduce the behavior:
Run any command with the client tag in it like !partners or !staff
Expected behavior
A clear and concise description of what you expected to happen:
Run the command without issues
Screenshots
If applicable, add screenshots to help explain your problem:
image

Further details:

  • Atlanta version:
  • 4.5.0
  • discord.js version:
  • latest
  • Node.js version:
  • 12.11.0
  • Operating system:
  • Windows 10 Home

Please remove references to AnIdiotsApi from the docs

https://www.atlanta-bot.fr/installation/windows and https://www.atlanta-bot.fr/installation/linux make reference to "AnIdiots API" with a link to a nonexistent Discord server since the API went offline on September 23rd. It's even removed from the code, 5d81ee0 , but references are there in the docs.

This causes some people to join An Idiots Guide, the other server made by the guy that had the API, asking about getting a key and such. Not the end of the world, but it's a bit of an annoyance that could be resolved by fixing the documentation.

Cheers,
Evie

all Command not Running

Please describe the problem you are having in as much detail as possible:

To Reproduce
Steps to reproduce the behavior:
node .

Expected behavior
A clear and concise description of what you expected to happen:
after running node. Everything works smoothly, but when I run all commands there is no reaction at all or it doesn't run
for more details, we provide screenshots at the Atlanta command prompt

Screenshots
https://snipboard.io/cM5SQ7.jpg

Further details:

Additional context
Add any other context about the problem here:

DM Commands

Please describe the problem you are having in as much detail as possible:
When trying to execute a command in a DM, Atlanta responds with PREFIX_DM instead of the respective message.

To Reproduce
Steps to reproduce the behavior:
Type a command in a DM with Atlanta

Expected behavior
A clear and concise description of what you expected to happen:
Error message/run the command

Screenshots
If applicable, add screenshots to help explain your problem:
Screen Shot 2020-07-18 at 9 51 47 PM

Further details:

  • atlanta version: v4.7.0
  • discord.js version:
  • Node.js version:
  • Operating system:

Additional context
Add any other context about the problem here:

Bug: checkUnmutes.js | Cannot find property "find" of undefined

Issue description:
Simply having the bot running with no actively muted users spams the console with the following:

TypeError: Cannot read property 'find' of undefined
    at Timeout.setInterval [as _onTimeout] (C:\Users\criti\Repositories\atlanta\helpers\checkUnmutes.js:13:26)

Reproduction steps:
Simply run the bot without having anyone muted.

Expected behavior
The code should detect if there is nobody muted, and if so, simply stop running until the next scan starts.

Further details:

  • atlanta version: latest
  • discord.js version: v12 (master)
  • Node.js version: v13.11.0
  • Operating system: Windows 10 Home 64-bit

BUG

Please describe the problem you are having in as much detail as possible:
command work don't work

Further details:

  • atlanta version: 4.7.1
  • discord.js version: 12.2.0
  • Node.js version: 12.18.3
  • Operating system: Heroku docker

Additional context
Add any other context about the problem here:
2020-07-28T11:44:00.733175+00:00 app[worker.1]: 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(). The promise rejected with the reason:
2020-07-28T11:44:00.733210+00:00 app[worker.1]: TypeError: Cannot read property 'name' of null
2020-07-28T11:44:00.733212+00:00 app[worker.1]: at Work.run (/app/commands/Economy/work.js:71:54)
2020-07-28T11:44:00.733212+00:00 app[worker.1]: at runMicrotasks ()
2020-07-28T11:44:00.733212+00:00 app[worker.1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
2020-07-28T11:44:00.733424+00:00 app[worker.1]: TypeError: Cannot read property 'name' of null
2020-07-28T11:44:00.733424+00:00 app[worker.1]: at Work.run (/app/commands/Economy/work.js:71:54)
2020-07-28T11:44:00.733425+00:00 app[worker.1]: at runMicrotasks ()
2020-07-28T11:44:00.733425+00:00 app[worker.1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)

"a": ":a:",
"w": ":regional_indicator_w:",
"r": ":regional_indicator_r:",
"d": ":regional_indicator_d:"

The dashboard isn't running.

The dashboard will not run for some reason. The bot says it's online but the dashboard doesn't load on the open source end.

[Enhancement] verify-config.js script - check if the dashboard port is open

Is your feature request related to a problem? Please describe.
If the port 3000 for example is used by another nodejs process the script will not warn that.

Describe the solution you'd like
Make the script checking if the port in the config is open or used

Describe alternatives you've considered
Check if the dashboard is enabled, if yes check if the port is open by using a module (i don't see another alternative) like net

Additional context
None

voiceChannel must be type of VoiceChannel

Please describe the problem you are having in as much detail as possible:
I self host the bot and have an error when I run an music command i have the api on

To Reproduce
Steps to reproduce the behavior:
Run any command !play
Expected behavior
A clear and concise description of what you expected to happen:

Screenshots
If applicable, add screenshots to help explain your problem:
image
Further details:

  • atlanta version:v4.6.4
  • discord.js version:v12.0.0-dev
  • Node.js version: v13.9.0
  • Operating system: windows 10 64

Additional context
Add any other context about the problem here:

Section premium

Je penser à un truc pas mal, faire une section premium comme sur d'autres bots, genre des commandes ou voir des avantages spécial premium 😏😉

BUG?

Please describe the problem you are having in as much detail as possible:
Using the configuration command to change a settings for example from "false" to "true". But since "false" has been cached the "true" won't be read from MongoDB until the bot is restarted and the cache has been refreshed. How can I fix this issue?

I tried using the let guildData = await this.client.findOrCreateGuild({ id: message.guild.id }); function to update/refresh the cache but it doesn't seem to work.

To Reproduce
Steps to reproduce the behavior:
Changing a value with the configuration command.

Expected behavior
A clear and concise description of what you expected to happen:
A wait to manually update or refresh the cache.

Using the function let guildData = await this.client.findOrCreateGuild({ id: message.guild.id }); for example should refresh the cache. or a specific function.
Screenshots
If applicable, add screenshots to help explain your problem:

Further details:

  • atlanta version: 4.6.4
  • discord.js version: 12.2.2
  • Node.js version: 12
  • Operating system: win10

Additional context
Add any other context about the problem here:

BUG

Please describe the problem you are having in as much detail as possible:
I self-host the bot on heroku and i enabled the dashboard but it gave me an error.

To Reproduce
Steps to reproduce the behavior:
Run the bot on heroku

Expected behavior
A clear and concise description of what you expected to happen:
I get this error:
2020-03-02T08:35:24.744548+00:00 heroku[web.1]: State changed from starting to crashed
2020-03-02T08:35:24.651216+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2020-03-02T08:35:24.651216+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-03-02T08:35:24.730872+00:00 heroku[web.1]: Process exited with status 137

Screenshots
If applicable, add screenshots to help explain your problem:
image

Further details:

  • atlanta version:4.6.4
  • discord.js version:12.0.1
  • Node.js version:12.16.1
  • Operating system:Heroku

Additional context
Add any other context about the problem here:

minecraft command is no longer working

Minecraft command issue

*minecraft ip
In discord use this command

Expected it to bring back
https://i.imgur.com/5MLcXWb.png

In AtlantaBot/commands/General/minecraft.js
Line 70 "json.raw.version.name || json.raw.server_engine"
The .name is undefined, so i just commented it out to work. Not sure if it's a parsing issue or what quite yet. Just testing all commands still.

Further details:

  • atlanta version:
  • discord.js version:
  • Node.js version:
  • Operating system:
    All newest versions.
    Ubuntu 20 lts

TypeError: giveaways.launch is not a function

Please describe the problem you are having in as much detail as possible:
getting error in events/ready.js
the error is [TypeError: giveaways.launch is not a function
at module.exports.run (/app/events/ready.js:45:19)
at Atlanta.client.on.args (/app/alpha.js:34:49)
at Atlanta.emit (events.js:189:13)]..
and also bot is not showing the status..
To Reproduce
Steps to reproduce the behavior:
N/A
Expected behavior
A clear and concise description of what you expected to happen:
N/A
Screenshots
If applicable, add screenshots to help explain your problem:
no
Further details:

  • atlanta version:4.6.4
  • discord.js version:12.0.0
  • Node.js version:10.15.3
  • Operating system:node.js

Additional context
Add any other context about the problem here:

This.Client BUG?

Please describe the problem you are having in as much detail as possible:
When the bot joins a guild than the bot gives an error "this.client.channels.get is not a function"

To Reproduce
Steps to reproduce the behavior:
node atlanta.js

Expected behavior
A clear and concise description of what you expected to happen:
When the bot joins a guild, the support server should recieve a message that the bot joined a guild.

Screenshots
If applicable, add screenshots to help explain your problem:
image

Further details:

  • atlanta version: 4.6.4?
  • discord.js version: 12.0.1
  • Node.js version: 13.5.0
  • Operating system: Windows 10

Additional context
Add any other context about the problem here:

BUG

Please describe the problem you are having in as much detail as possible:
-Music player choose what it wants, if you search something, I thing it reproduces first search it gets, not your choice

-Backup isnt working

Backup Cannot read property 'filter' of undefined BUG

Please describe the problem you are having in as much detail as possible:
When I use the backup command I get "Cannot read property 'filter' of undefined". If I log it I get this error.

TypeError: Cannot read property 'filter' of undefined
    at Object.<anonymous> (Z:\atlanta\node_modules\discord-backup\lib\master\create.js:79:18)
    at step (Z:\atlanta\node_modules\discord-backup\lib\master\create.js:33:23)
    at Object.next (Z:\atlanta\node_modules\discord-backup\lib\master\create.js:14:53)
    at Z:\atlanta\node_modules\node_modules\discord-backup\lib\master\create.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (Z:\atlanta\node_modules\discord-backup\lib\master\create.js:4:12)
    at Object.getRoles (Z:\atlanta\node_modules\discord-backup\lib\master\create.js:74:12)
    at Z:\atlanta\node_modules\discord-backup\lib\index.js:192:67
    at step (Z:\atlanta\node_modules\discord-backup\lib\index.js:33:23)
    at Object.next (Z:\atlanta\node_modules\discord-backup\lib\index.js:14:53)
    at fulfilled (Z:\atlanta\node_modules\discord-backup\lib\index.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

To Reproduce
Steps to reproduce the behavior:

  1. run the backup command with the create arg

Expected behavior
A clear and concise description of what you expected to happen:
Backup the server I dont know as i have not got the command working

Screenshots
If applicable, add screenshots to help explain your problem:
Discord_DWYjW86uHM

Further details:

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.