Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 15 09:16
    jaraco commented #198
  • Jul 15 09:14
    jaraco commented #196
  • Jul 15 09:13

    jaraco on v20.1.0

    (compare)

  • Jul 15 09:13

    jaraco on main

    Fixed the way the bot hangs if … Merge branch 'jaraco:main' into… Trigger the disconnection event… and 6 more (compare)

  • Jul 15 09:13
    jaraco closed #196
  • Jul 15 09:13
    jaraco synchronize #196
  • Jul 15 08:46
    jaraco closed #186
  • Jul 15 08:46
    jaraco commented #186
  • Jul 15 08:44
    jaraco synchronize #196
  • Jul 15 08:43
    jaraco synchronize #196
  • Jul 15 08:43

    jaraco on main

    (compare)

  • Jul 15 08:43

    jaraco on main

    Update changelog. (compare)

  • Jul 15 08:39

    jaraco on main

    Inject check job into CI workfl… Add Python 3.11 into the matrix… Update base URL for PEPs (#61) and 6 more (compare)

  • Jul 15 00:29
    fitnub-bosbud commented #196
  • Jul 15 00:29
    fitnub-bosbud commented #196
  • Jun 10 20:03
    minkyman1 commented #198
  • Jun 10 18:45
    minkyman1 opened #198
  • Feb 20 02:15

    jaraco on main

    Ran pre-commit autoupdate Merge https://github.com/jaraco… ⚫ Fade to black. (compare)

  • Feb 20 02:09
    jaraco labeled #197
  • Feb 20 02:09

    jaraco on main

    Suppress DeprecationWarning unt… (compare)

Jason R. Coombs
@jaraco
@bbriggs - it’s definitely possible. pmxbot (https://github.com/yougov/pmxbot) is a full-featured bot built on the irc lib, so you can probably use that for a guide.
Bren Briggs
@bbriggs
roger, thanks!
Bren Briggs
@bbriggs
oh, @jaraco! I forgot to come back and thank you for pointing me at a good working example of multiple channels.
So... thanks! We really appreciate the work you've put into the library.
silveryferret
@silveryferret
if anyone's here, the link to your documentation doesn't seem to be working?
Jason R. Coombs
@jaraco
Probably. Support for upload docs is going away so docs don't have a home unless someone wishes to invest the time to set them up. It's a lot of work and I'm hoping some automation will come along to make it easy to implement across dozens of projects.
Jason R. Coombs
@jaraco
@silveryferret I fought through the RTD and got it set up. The docs are now linked from the Github and project pages.
TurBoss
@TurBoss
Hi
How do i send a public msg? I know how to send a privmsg but can't figure out the other
TurBoss
@TurBoss
ok i got it
sry seems obvious
Jason R. Coombs
@jaraco
(y)
TurBoss
@TurBoss
hello
how can I catch /me msgs from a channel with an IrcBot?
Jason R. Coombs
@jaraco
@TurBoss: I’m not sure. Bots I’ve written have ignored those messages (incidentally). I think you need to add an on_action handler to your bot.
Give that a try and let me know what you find.
TurBoss
@TurBoss
ok thanks
ok on_action works, reacts only to emots?
TurBoss
@TurBoss
ok its working Thank you @jaraco
Jason R. Coombs
@jaraco
Glad it’s working. I’m not sure where it might be used other than in /me messages.
TurBoss
@TurBoss
will discover
ry00001
@ry00001
How do you get started with python irc?
everyone is afk
hah
TurBoss
@TurBoss
hi @ry00000
ry00001
@ry00001
hi @TurBoss
TurBoss
@TurBoss
this is a very basic bot I did
ry00001
@ry00001
oh god this is super complex
TurBoss
@TurBoss
it bridges my irc server to matrix.org (aka Riot)
what do you want to do?
ry00001
@ry00001
make an extremely basic bot
TurBoss
@TurBoss
sek
is not too big
only 200 lines
this is the bot section
ry00001
@ry00001
ok
TurBoss
@TurBoss
you can copypaste that code
then init the IrcBot class in your main
ry00001
@ry00001
can i get an ircbot without matrix integration
TurBoss
@TurBoss
sure
jus remove this:
to line 68
ry00001
@ry00001
Where's the example bot code
Jason R. Coombs
@jaraco
@ry00000 You might also look at testbot.py in the IRC project for a super basic example, or pmxbot for a more complex example, though if TurBoss’ ircbot gets you going then that’s fantastic.
ry00001
@ry00001
What's the example bot's prefix supposed to be?
: doesn't work