bot
bot copied to clipboard
Show new timestamp in confirmation embed after editing reminder duration

When setting a reminder with the !remind
command, the embed contains a timestamp which states the time at which the reminder will arrive. Same should be done for the embed you get when you edit a reminder, i.e, a timestamp of the newly edited time should be added to the embed.
Anyone can implement.
If possible I would like to work on this!
If possible I would like to work on this!
I've assigned you. Check out our contributing page if you haven't already, and feel free to ask if you have any questions!
Hello! Sorry I am having trouble getting the bot to start, I believe I followed all the instructions. Here is the traceback:
Found `config.yml` file, loading constants from it.
2022-05-11 10:47:25 | botcore.utils._monkey_patches | DEBUG | Patching send_typing, which should fix things breaking when Discord disables typing events. Stay safe!
2022-05-11 10:47:25 | discord.client | WARNING | PyNaCl is not installed, voice will NOT be supported
Traceback (most recent call last):
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1081, in create_connection
transport, protocol = await self._create_connection_transport(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1111, in _create_connection_transport
await waiter
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/sslproto.py", line 528, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/sslproto.py", line 188, in feed_ssldata
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 944, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/manoj/Manoj/Python/OpenSource/bot/bot/__main__.py", line 73, in main
await _bot.start(constants.Bot.token)
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/discord/client.py", line 681, in start
await self.login(token)
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/discord/client.py", line 542, in login
data = await self.http.static_login(token.strip())
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/discord/http.py", line 557, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/discord/http.py", line 439, in request
async with self.__session.request(method, url, **kwargs) as response:
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/aiohttp/connector.py", line 988, in _wrap_create_connection
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)')]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/manoj/Manoj/Python/OpenSource/bot/bot/__main__.py", line 77, in <module>
asyncio.run(main())
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/Users/manoj/Manoj/Python/OpenSource/bot/bot/__main__.py", line 73, in main
await _bot.start(constants.Bot.token)
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/discord/client.py", line 259, in __aexit__
await self.close()
File "/Users/manoj/Manoj/Python/OpenSource/bot/.venv/lib/python3.9/site-packages/botcore/_bot.py", line 280, in close
if self.stats._transport:
AttributeError: 'NoneType' object has no attribute '_transport'
@mtkumar123 Could you post this in the #dev-contrib channel on the Discord server? Questions like that are better to post in that channel than on GitHub.
Hey @mtkumar123, were you able to resolve this, and are you still looking to work on the issue?
Hey I'll reassign this issue to Tizzy now. Feel free to reach out if you want to discuss this, or pick up another issue from the tracker.