Git Product home page Git Product logo

aldebaran's Introduction

Aldebaran

Discord Server Issues

Aldebaran is a Discord multi-purposes bot which offers a lot of assistance regarding DiscordRPG, but which also has a lot of commands of all kinds such as action, image and NSFW commands!

Commands

Aldebaran currently has 81 commands over 11 categories - check them out by adding Aldebaran to your server now!

Invite Aldebaran

Main server

Join the main server to stay updated about the new updates!

Discord Server

Aldebaran Development

Contribute as a normal user

There are several ways to contribute to Aldebaran, the easiest one is to find bugs and report them with the &bugreport command, or file an issue here on GitHub if you want it to be fixed faster, reports with &bugreport can be accidentally skipped while it is easier to keep track of issues with GitHub. This works exactly the same if you want to make a suggestion with &suggestion or on GitHub. The more you describe your bug report or suggestion, the faster it will be fixed or implemented (or done as you wanted).

Contribute as a developer (Pt. 1: Introduction)

Read LICENSE (AGPL-3.0) before doing anything on the project.

If you know JavaScript and more particulary Node.js using the "discord.js" library, you can contribute to Aldebaran with actual code by submitting pull requests on GitHub. For big features, it is recommended to ask the main developers, more specifically the maintainers. The most important is to explain your changes, your code will be checked by one member of the Aldebaran team anyways. The more your code and pull requests are documented, the more chances you will have for your changes to get implemented into Aldebaran.

Contribute as a developer (Pt. 2.1: Default Environment)

In order to run this project, you need Node.js 12+ and a MySQL database.

$ git clone https://github.com/Nightorn/Aldebaran.git
$ yarn install
$ node app

If your environment file is valid (.env file, take example on the .env.example file if needed), your instance of Aldebaran should be online!

Run Aldebaran with Docker (Pt. 2.2: Docker Environment)

In order to easily run Aldebaran with Docker, you need both Docker and Docker Compose. If you use Windows, you will need to run Docker through the Windows Subsystem for Linux using this guide. If you use any other platform than Linux, you won't be able to run Aldebaran with Docker unless you use a virtual machine.

Download the docker-compose.yml file from the Aldebaran GitHub repository, fill the .env file by copying on the .env.example file and type docker-compose up -d in a command-line interface; wait a few seconds and Aldebaran should be up and running!

Contribute as a developer (Pt. 3: Getting help)

If you need help for working on Aldebaran, just go to the main server and go to the channels that have been created for that. You should get help easily by the Aldebaran team or by other external developers of Aldebaran. Remember that no question is stupid, as long as you are sure your problem isn't about pure JavaScript, you should not be worried as we are already very happy you want to contribute to the project!

aldebaran's People

Contributors

ciborn avatar dependabot[bot] avatar mount2010 avatar nightmare2112 avatar raginglink avatar willard21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aldebaran's Issues

Health Monitor Showing the Enemy's Health

Describe the bug

In the health monitor, if you have your pet disabled in DRPG, it shows the enemy's health in place of the pet's.

Steps To Reproduce

  1. disable your pet in DRPG using #!pset disabled true.
  2. turn on the health monitor.
  3. Do an adv.

Expected behavior

The health monitor just showing the character's health as if individualHealthMonitor was set to character I guess.

Versions and configuration

v1.10.0

&curconv gives wrong error message

Describe the bug
If you use a real currency and a fake one, it will always tell you the one on the left doesn't exist, even if it's actually the one on the right.

To Reproduce

  1. &curconv USD LOL 10

Screenshots
image

Aldebaran details:

  • Version 1.11.5

&user, &gconfg, &uconfig Not Responding

Describe the bug
Doing &user, &gconfig list, or &uconfig list simply produces no output.

To Reproduce

  1. Do &user.
  2. Notice how Aldebaran doesn't respond.

Expected behavior
Showing info like join date, account-creation date, etc.

Aldebaran details:

  • Version 1.11.0

&skills crashes with enchanted tools

/home/willard/Aldebaran/src/commands/drpg/skills.js:31
					const axebonus = itemList[data.tool.axe || "370"].itemBoost || 0;
					                                                  ^

TypeError: Cannot read property 'itemBoost' of undefined
    at Request._callback (/home/willard/Aldebaran/src/commands/drpg/skills.js:31:56)```

&plantcalc throws errors if you don't use a seed name

Describe the bug
The bot doesn't respond to item names that aren't saplings. The example the command gives for proper usage when you do &plantcalc on its own (&plantcalc 1 24 olive) also tells people to use the wrong item, and therefore doesn't work.

Aldebaran details:

  • Version 1.11.5

Nekos.Life commands do not work anymore

When using any command that pulls a picture from nekos.life, such as xrandom, it does not pull a picture and displays [object Object] instead.

  1. Use xrandom, xkitty, xneko, etc command.
  2. Bot posts an message containing "object Object" and the correctly programmed dialog associated with the command used.

Expected behavior
It seems that object Object is a placeholder for the picture and it is supposed to display a picture relating to the command used from a pool of pics on nekos.life. If I were to take a stab at solving it, try checking if the bot is still authorized to pull from that site.

Aldebaran details:

  • Version [e.g. 1.10.0]

&stats crashes for users with no location

/home/willard/Aldebaran/src/commands/drpg/stats.js:45
					const location = locations[data.location.current];
					                                         ^

TypeError: Cannot read property 'current' of undefined
    at Request._callback (/home/willard/Aldebaran/src/commands/drpg/stats.js:45:47)

&osurecent Doesn't Work

Describe the bug
Trying to use &osurecent produces no info. Only responds with "the user you specified does not exist, or at least in the mode specified."

To Reproduce

  1. Try to do like &osurecent Ciborn.

Expected behavior
Showing the user's most recent play.

Aldebaran details:

  • Version 1.11.0

Additional context
Even if you set a username in &uconfig, it still produces no info.

&user fakeSnowflake throws errors

Describe the bug
Using &user with a non-user snowflake (for example with a message or guild ID) throws errors and doesn't respond.

To Reproduce

  1. &user 698218468503322625

Aldebaran details:

  • Version 1.11.5

Custom Timers

The custom timers would be a way to let the users create their own timer, they can change their name and choose whether they want it to be triggered every x amount of time of if they want it to be triggered by text sent by a bot in channel (should allow regular expressions). Either way, the user needs to start the timer and stop it by themselves (the timer should stop by itself after a certain amount of time if there is no user response for a long time, this duration is variable depending on the timer cooldown). The user can also choose whether they want to the timer sent in their DMs in the server channel. To prevent spam, administrators of the server will be able to disable timers in channel through &gconfig serverTimers off.

&osu <username> doesn't work

&osu with a username in my uconfig settings works, but &osu doesn't and still tries to use my configured username.

discordrpgPrefix D breaks the adventure timer

Describe the bug
If you have your discordrpgPrefix set to D, the adventure timer simply doesn't work.

To Reproduce

  1. Type &gconfig discordrpgPrefix D.
  2. Turn on the adventure timer.
  3. Type Dadv.
  4. Notice how the bot doesn't ping you.

Expected behavior
The bot pinging you as normal.

Aldebaran details:

  • Version 2.0.0

Bot should crash and exit if mysql isn't running

Describe the bug
The bot doesn't stop if Mysql is not running because the promise for the database initialization doesn't have a catch.

To Reproduce
Steps to reproduce the behavior:

  1. Start bot without mysql running

Expected behavior
It should stop and exit.

Screenshots
N/A

Aldebaran details:
2.1.1

Additional context
Add any other context about the problem here.

Option to not show sides timer prompt

Is your feature request related to a problem? Please describe.
Some people don't like how the bot prompts you to cancel the timer whenever you do your sides.

Describe the solution you'd like
Maybe an option like &uconfig sidestimerPrompt off.

Describe alternatives you've considered
Someone else suggested just turning it off globally and have a separate command to cancel the timer, to maybe help with ratelimits.

&skills Showing Max Skill Xp Gain

Is your feature request related to a problem? Please describe.
Now it's cool that &skills shows item drops info 'n all, but it doesn't show the skill xp you'll get when you go full mineboost for example.

Describe the solution you'd like
Showing skill xp gain when going full sideboost(put all your attribute points on, for example, mineboost).

Describe alternatives you've considered
Mathing it manually myself with &math. What do I look like? A nerd? Pfffft

&skills Only Showing Chopping Info

Describe the bug

Doing &skills only shows chopping info.

Steps To Reproduce

  1. Do &skills.

Expected behavior

Also showing info for mining, fishing, and foraging.

Screenshots

image

Versions and configuration

v1.10.0

&poke doesn't work

Describe the bug
&poke always tells you to mention someone, even if you mentioned someone.

To Reproduce

  1. &poke @Ciborn

Aldebaran details:

  • Version 1.11.5

Improve config error messages

Is your feature request related to a problem? Please describe.
Users get confused when they try something like &uconfig sidestimer on and get an error message.

Describe the solution you'd like
I suggest making those error messages mention how those things are case-sensitive and provide an example of how to type it correctly.

Describe alternatives you've considered
Making them not case-sensitive I guess, but the first suggestion should be easier to implement.

`&help DiscordRPG` does not return the same output as `&help DRPG`

Describe the bug
Pretty much what it says on the title tbh.

To Reproduce
Steps to reproduce the behavior:

  1. Do &help DiscordRPG
  2. Get an error about a command/category not existing

Expected behavior
Same output as &help DRPG

Aldebaran details:

  • Version 1.11.5

Additional context
I think an alternative fix would be to change the category name in &help

&setprofile does not work properly

Describe the bug
&setprofile does not work. It does not show anything.

To Reproduce
Steps to reproduce the behavior:

  1. Use &setprofile (without using &profile earlier)

Expected behavior
Set the profile correctly.

Aldebaran details:

  • Version: 2.0.1

Additional context
&setprofile was not correctly updated with the 1.11 update. The user's profile needs to be fetched in &setprofile before being used.

&ct is borked

Describe the bug
1.) You can set the timer to 0 seconds to make the bot smash into the ratelimit (and causes a bunch of SQL errors).
2.) The -c flag makes it not send messages at all.
3.) The documentation is very poor.

Aldebaran details:

  • Version 1.11.5

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.