This commit is contained in:
Thomas Baruchel 2021-05-24 09:27:53 +02:00
parent 47aa713dd6
commit dd431e26ea
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Python is a widely known language supported by a huge community. Therefore, codi
Hacking existing tools rather than building a whole new project from nothing follows a traditional philosophy of coding, explaining the name of the current project (while it could also be argued that the 42 number in its name has no real justification).
The script by itself is short and compact (though written with great care), and adding some code at the end for implementing a new bot should simply be a matter of writing a few lines:
The script by itself is very short and compact (though written with great care), and adding some code at the end for implementing a new bot should simply be a matter of writing a few lines:
class Test(Bot):
def on_msg(self, nick, msg):
@ -17,6 +17,8 @@ The script by itself is short and compact (though written with great care), and
_(The code above is very easy to understand; it uses a single hook from the underlying client.)_
The script has no dependancy; it has been tested with the officiel CPython interpreter as well as with Pypy.
## Choosing a client