Lumi Doggo
Lumi Doggo
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 9/6/2023 in #djs-questions
Slash Command Parsing
Being honest, it feels clumsy, and cluttered, and I'm attempting to also include into said command a way that it can see the first, and last string between the command, and the first integer, or the first, second and last string between the command and the first integer so it can determine the "name" of the "character"
6 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 9/6/2023 in #djs-questions
Slash Command Parsing
oof-
6 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 9/6/2023 in #djs-questions
Slash Command Parsing
ah, and before I forget, here's the code snippet. https://pastebin.com/7vSHBkW4
6 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
Now, uh, how does one close a forum that's been resolved? .w.'
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
It works :D
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
Made 2 instances, with and without the optional info
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
I've added some extra terms, but I think it'll work.
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
right?
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
So, when inputting the data into the command, it'd be: /create-player [First Name] [Last Name] [Age] [Species] [Type] [Starting Level] [optional Middle name] [optional second Type]
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
but then how do I manage to have it so that the middle name, and the second typing is optional inputs
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
Hm, that is a good idea actually.
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
I'm... not sure if it's a stupid idea compared to the code I've written...
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
I find it a bit tedious since what I want to do is the following, and I apologize since English is a second language for me so I might have a bit of trouble expressing myself: /create-player [First Name] [optional Middle name] [Last Name] [Age] [Species] [Type] [optional second Type] [Starting Level] Where after just typing /create-player, one can just type in a long string with the correct formatting and the command could slice and parse the string correctly.
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
Any help would be apreciated..
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
It just feels a tad bit inconvenient. I was thinking of passing all the strings as arguments, split them and pass the individual strings as the like, but I'm not sure how to do so with a slash command... I've tried to do so before, but I didn't get it to work..
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
I have
24 replies
DIAdiscord.js - Imagine an app
Created by Lumi Doggo on 11/20/2022 in #djs-questions
How to make a slash command parse multiple arguments?
While I appreciate the answer, it doesn't really clarify a doubt that I still have, in regards to how make sure that the slash command can take multiple arguments, in a manner that's different, and probably more preferable then just using ".addStringOption" to make sure that the slash command registers that string specifically.
24 replies