Closed lukaqueres closed 1 year ago
Fixed code causing automatic merge error.
As there is no more feedback ( I can only guess that this code is so nice that no one can add anything ), I think that this branch could be as well merged to main.
Thank you all again!
About
Special thanks to everyone for contributing, mental or code support provided for only sensitive part of this workflow.
For more curious users I suggest to read whole issue thread, wchich may give some point of work, errors encountered, etc.
And for everyone, there is round-up of more notable changes available below. Happy reading!
Changes overview
PIBot
class as a class to inherit attributes ( along with everything else ) fromdiscord.client
, and add some of custom class functions as well as attributes.prefix
function was renamed to__get_prefix
and was made private inside ofPIBot
class.PIEmbed
class as an inherit fromdiscord.Embed
class. It handles embeds creation, and fields input. It holds some default values for less defining in every embed creation. It has specially designed functions for automatic value ( field content ) split in case of too long. Requires some more work in limits errors.ping
app_command command ( slash ). On invoke responds with message and client latency. Most likely will be edited and moved somewhere else later.cogs
loading precedure to allow async loading.error.py
cog as a bot error handler. It was meant to be added in other issue, but was required beacuse of error not showing exceptions output.setup refresh
was added as an app_command. It updates roles if not accurate. In case of no record of guild, creates one.database.update
function not working properly.packets.utilities
but it is not worth mentioning about it.I obviously would love to hear some feedback about it! ( @kocielnik, I don't have to mention that you are especially invited )