Code Monkey home page Code Monkey logo

rosalinabot's Introduction

Hi, I'm Alex! 👋

I am a Software Engineer with over a decade of programming experience. I enjoy designing, writing, and documenting computer programs.

  • 🎓 I've graduated with a Master of Science in Software Engineering
  • 🌱 I’m currently studying iOS/macOS app development and Apple's design language in my free time
  • 📋 I'm currently practicing my test driven development skills

Favorite Platforms to Program For

  • macOS/iOS
  • Web
  • Discord
  • Docker
  • Android

You can check out some of my programming projects here on GitHub, or visit my website to learn more about me and what I do.

rosalinabot's People

Contributors

alexsmbaratti avatar

Stargazers

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

Watchers

 avatar  avatar

rosalinabot's Issues

Partner Servers

Users who wish to advertise a server may do so by using r!partner [DESCRIPTION]. Rosalina will approve or flag the ad for review. Then, it will appear in the appropriate channel.

Nintendo Directs Not Automatically Announcing

Describe the bug
Despite being logged as properly finding the latest direct, the Direct isn't automatically announced in the Comet Observatory. In addition, the latest Direct can be fetched manually using r!direct.

To Reproduce
Wait 20 years for Nintendo to announce the next Nintendo Direct and watch it not work.

Expected behavior
In the Comet Observatory's announcements channel, an embed should appear with the Direct's details

Add Pocket Camp friend codes

Hey, I think a good addition to the bot would be more friend code options, such as Animal Crossing: Pocket Camp, Fire Emblem: Heroes, etc.
There's a ton of friend code things that could be done here, so maybe a way to add custom services could be implemented, maybe like so:
r!addfc Xbox
r!fc Xbox
and then someone doing r!fc Xbox @you would give you their xbox gamertag.
Just brainstorming, and might be easier said than done, but more than anything I'm interested in Pocket Camp and/or Fire Emblem friend codes being added :)

Deprecate Balloon Codes

Super Mario Odyssey Balloon Codes are the least used code by far for RosalinaBot. As a result, Balloon Codes will be considered to be deprecated in the near future. Balloon Codes have also taken a toll on the database due to the amount of kingdoms. The popularity of Balloon World has declined significantly since the release of this feature.

Database

Why store data like this:
{ "users": [{ "userID": "-1", "switchCode": "-1", "dsCode": "-1", "switchPrivacy": "PRIVATE", "dsPrivacy": "PRIVATE", "starbits": 0, "exp": 0, "level": 1 }] }

When you can store it as an array of JSON:
[ { } ]
You can also sort the array of JSON by its values... and make a search engine in a way or quick find the JSON you're looking for...

Better yet....

Why not just use MongoDB so that you don't even have to worry about the sorting and querying and just use methods provided by MongoDB that can easily scale beyond 5k+ JSONS (if set up properly).

As an added bonus it's a noSQL meaning it's basically in a JSON format already and you don't have to worry about joins.

Disclaimer: it MongoDB is not written following nocode philosophy so its bound to have errors and deployment time etc.

Enhanced Pokémon Go Friend Code Recognition

Allow screenshots of friend codes to be read using OCR to automatically assign a Pokémon Go friend code to that user. This will only work if that user has no code assigned yet.

Pogo codes

When using r!pogocode @ it just comes back with an error and will not pull the codes. is there a fix in the works for this? btw nice bot and thank you for making it

Bot crashes when mentioning someone with switch code command

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

bot crashes when trying to find someone else's (not your own) switch friend code

To Reproduce
Steps to reproduce the behavior:
anywhere where this bot can see commands, send a message containing "r!sc" and @mention yourself

r!sc @h3oCharles{Enter}{Enter}

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

the bot would say the switch code of the person mentioned

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

typing "r!sc" without anything else does what it's expected

image

however, sending the same command with mentioning myself doesn't output anything

image

after some time passes, the bot becomes offline

image
image

Additional context
Add any other context about the problem here.

New Features for Nintendo Direct Announcements

Allow members of servers with the "Manage Server" permission to choose a channel to have Rosalina announce Nintendo Directs in. One channel per server will be used. A separate collection will likely be used to keep track of channels.

In addition, determine the date and time based on the server region. For example, if the server region is "US West," the announcement will say something like "Airing on 11/1 at 7:00 a.m. (PST)"

Given that this feature will be rolling out to potentially many servers, it will be important to resolve any glitches prior to complete roll out. Less than a week after the 11/1 Nintendo Direct, Nintendo removed the event from the iCAL file, causing Rosalina to announce a Nintendo Direct slated for September of 2018, which was obviously irrelevant after November. To avoid this, Rosalina must compare a cached date to the latest date.

New feature for Pokémon Go Friend Code : show list server `enhancement`

Hello ,

I'm asking you about a new function for watch the full list of pokemon Go Friend Code on a discord server , actually we can find one by one a Friend Code. It is possible to have a commands for see this list order by team ? Or just the list with the Name and the Code of an user ?

Thx to you , your bot is a very usefull tools .

Fix Default Channel issue

According to the Discord change log:
"After today, we are changing how default channels function. The "default" channel for a given user is now the channel with the highest position that their permissions allow them to see. New guilds will no longer have a default channel with the same id as the guild. Existing guilds will not have their #general channel id changed. It is possible, if permissions are set in such a way, that a user will not have a default channel in a guild."

If this instance happens and the bot joins, the bot will crash. Upon restarting, the intro message will not be sent.

"We saw a use case in many servers where the previously-default #general channel was being repurposed as an announcement-only, non-writable channel for new members by using bots to clear the entire message history. Now, that channel can simply be deleted and re-created with the desired permissions. This change also allows dynamic default channels for users based on permissions.
We are also rolling out a change in conjunction that will allow Discord to remember your last-visited channel in a guild across sessions. Newly-joined users will be directed to the guild's default channel on first join; existing members will return to whichever channel they last visited."

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.