devskyone / drops Goto Github PK
View Code? Open in Web Editor NEWA bot to drop gifts to your community. Highly customizable and automatable. (soon)
Home Page: https://devsky.one
License: GNU General Public License v3.0
A bot to drop gifts to your community. Highly customizable and automatable. (soon)
Home Page: https://devsky.one
License: GNU General Public License v3.0
Describe the bug
configure-command.py#48
await ctx.respond(f'{i18n.t("configure.language.success", language=language)}', **hidden=True)
Expected behavior
Should be
await ctx.respond(f'{i18n.t("configure.language.success", language=language, locale=language)}', **hidden=True)
is blocked by #6
Describe the solution you'd like
You should be able to add automatic reward fetching for some presets through API calls.
e.g. You have an API that can create licenses for a certain product. The system has an open API with bearer token.
/drop configure preset mylicense type: 'rest' url: 'https://my-cool-api.stuff/license'
method: 'get' authorization: 'Bearer MYTOKEN'
When a drop with this preset is performed, the bot should call this api and reading it's answer.
Describe the solution you'd like
I would love to have the possibility to set a drop for a given time or after a delay.
Is your feature request related to a problem? Please describe.
Currently, you have to manually trigger a drop.
Describe the solution you'd like
There should be an option to define a cronjob for drops.
e.g. /drop configure cronjob cron: '* * */1 * *'
-> Every hour
Also you should be able to add presets to this automatic drop or disable it.
/drop configure cron off
/drop configure cron addpreset preset: 'coins'
/drop configure cron removepreset preset: 'coins'
/drop configure cron presets
is blocked by #6
Describe the solution you'd like
You should be able to add automatic rewarding for some presets through api calls.
e.g. You want a preset for your coin system. The system has an open api with bearer token.
/drop configure preset coins type: 'rest' url: 'https://my-cool-api.stuff/coins'
method: 'post' authorization: 'Bearer MYTOKEN' format: '{"user": "02138312","coins": %value%}'
Is your feature request related to a problem? Please describe.
If you are too fast, you just click the ephemeral message away. So, the price needs to be stored elsewhere to be safe.
Describe the solution you'd like
We could just send the same text as private message to the user.
Is your feature request related to a problem? Please describe.
To save all settings, we need a persistent storage like a database.
Describe the solution you'd like
Best option would be a database to store all data like presets, languages and more per guild
Describe alternatives you've considered
A NoSQL Database (even as flatfile e.g. json file) would be possible.
Is your feature request related to a problem? Please describe.
Currently, you have to manually start a drop with name and value. This costs time.
Describe the solution you'd like
There should be a way to define presets for drops.
e.g. /configure preset name: 'nitro' description: '1 month Discord Nitro' value: 'https://discord.gift/nitrogift'
or /configure preset name: 'coins' description: 'Coins'
Then you can use /drop preset name: 'nitro'
or /drop preset name: 'coins' value: '200'
Is your feature request related to a problem? Please describe.
The bot is public and currently only german messages are displayed (even though i18n is in use and english translations are present)
Describe the solution you'd like
There should be a command to select the language for your guild. This setting should be stored for persistence.
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.