Here are the instructions:
ssh-keygen -t ed25519 -C "shelley@exe.dev" -f ~/.ssh/id_ed25519 -N ""| import irc.bot | |
| import irc.strings | |
| import ssl | |
| class BasicIRCBot(irc.bot.SingleServerIRCBot): | |
| def __init__(self, channel, nickname, password, server, port=6697): | |
| # Create SSL context | |
| ssl_context = ssl.create_default_context() | |
| # Pass server_hostname to wrap_socket |
| import unittest | |
| class TestPoint(unittest.TestCase): | |
| def test_init(self): | |
| """Tests if the Point object is initialized correctly.""" | |
| p = Point(1, 2) | |
| self.assertEqual(p.x, 1) | |
| self.assertEqual(p.y, 2) |
| class Point: | |
| """ | |
| A class representing a point in 2D space. | |
| """ | |
| def __init__(self, x, y): | |
| """ | |
| Initializes a new Point object. | |
| Args: |
I hereby claim:
To claim this, I am signing this object: