mantaro / mantarobot Goto Github PK
View Code? Open in Web Editor NEWMultipurpose Discord bot made in Java using JDA.
Home Page: https://mantaro.site/
License: GNU General Public License v3.0
Multipurpose Discord bot made in Java using JDA.
Home Page: https://mantaro.site/
License: GNU General Public License v3.0
https://xkcd.com/1179/
https://en.wikipedia.org/wiki/ISO_8601
~>birthday 1999-12-31
bot is down, how do we get notifications that it will be working again
Hey! I would like to ask if someone could tell me how I can lock or disable a role in my server to use the bot and use the bot for music or something like that !
I've been doing trivia games with Discord pals on weekends, but yesterday, the bot seemed to have locked up the trivia command, and is showing that a game is currently in progress, despite it being 8 days (as of last night) since the last game was started, and completed successfully. Any way to fix manually, or is shard info required?
Idk where to ask this question so I hope someone could direct me to proper place to ask or give me an answer.
What do we do with the items in our inventory for the currency commands? Do any of them do anything?
Besides the crate box / key & brom's pickaxe. What do the other items do?
I don't see a ~>use [item name] ..
For some reason, the bot is playing music at, like, 3x speed.
It's messing with our gameplay.
so, basically, this is almost the same problem that's stated in issues #19 and #23. the game command is glitched and it won't let me answer or end the current game, nor will it timeout. i've tried using ~>opts lobby reset
a couple of times, but it resets and glitches again shortly after. any ideas?
p.s. here's a screenshot if you need a visual. thank you!
Look into Guice from google
Not so much for me, but the cooldown on the loot command is continuously going up for someone on my server and there's no clear reason why. At this point in time, the cooldown has reached almost eight hours. This has gone up from the timer stating they need to wait six hours, since I was first made aware of the issue.
Every so often, whenever the person checks to see if the time is going down, it scales up further. I've already advised them to try waiting until the seven-hour timer is cleared, however I still have no idea what's even wrong with this. I've also already tried removing Mantaro and re-adding the bot, however that did not resolve the issue.
Sometimes Mantaro dosent even play music.
Or sometimes when it does it plays very blur, like, I cant even hear it. At that moment, I checked the ping. The ping was 2994 ms >.<
I bought a crate key, but Manataro keeps saying I don't have a crate key when I try opening a crate. Surprisingly other members can't see the key as well in my inventory, unless they're just messing with me
We've opened pull requests to Mantaro for hacktoberfest.
What do we need:
Documentation in core. Needs to be fairly complete.
Place a song on x position of the queue.
Use of percentage in gamble (for example Done~>gamble 30%
)
Implementation of the ~>warn
command.
Re-organization and refactoring of the README file (probably also needs a new example)
What you could do too
Also, pull Requests that are obviously split up to farm will not be accepted and marked as invalid (For example changing docs of 2 classes in 2 Pull Requests is not wanted)
Happy farming \ o /
Hi there - I believe I've set this up correctly, but birthday announcements are not working. Here are the commands I issued and Mantaro's responses:
KarnaughAtlas - Yesterday at 9:52 AM
~>opts birthday enable announcements BirthdayMonarch
MantaroBOT - Yesterday at 9:52 AM
π£ Birthday logging enabled on this server with parameters -> Channel: #announcements (361357225379495946) and role: BirthdayMonarch (393082903820632082)
->birthday 21/12/2017
MantaroBOT - Yesterday at 10:25 AM
β
Added birthdate.
KarnaughAtlas - Yesterday at 10:26 AM
->birthday month
MantaroBOT - Yesterday at 10:26 AM
βοΈ There are no birthdays for this month here :(
I ran those commands yesterday and was expecting to see an announcement about my birthday, and to have the birthday role assigned to me, but neither happened.
Let me know if you need any further information from me!
There is a glitch where the bot thinks it is in a game, but not only did the "end" not work, but it's been almost a day and still doesn't timeout. Is there a way to reset it so we can play our games again? I tried kicking her and re-adding her, that didn't work either...
I want to be able to divorce someone using mantaro.
Bot says !transfer command does not exist.
Hello, I discovered that using the command repeat
when there is no song/ queue generates an error on the bot.
I am trying to set up the bot (self-host) but its throwing an error
Exception in thread "main" java.lang.NoClassDefFoundError: lombok/Lombok
at net.kodehawa.mantarobot.utils.data.GsonDataManager.(GsonDataManager.java:36)
at net.kodehawa.mantarobot.data.MantaroData.config(MantaroData.java:41)
at net.kodehawa.mantarobot.services.Carbonitex.(Carbonitex.java:27)
at net.kodehawa.mantarobot.MantaroBot.(MantaroBot.java:90)
at net.kodehawa.mantarobot.MantaroBot.main(MantaroBot.java:204)
Caused by: java.lang.ClassNotFoundException: lombok.Lombok
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Error print:
https://media.discordapp.net/attachments/344262727461502976/344263761177214976/unknown.png
Print from debug: > gradlew build --debug --stacktrace
https://media.discordapp.net/attachments/344262727461502976/344264948005863425/unknown.png?width=1439&height=562
for one of the badges it gives you a badge for having 5000 of any item. i have 5000 necklaces but have not gotten the badges there's either a problem or something wrong that I'm doing. please look into this
Is there a way to make a custom command that i created only available to one group?
I have removed all permissions for the bots group the in all but two channels(one of which was originally #general) yet it still responds to commands in those channels for which it does not have read permission, or any other permission. The bot does not have administrator permissions in it's own group.
Database uses too much reading because we filter stuff with regex.
This issue will track:
The price of buying an item (for some items) is different than the price that is showing in the market .
->market
MantaroBOT - Yesterday at 11:43 PM
π Mantaro Market
Items
01.- π§ Headphones
02.- π¨ Ban Hammer
03.- π’ Kick Boot
04.- πΎ Floppy Disk
05.- π My Maths
06.- π Ping Racket
07.- π² Loaded Die
08.- π΅ Forgotten Music
09.- βοΈ Pencil
10.- π° Moneybag
11.- βοΈ Brom's Pickaxe
12.- :milk: Milk
13.- πΎ Alcohol
14.- π° Lewd Magazine
15.- π Marriage Ring
16.- π Love Letter
17.- π Crate Key
18.- π Clothes
19.- π Diamond
20.- π Wedding Dress
21.- πΏ Necklace
22.- π€΅ββοΈ Tuxedo
23.- π Shoes
24.- πΉ Rose
25.- π« Chocolate
26.- πͺ Cookie
27.- ποΈ Slot ticket
28.- π House
Value (Buy/Sell)
π² N/A, $3
π² N/A, $12
π² N/A, $9
π² N/A, $9
π² N/A, $9
π² N/A, $13
π² N/A, $57
π² N/A, $11
π² N/A, $11
π² $79, $64
π² $59, $48
π² $50, $41
π² $45, $36
π² $44, $36
π² $59, $48
π² N/A, $48
π² $67, $54
π² $14, $11
π² $377, $308
π² $75, $62
π² $18, $15
π² $26, $21
π² $8, $7
π² $62, $51
π² $45, $36
π² $53, $44
π² $71, $58
π² $5500, $4500
Requested by RayRay
RayRay - Yesterday at 11:43 PM
->profile
MantaroBOT - Yesterday at 11:43 PM
π RayRay's Profile
Gamer πΉοΈ
No single thing is perfect by itself. Thatβs why weβre born to attract other things to make up for what we lack. I think we start walking in the right direction only after we start getting our counterparts beside us.
π΅ Credits
$ 1236
β‘ Level
11 (Experience: 11204)
:military_medal: Reputation
20
π Inventory
π° x 1, βοΈ x 2, π x 2, π x 1, π€΅ββοΈ x 1, :milk: x 1, π° x 6, πΏ x 1, π x 4, π x 2, πΎ x 1113, π x 1601, π x 1, πΉ x 2, ποΈ x 8, π§ x 1, π² x 1, π« x 1, πͺ x 3, πΎ x 1, βοΈ x 26, π x 5000
π Birthday
18-02
β€οΈ Married with
Kitsune Black rock shooter#7217
Badges
πΉοΈ π§
User's timezone: No timezone set. | Requested by RayRay
RayRay - Yesterday at 11:43 PM
->market buy 1 diamond
MantaroBOT - Yesterday at 11:43 PM
π Bought 1 π successfully. You now have 893 credits.
RayRay - Yesterday at 11:43 PM
->market sell 1 diamond
MantaroBOT - Yesterday at 11:43 PM
β
You sold 1 Diamond and gained 309 credits!
i had 1236. 1236 - 893 = 343. so i brought the diamond for 343 instead of what it said on the list and i sold for 309 which is also different to the list.
Basically this - user started a pokemon guessing game, and at one point Mantaro stopped taking his answers. Now no one can start a new game from the bot - I haven't tried kicking as I don't want to have to rework permissions on it. Any idea how to force terminate a game? I didn't see it in the command list.
to keep it simple. when using the ->love command and the percentage generated is 45% it reads "Perfect match!" which should be the line for 100% if i'm not mistaken. would be a weird thing to jump from 'try again later' lines to perfect and then to just "Good enough." only to start gradually increasing after that
Playing mp3 streams failed because it's continuous playing, but the bot allow only <20min
For whatever reason, when achieving the Shopper badge it will not register on my profile and will not show up when I use ~>badges. I bought 5000 shoes and have had them for 2 days but it will not appear, I have 3 badges currently, Lucky, Claimer, and Gamer. Maybe there is a max on how many badges I can have but if there is I was not aware of it. When getting my other badges they appeared in the hour so I'm not sure whats going on with it.
PS. I have never used this website before so I'm not sure if this is even the right place for this π
Edit: Someone told me to do ~>inventory and then do ~>badges and it worked, for whatever reason it will not appear anymore but thanks dude
I'd like to request for a restart of our shard. Other than the title, I'm not really sure what's wrong.
~>np shows the current track playing properly, and all other commands are functioning just fine.
~>info
> --------- Technical Information ---------
>
> Commands: 94
> Bot Version: 4.4.2_DEV-30062017
> JDA Version: 3.1.1_DEV
> Lavaplayer Version: 1.2.42
> API Responses: 48422156
> CPU Usage: 34.318766066838045%
> CPU Cores: 8
> Shard Info: Shard [12 / 34]
> API Status: ONLINE
> API Ping: 0ms
>
> --------- Mantaro Information ---------
>
> Guilds: 33610
> Users: 727266
> Shards: 34 (Current: 13)
> Threads: 2302
> Executed Commands: 161415
> Logs: 4920
> Memory: 9654.0MB / 16299.0MB
> Music Connections: 408
> Queue Size: 9823
>
> --------- RethinkDB Information ---------
>
> RethinkDB Version: rethinkdb 2.3.5~0xenial (GCC 5.3.1)
> Time Connected: 113:37:13
> Cache Size: 11291.61MB
> Hostname: ubuntu
~>shardinfo
> Shard [0 / 34] | STATUS: CONNECTED | U: 31615 | G: 1010 | L: 213 ms | MC: 8
> Shard [1 / 34] | STATUS: CONNECTED | U: 22729 | G: 1027 | L: 233 ms | MC: 7
> Shard [2 / 34] | STATUS: CONNECTED | U: 25389 | G: 989 | L: 30 ms | MC: 12
> Shard [3 / 34] | STATUS: CONNECTED | U: 28273 | G: 1006 | L: 45 ms | MC: 14
> Shard [4 / 34] | STATUS: CONNECTED | U: 30461 | G: 978 | L: 92 ms | MC: 11
> Shard [5 / 34] | STATUS: CONNECTED | U: 22087 | G: 1029 | L: 666 ms | MC: 11
> Shard [6 / 34] | STATUS: CONNECTED | U: 30292 | G: 986 | L: 66 ms | MC: 12
> Shard [7 / 34] | STATUS: CONNECTED | U: 25632 | G: 989 | L: 345 ms | MC: 16
> Shard [8 / 34] | STATUS: CONNECTED | U: 30740 | G: 971 | L: 62 ms | MC: 11
> Shard [9 / 34] | STATUS: CONNECTED | U: 31018 | G: 994 | L: 60 ms | MC: 17
> Shard [10 / 34] | STATUS: CONNECTED | U: 21648 | G: 987 | L: 31 ms | MC: 10
> Shard [11 / 34] | STATUS: CONNECTED | U: 28479 | G: 977 | L: 315 ms | MC: 15
> Shard [12 / 34] | STATUS: CONNECTED | U: 20928 | G: 961 | L: 67 ms | MC: 19 <- CURRENT
> Shard [13 / 34] | STATUS: CONNECTED | U: 41943 | G: 1006 | L: 45 ms | MC: 10
> Shard [14 / 34] | STATUS: CONNECTED | U: 22453 | G: 997 | L: 149 ms | MC: 16
> Shard [15 / 34] | STATUS: CONNECTED | U: 25273 | G: 979 | L: 21 ms | MC: 14
> Shard [16 / 34] | STATUS: CONNECTED | U: 29004 | G: 1016 | L: 114 ms | MC: 6
> Shard [17 / 34] | STATUS: CONNECTED | U: 22860 | G: 964 | L: 148 ms | MC: 6
> Shard [18 / 34] | STATUS: CONNECTED | U: 29700 | G: 1001 | L: 5 ms | MC: 12
> Shard [19 / 34] | STATUS: CONNECTED | U: 26026 | G: 959 | L: 351 ms | MC: 7
> Shard [20 / 34] | STATUS: CONNECTED | U: 36173 | G: 964 | L: 118 ms | MC: 16
> Shard [21 / 34] | STATUS: CONNECTED | U: 24503 | G: 982 | L: 10 ms | MC: 14
> Shard [22 / 34] | STATUS: CONNECTED | U: 21928 | G: 1011 | L: 100 ms | MC: 15
> Shard [23 / 34] | STATUS: CONNECTED | U: 25350 | G: 997 | L: 32 ms | MC: 18
> Shard [24 / 34] | STATUS: CONNECTED | U: 38310 | G: 1032 | L: 24 ms | MC: 9
> Shard [25 / 34] | STATUS: CONNECTED | U: 20119 | G: 955 | L: 187 ms | MC: 8
> Shard [26 / 34] | STATUS: CONNECTED | U: 25785 | G: 929 | L: 23 ms | MC: 9
> Shard [27 / 34] | STATUS: CONNECTED | U: 30679 | G: 1001 | L: 174 ms | MC: 13
> Shard [28 / 34] | STATUS: CONNECTED | U: 27901 | G: 973 | L: 25 ms | MC: 12
> Shard [29 / 34] | STATUS: CONNECTED | U: 21566 | G: 952 | L: 100 ms | MC: 10
> Shard [30 / 34] | STATUS: CONNECTED | U: 23829 | G: 1066 | L: 9 ms | MC: 11
> Shard [31 / 34] | STATUS: CONNECTED | U: 33943 | G: 972 | L: 1 ms | MC: 15
> Shard [32 / 34] | STATUS: CONNECTED | U: 36734 | G: 993 | L: 111 ms | MC: 13
> Shard [33 / 34] | STATUS: CONNECTED | U: 28449 | G: 957 | L: 200 ms | MC: 11
Testing auto issues
MantaroBOT - Today at 12:49 AM
Slots Command
Rolls the slot machine. Requires a default of 50 coins to roll.
Permission required
User
Considerations
You can gain a maximum of put credits * 1.76 coins from it.
You can use the -useticket argument to use a slot ticket (slightly bigger chance)
Usage
~>slots - Default one, 50 coins.
~>slots - Puts x credits on the slot machine. Max of 50000.
~>slots -usecoin - Rolls the slot machine with one slot coin.
Requested by Kirin
Kirin - Today at 12:49 AM
~>slots -usecoin
MantaroBOT - Today at 12:49 AM
βοΈ That's not a number!
Is there any way we can have a command that allows us to change the prefix for the commands?
I found this hilarious. Should maybe double check a few other questions.
https://ibb.co/gwrvYF
Testing auto issues again
If you're not "married" and you ask someone who is married, the person receiving the question will get the option to say yes or no. However, if you are married and you ask someone else, regardless if they are married or not, Mantaro will say that the user is already married.
I've tryed what you showed on another post (#35)
(like this : ~>marry @mention yes)
but I've I just can't do it, may you guys help pls ?
i was in the middle of the que and i wanted to add another song, i typed in ~>play die young it didnt work. I thought it was ok because sometimes u need to type it in twice i did it didnt work then i decided to try ->play die young because sometimes u need to use one or the other IT STILL DIDNT WORK
in tutorial it shows "~>opts autoroles add " i do that, and bot says "i didnt find a role with that name" even doe im trying to create role.
Got this bot a week or two ago and me and my gf were messing around then found the marry command
But how do you actually accept the proposal?
It says please answer with Yes or No but it doesn't seem to work?
Hey, you could add mention modifiers
Example:
->custom new check @if{$(event.message.raw);equals;$(event.mention);User exists;User does not exist.}
In this example, it would be required to mention a real user If you want the command returns "User exists".
Adding this modifiers,we could create commands where It would be necessary to mention someone, not just write a random word or name.
You could make something like $(event.author),with status,game,avatar,id,discriminator,name and username.
You can sell unsellable items by doing ~>market sell all
.
You can see this by the following images.
http://prntscr.com/f0r92w
http://prntscr.com/f0r96y
I've been at 18 a couple days now.
How do I make multiple replies in custom commands work with :img? Because it seems to only work with the first reply.
Also how do I make the bot mention someone I mentioned in a custom command? For example: ~>highfive @user
$(event.author.mention) high fived @mentioneduser
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.