ieee-uottawa / site-bot Goto Github PK
View Code? Open in Web Editor NEWOfficial bot for the SITE Discord Server.
License: GNU Affero General Public License v3.0
Official bot for the SITE Discord Server.
License: GNU Affero General Public License v3.0
For users who block (subjectively) cancerous websites like Reddit, a tool should be made to vaccum the body text and format it nicely for reading in a channel.
Update the !help
and !contribute
commands to reply to individual users, inline with the original conversation, like Discord warnings. This is a research ticket first; I'm not sure if this is possible.
Title should provide enough context for this, but the parsing algorithm returns a [] for roles that contain more than one word (notably New Member).
Manipulates the user's message to read as if it was written by duck spongebob.
L i kE t H i s
Be careful to get the last message in the channel written by the user who sent the message to rewrite, and not just the prev. message.
!stonk
_(I don't have the power to handle ${username}... yet! :smiling_imp: )_
doesn't reply the desired text (assuming italic). Instead, we can use the * character.
!stats
displays basic server statistics. For example:
This is a multi-step ticket to make more languages available to !translate
users.
If a language in the list has spaces in the output like "Traditional Chinese" add a dash in the !translate list
command output. i.e. .replace(" ", "-")
aa-aa
and encode that in the 'model' field to be sent to the API, instead of language. This will allow users to specify a precise to-and-from translation flow. For instance, these must be accepted: 'En-Fr', 'SE-PK`, 'CN-en'.@bobfri this is a ticket for you.
A command designated to DM all users that fit a specific criteria, format should be as follows:
!remind Role
Message
The role needs to be wrapped in code
syntax in order to avoid unwanted notifications (e.g. "!remind @everyone Messagehere" would send a channel notification to all users under @everyone, which can get annoying).
At the moment the bot returns the the whole text before giving the tone, making the bot kind of spamy. I think it would be best if it sent the first couple words of the text then give the tone.
In the translation feature, you have the default translation langue to be English-to-French. you should have it as autodetect-to-french, it would clean up the code by removing the need to choose between target language and modelid.
It would be nice to have semantic-release running to automatically increment major and minor versions of the codebase as features are added.
The purpose of this bot is to refresh the @New Member role completely.
This means that the command should:
This is currently too complicated for YAGPDB.xyz to accomplish.
The set of roles is down below.
Admin, Mod, ESS, CSSA, IEEE, Server Developer, Server Booster, Club Representative, Bot, Omnipotent, elg2136, elg2137, elg2138, elg2336, elg3106, elg3125, elg3126, elg3136, elg3137, elg3155, elg3175, elg3316, elg3336, elg4115, elg4117, elg4118, elg4125, elg4126, elg4137, elg4139, elg4156, elg4157, elg4159, elg4176, elg4177, elg4178, elg4179, elg4911-elg4912, ceg2136, ceg3136, ceg3155, ceg3156, ceg3185, ceg4136, ceg4140, ceg4158, ceg4166, ceg4187, ceg4188, ceg4190, ceg4198, ceg4912-ceg4913, iti1120, iti1100, iti1121, csi2101, csi2110, csi2120, csi2132, csi2372, csi3104, csi3105, csi3120, csi3130, csi3131, csi3140, csi4105, csi4106, csi4107, csi4108, csi4109, csi4118, csi4124, csi4125, csi4130, csi4133, csi4139, csi4140, csi4142, csi4145, csi4150, csi4900, seg2105, seg2106, seg2900, seg3101, seg3102, seg3103, seg3125, seg4105, seg4110, seg4135, seg4156, seg4189, seg4910-seg4911, gng1105, gng2101, gng1106, eco1192, eng1112, phi2394, his2139, gng1103, elg-seg-ceg2911, chm1311, mat1320, mat1322, mat1341, mat1348, mat2322, mat2377, mat2384, phy1322, phy1331, phy1122, phy1124, phy2323, adm1100, adm1340, adm2320, adm3313, gng4120, gng4170, cvg1107, cvg2107, cvg2116, cgv2132, cvg2132, cvg2140, cvg2141, cvg2149, cvg2171, cvg2181, cvg3106, cvg3109, cvg3116, cvg3120, cvg3132, cvg3140, cvg3147, cvg3148, cvg4001, cvg4113, cvg4122, cvg4130, cvg4142, cvg4145, cvg4150, cvg4175, cvg4180, cvg4184, cvg4907, mcg1100, mcg2101, mcg2108, mcg2130, mcg2131, mcg2142, mcg2360, mcg2361, mcg3110, mcg3130, mcg3131, mcg3143, mcg3145, mcg3306, mcg3307, mcg3340, mcg3341, mcg4100, mcg4128, mcg4134, mcg4136, mcg4139, mcg4150, mcg4152, mcg4190, mcg4192, mcg4193, mcg4308, mcg4322, mcg4328, mcg4340, chg1125, chg1371, chg2312, chg2314, chg2317, chg2324, chg3111, chg3112, chg3122, chg3127, chg3305, chg3316, chg3326, chg3335, chg3337, chg4116, chg4160, chg4170, chg4244, chg4250, chg4307, chg4343, chg4360, chg4380, chg4381, chg4900, seg4145, anp1106, chm2330, chm2120, mat3373
the spongebobify function treats an emoji as a text and make the return weird
!owo
looks at the past ten messages in a chat. If one has an image attachment, it will attempt to upload the image to a machine-learning image identification service (IBM, Google, etc,) and return a pretty-printed version of the response, including the objects with the highest likelihood of being present.
Task: Use http://fabricjs.com/ to apply the given text to an image.
Some thought will need to be put into text reprocessing to split the input into above/below meme text.
!roulette
- Has a 1/6 chance of kicking the messager from the server.
Contributed by Brad Gurtler.
!madlibs
- given a sentence, replaces every instance of the words 'adjective', 'verb', 'noun', or 'pronoun' with a random instance of that type of word.
Contributed by Brad Gurtler.
We need to add more crypto from crypto exchanges in both BTC and USDT pairs.
Currently a 'Missing Permissions' error will crash the bot.
This should be fixed in two ways:
881909549810974740 => Finished running.
/usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:154
throw new DiscordAPIError(request.path, data, request.method, res.status);
^
DiscordAPIError: Missing Permissions
at RequestHandler.execute (/usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:39:14) {
method: 'post',
path: '/channels/798999263870058516/messages',
code: 50013,
httpStatus: 403
}
!translate list
should return the list of available langs. Requires an API call.
!translate <lang> <text?>
Translates the provided text (or previous message/last message in channel) to the specified language using some sort of translation API. By default, translates to French.
!knowlege
hits this wikipedia endpoint https://en.wikipedia.org/w/api.php?format=json&action=query&generator=random&grnnamespace=0&prop=revisions%7Cimages&rvprop=content&grnlimit=10 and returns a truncated version of the data.
Contributed by Brad Gurtler.
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.