Giter Club home page Giter Club logo

jdbot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jdbot's Issues

Comma Rounding changes.

{var:,}

Find areas that make sense with this like members in guild info selects, etc once done this can be closed

Extra todo:

Fix rtfm (a.k.a upgrade)
Rtfm slash

(rtfm complete)

Make and design slash groups or at least do some
Tags
Invalidation config for token snipping to gist to invalidate them

Change Database Record values from .get("") or [""] to properly . values

https://github.com/JDsProjects/JDBot/blob/a437c34d53315f595bc57a48cda736fe50282cc2/utils/selects.py#L26C13-L27C1

For example here:

self.add_item(
            RtfmSelects([discord.SelectOption(label=o["name"], value=o["link"], emoji="🔍") for o in libraries])
        )

it should be

self.add_item(
            RtfmSelects([discord.SelectOption(label=o.name, value=o.link, emoji="🔍") for o in libraries])
        )

Remeber dictionary versions need to do this version, however if it's a record object or a value with the attribute then use the attribute instead.

Old Image thing

async def invert_converter2(url, ctx):
    embed = discord.Embed(color=random.randint(0, 16777215))

    # embed.set_author(name=f"Image requested by {ctx.author}", icon_url=(ctx.author.display_avatar.url))
    # embed.set_image(url=url)
    # embed.set_footer(text="An Unexcepted Error Occured")
    # return embed

    # url = await cdn_upload(ctx.bot, image)

    embed.set_author(name=f"Inverted Image requested by {ctx.author}", icon_url=(ctx.author.display_avatar.url))
    embed.set_image(url=url)
    embed.set_footer(text="powered by some jeyyapi")

    return embed

async def invert_converter(url, ctx):
    embed = discord.Embed(color=random.randint(0, 16777215))

    # embed.set_author(name=f"Image requested by {ctx.author}", icon_url=(ctx.author.display_avatar.url))
    # embed.set_image(url=url)
    # embed.set_footer(text="An Unexcepted Error Occured")
    # return embed

    # url = await cdn_upload(ctx.bot, image)
    embed.set_author(name=f"Inverted Image requested by {ctx.author}", icon_url=(ctx.author.display_avatar.url))
    embed.set_image(url=url)
    embed.set_footer(text="powered by some random api")

    return embed

(may come back someday but idk)

log ideas

Right here will include some code.

Fix "status" in userinfo and the owner command and make it capitalized to be uniform

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Update packages

python-cse = {git = "https://github.com/JDJGInc/python-cse"}
async-cse = "^0.3.0"

Replace the fork and the main one with my own good custom search engine tool or at least with the repo I made

And replace
"discordlists.py" = "^1.1.1"
topggpy = "^1.1.0"

With my own tiny wrapper to call with top.py

Adding Invalidation Config

Opt in:

  1. adds the option to be able to add in
CREATE TABLE invalidation_config (
    entity_id bigint NOT NULL,
    entity_type smallint NOT NULL,
    PRIMARY KEY (entity_id, entity_type)
);

types:

global - for you everywhere (a.k.a the user who optted in)
guild -> for that guild(guild owner only)
and then for that channel if you have proper permissions
(invalidation config a.k.a token invalidation)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.