8000 🌟refactor by Aeris1One · Pull Request #42 · Curiosity-org/Gipsy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🌟refactor #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Aug 27, 2022
Merged

🌟refactor #42

merged 12 commits into from
Aug 27, 2022

Conversation

Aeris1One
Copy link
Collaborator
@Aeris1One Aeris1One commented Aug 26, 2022

Progression

  • Refactor manuel
    • start.py (6.75 -> 10)
    • utils.py
    • bot/
      • args.py
      • checks.py
      • config.py
      • docs.py
      • utils/
        • configManager.py
        • errors.py
        • gunivers.py
        • languages.py
        • perms.py
        • sconfig.py
        • timeclass.py
      • plugins/
        • admin
        • antikikoo
        • ban
        • channelArchive
        • contact
        • general
        • gi 8000 veaways
        • groups
        • help
        • hypesquad
        • inviteTracker
        • logs
        • messageManager
        • misc
        • quizz
        • roleLink
        • rss
        • thanks
        • voice
        • welcome
        • wormhole
        • xp
        • __template__
  • Refactor automatique
    • AutoPEP8
    • Black

Notes PyLint

Branche master:
image

Branche refactor:
image

Copy link
Contributor
@VForiel VForiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trop de modification pour tout regarder en détails mais le bot démarre et tourne sans soucis apparent, donc bon, je fais confiance au linter

@VForiel
Copy link
Contributor
VForiel commented Aug 26, 2022

Pourquoi avoir merge master dans refactor ?

@Aeris1One
Copy link
Collaborator Author
Aeris1One commented Aug 27, 2022

Parce qu'il y a eu des commits dans master depuis que j'ai fait mes commits sur refactor, donc je les merge sur refactor pour éviter qu'elle ne soit en retard sur master.

En gros j'ai rattrapé le retard de la PR en remettant les commits de master dessus.

Sinon au moment de merge refactor il y aura des conflits

@VForiel
Copy link
Contributor
VForiel commented Aug 27, 2022

Ca ne devrais pas être merge sur la branche beta du coup ?

@Aeris1One Aeris1One changed the base branch from master to beta August 27, 2022 10:36
@Aeris1One
Copy link
Collaborator Author

J'ai changé la branche de base, mais actuellement bêta est au même niveau que master donc ça ne change quasiment rien

@VForiel
Copy link
Contributor
VForiel commented Aug 27, 2022

Bah, ça permet de merge sans attendre d'autres approbations déjà x)
Mais c'est surtout pour que ce soit clair, tout ce qui arrive sur master (bot public) doit venir de beta (et donc être testé sur le bot beta)

@Aeris1One
Copy link
Collaborator Author

Oui nan je voulais dire que ça change rien par rapport au merge commit d'hier

@VForiel VForiel merged commit 6475b26 into Curiosity-org:beta Aug 27, 2022
Aeris1One pushed a commit that referenced this pull request Apr 25, 2023
* feat(stats): add total guilds count

* feat(stats): add sent xp cards to internal stats

* fix(stats): rss internal stats

* Hindi Translations (#31)

* Create hi.json

* Update source file en.json (#32)

* fix(tr): hi translations

* New Crowdin updates (#33)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* New translations en.json (Hindi)

* fix(interaction): wrong attribute

* fix(sql): SELECT query detection

* fix(stats): commands usage SQL query

* fix(usernames): dates field in embed

* fix(pep8): markdown usage

* fix(antiscam): weird discord behavior

* feat(logs): add years in verification/leave logs

* remove(moderation): custom verification system

* refract: split libs.classes file

* refract(pep8): method names

* feat(reminders): new selector when batch deleting

* feat(rss): use new paginated selector

* feat(info): add ID length to `info id`

* fix(help): JSON file format

* refract(hw): halloween-related code

* feat(admin): add logs when syncing commands

* refract(logs): allow passing 1 embed only

* feat(event): add halloween event

* feat(hw): convert hw commands to hybrid

* refract(errors): linting and things

* feat(error): better error response

* refract(hw): remove useless import

* feat(rss): add feed enable/disable commands

* feat(stats): add disabled rss, remove translations

* refract(rss): prettify some code

* feat(stats): add dailies points

* fix(stats): is_sum column

* feat(antiscam): log antiscam warnings

* feat(paginator): add pages count

* doc(perms): update Discord link about admin perm

* feat(events): halloween 2022

* refract(event): standardize random reaction system

* fix(admin): commands response time

* refract(events): better-looking code

* refract(events): event rank card system

* feat(admin): add commands for rank cards

* refract(event): points and colors

* feat(event): actually correct halloween 2022 date

* refract: remove translations cog loading

* fix(paginator): unselecting items

* feat(rss): disable feeds with too many errors

* refract(rss): remove duplic. disabled feeds stats

* feat(stats): add event points stats

* feat(event): add leaderboard to rank command

* feat(fun): add movie command

* doc: v4.1.3

* New Crowdin updates (#34)

* New translations en.json (Hindi)

* New translations en.json (LOLCAT)

* Update source file en.json

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* fix(events): wait for the bot to be ready

* fix(movie): field
97AF
s values

* fix(admin): owner reload feedback

* fix(rss): loop log

* fix(admin): faq update command

* fix(stats): disabled feeds

* fix(halloween): use replies and hide year

* fix(event): dont list non participants in top5

* fix(halloween): remove old commands names

* refract(halloween): fix typing, improve check

* feat(stats): add enabled serverlogs stat

* fix(stats): dont send antiscam/tickets if null

* refract(rss): remove unusued import

* feat(doc): add zbot ToS

* fix(rss): invalid twitch URL

* refract(antiscam): linting things

* fix(stats): tickets events

* fix(stats): code lines count including strings

* refract(loop): move translations loops in its cog

* fix(stats): SQL syntax error

* fix(tickets): opening with a topic with no emoji

* feat(antiscam): publish unicode map

* refract(antiscam): use websites list from database

* feat(antiscam): update unicode map

* feat(antiscam): add cmd to refresh database

* feat(antiscam): add beginning of model training

* feat(antiscam): improve model training and save it

* New Crowdin updates (#36)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* doc: v4.1.4

* fix(dependencies): pin LRFutils version

* refract(error): exception handling

* refract(admin): hide eval command

* feat(help): add category emojis and small QoL

* fix(unban): error when user not found

* feat(cases cog): linting

* feat(stats): add activated antiscam count

* refract(admin): fix linting

* feat(ConfirmView): add send_confirmation option

* feat(config): config command is now hybrid

* fix(rss): weird Twitter url redirection

* feat(event): planification for no-challenge events

* feat(slash): add auto command mention formatter

* feat(slash): use cmd mentions when possible

* fix(admin): app commands sync

* feat(slash): migrate ticket commands

* fix(config): deleted options

* fix(help): tickets cmd category

* feat(deps): upgrade discord.py

* feat(twitch): start new plugin

* refract(help): help when no subcommand invoked

* feat(twitch): add logic commands

* fix(rss): feed selection when only one feed exists

* feat(slash): global commands actually global

* fix(stats): hide more private commands

* feat(twitch): help and cooldown

* fix(cache): server config cache

* feat(twitch): add max streamers count

* feat(twitch): add translations

* fix(tr): outdated tip

* feat(tr): allow translation from Context object

* fix(start): unicode file reading

* feat(config): pagination, yay!

* feat(slash): convert antiscam

* fix(doc): typo in pong cmd

* feat(mod): remove pin cmd

* fix(requirements): scikit-learn

* refract(servers): merge beta and release tables

* feat(twitch): start notifications system

* fix(events): crash when Rss is not loaded

* fix(sql): remove "servers_beta" table

* refract(xp): rank card font usage

* feat(xp): rank card fallback to embed/txt

* feat(slash): migrate clear and slowmode

* fix(twitch): loop delay

* feat(clear): cleanup code

* fix(server): config modification

* feat(slash): convert kick

* feat(modlogs): add reason in timeout

* fix(server): muted_role default value

* refract(args): converters typing

* feat(slash): convert more mod commands

* fix(find): unloaded cogs

* feat(stats): update ignored guilds list

* fix(temp): timezone issues in tempmute/tempban

* feat(view): improve paginator UX

* feat(slash): migrate even more mod commands

* fix(rmd): reminders deletion

* feat(mutelist): pagination

* feat(perms): slash + better UI

* fix(admin): send_msg command

* feat(cases): use pagination

* feat(doc): v4.2.0

* fix(twitch): variable name

* feat(errors): anti spam blocker

* feat(stats): add slash commands usage

* refractor(logs): username change logs registration

* feat(stats): more optimization

* feat(events): christmas 2022 event

* feat(stats): add serverlogs emission stats

* refract(assets): move assets folder one up

* refract(assets): rename cards folder

* feat(assets): gitignore files

* feat(stats): first try for total RAM stats

* refract(stats): fix comments

* feat(twitch): add streaming alerts

* feat(twitch): correct error for invalid twitch names

* feat(twitch): grant streamer role

* feat(twitch): better streamers list

* feat(twitch): add roles and improve notifications

* feat(twitch): allow subscribing by URL

* feat(muteconfig): improve confirmation msg

* feat(confirm): disable buttons after a choice

* fix(config): autocompletion typing

* feat(twitch): add permission check

* feat(modlogs): add autocompletion

* feat(twitch): add API caching

* feat(antiscam): report by right-clicking

* New Crowdin updates (#38)

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* feat(event): add christmas 2022 banner

* feat(start): add axobot

* feat(axo): make zbot ignore input when axobot

* fix(serverlogs): check axobot presence

* fix(serverconfig): default value usage

* refract(twitch): logs call

* feat(admin): git pull

* feat(admin): allow packages installation when pull

* fix(modlogs): kick event when bot leaves

* fix(stats): number formating

* feat(config): add missing translations

* fix(twitch): permissions check

* doc(twitch): add documentation

* fix(modlogs): permissions check

* fix(help): permissions cmd category

* fix(help): category of sub-sub-command

* fix(perms): permission checks

* feat(stats): use entity_id instead of beta boolean

* fix(stats): get_stats SQL query

* feat(axo): check by channel for support server

* fix(reminders): datetime comparison

* feat(rss): log active guilds change

* feat(rss): deprecate active_guild column

* fix(xp): rank card cleanup

* fix(xp): top with no page

* feat(axo): improve axobot changelog

* fix(doc): invitation url

* feat(doc): add axobot to readme

* feat(axo): update bot invite url

* refract(events): unusued attribute

* fix(partners): axobot transition

* refract(doc): remove Zbot references

* feat(roles_react): remove author control

* feat(stats): add backup size

* fix(stats): backup size detection

* doc(modlogs): add examples and doc link

* fix(errors): cooldown seconds notation

* feat(modlogs): add channel argument

* fix(lint): unneeded tab

* feat(ctx): allow to easily send json

* feat(doc): add axobot doc url

* feat(config): improve compatibility with threads

* fix(rss): better exception handler in loop

* feat(loops): ping when a loop breaks

* fix(logs): guild join internal log

* New Crowdin updates (#39)

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Small fixes on axobot + streams (#40)

* feat(stats): use entity_id instead of beta boolean

* feat(axo): check by channel for support server

* feat(axo): improve axobot changelog

* fix(doc): invitation url

* feat(event): add christmas event

* feat(axo): better migration support

* feat(doc): add axobot doc url

* feat(config): improve compatibility with threads

* fix(rss): better exception handler in loop

* feat(loops): ping when a loop breaks

* fix(logs): guild join internal log

* New Crowdin updates (#39)

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* fix(event): christmas collect outside of christmas

* fix(stats): total guilds count

* feat(axo): improve migration message

* Fix Christmas event

* Fix Christmas event (bis)

* Fix Christmas event (bis)

* fix(stats): stats cmds command

* feat(welcome): use command mention

* refract(stats): reduce rows count

* feat(movie): delete command

* feat(say): allow bot admins to bypass check

* fix(admin): error when deleting invocation

* doc(perms): update permissions list

* New Crowdin updates (#41)

* Update source file en.json

* Update source file en.json

* New translations en.json (LOLCAT)

* Update source file en.json

* New translations en.json (LOLCAT)

* New translations en.json (LOLCAT)

* feat(axo): new migration alert

* feat(update): disable zbot changelogs in support

Co-authored-by: Devendra Poonia <devendrapoonia9983@gmail.com>
Co-authored-by: Awhikax <awhikax@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0