Giter Site home page Giter Site logo

clara's People

Contributors

aurieh avatar bernkastel02 avatar ovyerus avatar renovate-bot avatar renovate[bot] avatar sr229 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

clara's Issues

Phase out Rethink?

Due to little/no support from most known PaaS services, RethinkDB is no longer fit for usage on this bot.

Bot randomly jumps voice channels.

When the bot is supposed to leave a voice channel due to timeout or tries to reseed connections after a reboot, the bot sometimes randomly changes the channel it is in. Could be a lib issue or Discord issue as I cannot reliably recreate this.

osu!Stats crashes on undefined users

Stacktrace :

C:\Users\Krystal\Documents\owo-whats-this\out\commands\awwwsooo\osu.js:34
                    if (user.user_id == undefined) {
                            ^

TypeError: Cannot read property 'user_id' of undefined
    at IncomingMessage.<anonymous> (C:\Users\Krystal\Documents\owo-whats-this\node_modules\request\request.js:1001:12)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)```

Port to Eris

TODO-a-fuckton-list 9000

  • Rewrite commands (Music is the most painful)
  • dereference d.js from everything and use Eris methods/functions.
  • smoke weed xX420BlazEiTxX

Owner/Bot Admin commands

TODO: Various commands for the bot owner and admins.

  • Dynamic command load and unloadncommands, and maybe a JSON file to keep track of unloaded commands to make the command loader skip them.

  • Blacklist commands

  • Commands to add/remove admins.

  • Commands to add/remove alternative prefixes.

[Ported Feature] Moderation commands

for those lazy twats who can't do role-changing and banning and kicking themselves

TODO

  • Mention-to-ban/kick/mute system (Partial : 2 out of 3 functions implemented)
  • Mention-to-add/remove role
  • go awau (optional)

Moderation Extension: Clean Command

yeah, sometimes we need a little bit of cleaning.

Proposed

  • Basic Functionality
  • pass args on which to clean (Guild Admin only command, for example k.clean bots would clean anything bots, additing an additional integer for example k.clean bots 10 would clean the most recent 10 messages from bots)

[New Feature] Music Command

TODO

  • Simple Play and Pause Command
  • use ffmpeg instead of opus for cross-compatibility
  • implement a skip/stop function (add voting system to it to promote fairness, Bot Owners should be exempted from this.)

Bot Crashes when Music Queue's Size reaches 3

Known to crash when you queue a song and it reaches position 3

No Debug info or crash log yet

UPDATE: also happens when Bot is about to play the 3rd song, seems to be the ctx.msg.author returning undefined again ๐Ÿ˜–

UPDATE2: suspected this loop is causing it
image

0.3.0 Road Map

This would be our Milestone tracker so we know what the fuck are we doing.

  • Music Improvements
  • Chatbot Improvements. Context Aware chains integration or similar.
  • Fix performance issues, particularly the memory leak

Add more if needed.

Scaling (Sharding)

THIS IS HIGHLY REQUIRED BECAUSE THE BOT IS NOW AT 20 GUILDS!

no need for todos, just read the d.js docs to get it functional

Extend Moderation

TODO :

  • add the ability to ban/kick users by just typing username/UserID
  • Unban

Search Feature using Bing API

TODO :

  • Node.js extension to ease up devel
  • XML2JS parser(?)
  • return ONLY the first search term
  • Promise for error handling.

Command restriction isn't working

*Reproduction steps:

  • use a command with adminOnly bool.

Expected behaviour

  • it should block it but instead allows the command to be run regardless if their snowflake is in data.json

Multi-Language

Prior to our upcoming meme in March 25-April 1, il8n will be supported for multi language support.

TODO :

  • add a way to track each guild's own locale for the bot. Also set a global one.
  • Japanese Translation (we already know why we're doing this)
  • Remember that talk with TripingPC regarding porting Kizuna Ai to Discord?

[New Feature] Anime Command

Functions

  • able to search the percise Anime from keyword
  • has a async function if query is taking long express solves that lmao

Implementation

  • MAL Integration
  • a extensible command module

Minor memory leak

Appears to be some minor memory leak somewhere, as memory usage grows from 70mb to 100mb over the course of 2 days. May be related to music however memory usage stays the same even with no queues and music unloaded. Will investigate further.

Greet system

this is a voluntary job, please assign yourself if you want to work with it

TODO :

  • A Greet Disable/Enable which is unique for each server (yes, this is not a global command and more guild-specific)

  • add a way to automatically detect (and disable the greet system) on Discord Developers' Servers (Discord API, Discord Bots and Discord Developers)

you can whitelist a bot collection server too if you wish.

Milestone 2 : 0.2.1

This is a Minor milestone. Probably only fixes and such

TODO

  • fix remaining broken commands
  • add support for other Music Hosts , including Discord CDN links

Eris Version needs updating

since we have changed some code to be in par with a breaking version of Eris, we should bump the version of Eris in package.json to be in par with the changes

Milestone 0.2.2

This is set for release before April 1.
This is another Major Release

TODO :

  • inclusion of il8n for locales
  • March 25th meme awau

Symbol iterator is somehow undefined

Error type

TypeError

Summary

TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined

Stacktrace

   at err (C:\Users\Krystal\Documents\owo-whats-this\src\lib\commandLoader.js:43:24
   at new Promise (C:\Users\Krystal\Documents\owo-whats-this\node_modules\bluebird\js\release\promise.js:77:14)
    at preloadCommands (C:\Users\Krystal\Documents\owo-whats-this\src\lib\commandLoader.js:41:12)
    at Promise (C:\Users\Krystal\Documents\owo-whats-this\src\lib\commandLoader.js:111:9)
    at Promise._execute (C:\Users\Krystal\Documents\owo-whats-this\node_modules\bluebird\js\release\debuggability.js:299:9)
    at Promise._resolveFromExecutor (C:\Users\Krystal\Documents\owo-whats-this\node_modules\bluebird\js\release\promise.js:481:18)
    at new Promise (C:\Users\Krystal\Documents\owo-whats-this\node_modules\bluebird\js\release\promise.js:77:14)
    at Object.exports.init (C:\Users\Krystal\Documents\owo-whats-this\src\lib\commandLoader.js:109:12)
    at Client.bot.on (C:\Users\Krystal\Documents\owo-whats-this\src\bot.js:77:50)
    at emitNone (events.js:91:20)
    at Client.emit (events.js:185:7)
    at WebSocketManager._emitReady (C:\Users\Krystal\Documents\owo-whats-this\node_modules\discord.js\src\client\websocket\WebSocketManager.js:221:17)
    at WebSocketManager.checkIfReady (C:\Users\Krystal\Documents\owo-whats-this\node_modules\discord.js\src\client\websocket\WebSocketManager.js:246:14)
    at GuildCreateHandler.handle (C:\Users\Krystal\Documents\owo-whats-this\node_modules\discord.js\src\client\websocket\packets\handlers\GuildCreate.js:13:31)```

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.