Comments (16)
That exists...
https://github.com/Mantaro/MantaroBot/wiki/Custom-Command-Modifiers
from mantarobot.
I cant see it
from mantarobot.
You mean, to get the person who gets mentioned in the message?
If that's what you mean, sure, will be added soon
from mantarobot.
Already fixed in the stable branch. Now @Kodehawa needs to start USING stable.
from mantarobot.
Hi, I am having trouble figuring out how to mention someone else when I make a new command? I am trying to make a custom command that will mention both the person who initiated the command and the person that they tagged. For example; ~>pizza = Lavendier (author) shares a piece of pizza with Hubby (mentioned user) I have tried many different things such as (event.user.mention) but cannot get anywhere. Help :(
from mantarobot.
$(event.message.raw)
from mantarobot.
OH THANK YOU!!!!!! <3
from mantarobot.
^ There is not direct modifier for fetching mentions. Fetching the message is the closest you'll get simply use what natan said and tag the person while running the command and it'll print it. It will also print everything else after the command name and prefix tho. To check all modifiers be sure to head to the top of the page and click wiki you'll find a documentation of every single one there.
from mantarobot.
^ ™️
from mantarobot.
its easier than you expect :^)
Regex my friend
from mantarobot.
PR it
from mantarobot.
So I'm not sure if its an issue with what i wrote or not but when i use $(event.author) in the title of the embedded commands, it prints as <@!____> where ____ is a really long number which I'm assuming is my ID. it doesn't happen for anywhere other than the title though.
also, will we ever get an rng function? o: hehe
from mantarobot.
Embed titles do not support mention resolving this is a Discord limitation.
from mantarobot.
oh i see thanks
from mantarobot.
Mention modifiers will be a thing in Mantaro Version 4.9 as part of the Custom Command rewrite, therefore i'm closing this.
from mantarobot.
Will only be available in a new type of custom commands btw
from mantarobot.
Related Issues (20)
- [ Question ] How do I set the timezone on Mantaro? HOT 1
- [ Question ] custom commands not showing the gif HOT 1
- "Choose" command no longer exists? HOT 1
- [ Bug ] Pet not working properly, only I can use it, my partner doesn't HOT 7
- How to get other pick like diamond pick?? HOT 2
- Birthday commands are not working HOT 5
- Waifu optout HOT 1
- [ Question ] Selfhosting question(?) HOT 1
- [ Feature Req./Suggestion ] catboy command HOT 4
- Mantaro doesnt work, and is offline on my server HOT 5
- [ Bug ] Welcome and Leaves Messages embeds image scaling issue HOT 4
- [Feature request/suggestion] Alias command HOT 2
- [ Bug ] `roll`ing multiple dice should show the individual dice rolls (as well) HOT 1
- [ Feature Req./Suggestion ] Retain mute role upon joining HOT 3
- [ Question ] Numeric Luck Badge HOT 3
- [ Question ] Requesting the bot to play a Private playlist makes it... play a different one? HOT 1
- [ Bug ] Gelbooru command no longer works HOT 1
- No custom with slash HOT 1
- Love don't work HOT 1
- [Suggestion/Feature Request]: Add birthday announcement timezone override HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mantarobot.