Code Monkey home page Code Monkey logo

ranknir's Introduction

About Me 🙂

I currently study IT & Software Engineering at Fontys. You can see everything I made during my study in the repository called Semester Summaries.

Click here to check out my Semester Summaries

Also have I been active in the Brawlhalla community making discord bots. Mostly known for creating a bot called Ranknir

Click here to check out Ranknir

Current Occupation

Here and there working on Ranknir

ranknir's People

Contributors

crossychainsaw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ranknir's Issues

Fair turn switch between multiple clans (click for more info)

Problem

currently ranknir supports 2 clans, it first sends clan 1, waits 1 hour and sends clan 2.
Replit is known for hosting inconsistency. therefore your bot can randomly go offline.
if this keeps happening every hour, clan 2 will never get updated

Fix

keep track of clan turn in json file.

Do this by raising number after succesfully sending embedd

Possible Fix Hosting Problem

The current issue is that we host on replit. The problem is that bot might randomly break process and not be able to delete earlier sent messages, also do you have to manually restart

  1. on ready event make bot start proces

  2. Delete all messages in channel except for earlier send messages

Error while trying to show elo list

ERROR

Traceback (most recent call last):
  File "/home/runner/Ranknir/venv/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
    await coro(*args, **kwargs)
  File "main.py", line 36, in on_ready
    await loop()
  File "main.py", line 156, in loop
    await send_embeds(embed1=embed1, embed2=embed2, embed3=embed3, embed4=embed4)
  File "main.py", line 172, in send_embeds
    msg4 = await channel.send(embed=embed4)  # send 3
  File "/home/runner/Ranknir/venv/lib/python3.8/site-packages/discord/abc.py", line 1065, in send
    data = await state.http.send_message(channel.id, content, tts=tts, embed=embed,
  File "/home/runner/Ranknir/venv/lib/python3.8/site-packages/discord/http.py", line 254, in request
    raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body

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.