jdsprojects / jdbot Goto Github PK
View Code? Open in Web Editor NEWthe official JDBot rewrite :D
License: MIT License
the official JDBot rewrite :D
License: MIT License
{var:,}
Find areas that make sense with this like members in guild info selects, etc once done this can be closed
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
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.
Line 535 in 897ee9b
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)
Right here will include some code.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
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):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
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
See the private channel message:
https://discord.com/channels/1019027330779332660/1019037503946227823/1188289489240596531
Opt 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)
One day you'll need to add a way for the user to choose how many dice rolls/sides there is.
Tracking issue for:
Tracking issue for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.