We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm curious if anyone has a good method of PMing everyone in a specific channel that the bot has joined. Preferably not all at once.
If not, just PMing users in general.
The text was updated successfully, but these errors were encountered:
I've had a bit of success getting the bot to PM people in one of my plugins.
This should get you started as an example. Note the pm=None in the function.
pm=None
from util import hook def pmUser(input, pm=None): pm("Hello. I am a bot and I am PMing you", USER_TO_PM)
(I'm far from an expert in this. Just answering because I think I know the answer and it's been a few months since it was asked, so why not?)
Sorry, something went wrong.
Simply set the channel in your send to the user's nick.
On 12 Aug 2016 9:36 AM, "Will" [email protected] wrote:
I've had a bit of success getting the bot to PM people in one of my plugins. This should get you started as an example. Note the pm=None in the function. from util import hook def pmUser(input, pm=None): pm("Hello. I am a bot and I am PMing you", USER_TO_PM) (I'm far from an expert in this. Just answering because I think I know the answer and it's been a few months since it was asked, so why not?) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub #133 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABZoEavikwX1dE-AXWAmp8AfH56AV32Sks5qe7IGgaJpZM4FYpm0 .
from util import hook
def pmUser(input, pm=None): pm("Hello. I am a bot and I am PMing you", USER_TO_PM)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub #133 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABZoEavikwX1dE-AXWAmp8AfH56AV32Sks5qe7IGgaJpZM4FYpm0 .
No branches or pull requests
I'm curious if anyone has a good method of PMing everyone in a specific channel that the bot has joined. Preferably not all at once.
If not, just PMing users in general.
The text was updated successfully, but these errors were encountered: