AlexzanderFlores / WOKCommands

130 stars 60 forks source link

Configurable channel.send() instead of .reply() #58

Closed wrsjr04 closed 3 years ago

wrsjr04 commented 3 years ago

If you need me to make any changes just dm me on discord at wrssmithjr04#8248 or mention me in a comment.

joaotonaco commented 3 years ago

@wrssmithjr04 Hi, it's really useful for me, but how does it works? And your Discord doesn't exist.

wrsjr04 commented 3 years ago

@bluee-js so you would put reply:true in the config and it would use message.reply instead of message.send

joaotonaco commented 3 years ago

@wrssmithjr04 Omg, you answered quickly. I want to ask you another thing, how can I replace "{AUTHOR}" with message.author?

wrsjr04 commented 3 years ago

@wrssmithjr04 Omg, you answered quickly. I want to ask you another thing, how can I replace "{AUTHOR}" with message.author?

I'm not quite sure what you mean by that.

joaotonaco commented 3 years ago

@wrssmithjr04 In "messages.json" you can use for example {PREFIX} and it will be replaced with the bot prefix, so how can I use {AUTHOR} and replace with the message's author?

wrsjr04 commented 3 years ago

Not quite sure, I think that would require you to have to modify the code.