Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Copying certain type of messages #6

Closed
mohdarif7700 opened this issue Feb 5, 2019 · 1 comment
Closed

Copying certain type of messages #6

mohdarif7700 opened this issue Feb 5, 2019 · 1 comment

Comments

@mohdarif7700
Copy link

Can we copy only that type of messages which we want to copy ?

like in a text channel.. chats are going on like this....

How it is?
That's true
What you want
1
Hey
2
Bro
3

In this , i only want to copy the message 1,2,3 and not any other thing..
So , how can i do that ?

Where in the code i have to modify?

@MitchTalmadge
Copy link
Owner

I may add pattern matching in the future but for now on your local copy you could modify the method onDiscordClientMessageReceived and simply return if the message doesn't match your pattern.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants