Discord bot in progress
project-salsa / discord-bot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot in progress
Discord bot in progress
Allows bot to assign/unassign roles for users on server. Something along the lines of
.addrole bot-dev
.delrole bot-dev
Ideally we would want to use Google's search engine to drive our searches, but that may not be entirely possible without forking over some hard cash. I think this is the issue Dyno eventually ran into, which caused ?g outages and the feature eventually being completely removed.
For this, we'll need to look into other search engine possibilities and determine how feasible this can be. We might also be able to use a web scraper to accomplish this for us anyways, but I don't know what legal issues we could possibly run into, so another method is preferred.
Similar to Dyno's ?g
command, but probably using something like DuckDuckGo so we don't get yelled at for trying to circumvent Google ads.
Usage:
.s nice meme
In anticipation of other bot features we might want to add in the future, we should decide on a bot currency. This could be anything, from something reasonable like Rupies to something far worse, like a meme.
Once this has been decided on, I highly recommend an implementation of a daily login reward and something like my MugiBot's ?bank command under this issue.
Pull from r/rurisquad (if it's still active) and post the Daily Ruri. Alternatively, access a file system of pre-collected Ruris that we randomly query each day (or sort for order of daily ruri-ness or something).
Honestly, the implementation details are up in the air, what we (Reno) really wants is just a daily Ruri.
I prototyped this with a daily Mugi on my test server using a timer. Not exactly ideal, but it will get the ball rolling.
?thanks
output: [something nice]
Just so we can thank our bot every once in a while if it does a good job. Could make this a hard-coded single response or load up responses from a data file somewhere and just pick one. Or something else. Doesn't need to be too fancy.
Grabs a random image on a selected search's term.
Usage:
.rimg rember
I'm not sure how this would work, but basically allow the creation/management of polls.
Probably will need to look at another bot's implementation of this for some inspiration.
It bothered me that Dyno's implementation never seemed to work, so I want to try to see if we can implement it on our bot too.
There are several ways to do this, including web scraping, an external api like this, or apparently even contacting Blizzard support and asking for access (just say you've wrestled with Jeff and you'll be gold). Ultimately this won't be so simple to achieve.
We are going to need to define modules for the bot, for scripts with a related purpose. I've made a Utilities folder already for the bot, but we'll need to decide on other folders and how we want to group our modules.
For example, we could group by general purpose (News/Updates, Tools, Money, etc.)
On the one had, it's still too early in the bot development process to know exactly what we're going to want. On the other, it'll save us rework if we can at least explicitly define some now so we don't have to move things around later and hope everything works.
?bardy
output: Brandy Snatcher
Returns a sneedification of some two words. This could be all predetermined and stored in a data file somewhere, or pulling from a dictionary and sneedifying two words as best it can.
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.