Giter Site home page Giter Site logo

christopherbthai / discord-owo-bot Goto Github PK

View Code? Open in Web Editor NEW
556.0 33.0 407.0 5.45 MB

A Discord bot that will keep track of your OwO

Home Page: https://discordapp.com/oauth2/authorize?client_id=408785106942164992&permissions=1074120776&scope=bot

License: Other

JavaScript 100.00%
discord-bot discord-js owo owo-bot javascript nodejs discord

discord-owo-bot's Introduction

Hi ๐Ÿ‘‹, I'm Christopher Thai

I love working on a variety of projects

christopherbthai christopherbthai christopherbthai

  • ๐Ÿ”ญ Iโ€™m currently working on OwO Bot

  • ๐ŸŒฑ Iโ€™m currently learning how to create a "Twitch plays..." via a headless server

  • ๐Ÿ“ซ How to reach me [email protected]



Stats and Info:

christopherbthai

christopherbthai



Languages and Tools:

android arduino azure bash bootstrap css3 cypress docker express figma flask git grafana html5 illustrator java javascript jest linux mariadb mongodb mysql nginx nodejs photoshop python react redis spring unity vuejs vuetify webpack



Achievements:

christopherbthai

discord-owo-bot's People

Contributors

7te avatar acekiron avatar caviarbro avatar christopherbthai avatar coopw1 avatar crepppy avatar cyrooo avatar dependabot[bot] avatar djradnad avatar emirgoren avatar gideusmw avatar grantemj avatar jammf avatar jpbberry avatar justsamuel avatar kelvinl3 avatar kihtrakraknas avatar linkops avatar nganhduy avatar notchem avatar old-greywolf avatar pandadaskissen avatar sfk-steelsong avatar smeagol2069 avatar togira123 avatar tyler2p 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  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  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  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

discord-owo-bot's Issues

Question about you3

Where and how did you start learning to code?
When did you start learning and where did you start?

Purge/Lock animals

purging animals will temporarily hide them from your zoo.

locking animals will prevent you from selling/sacrificing them.

Repeating command responses

Bot will repeat the responses to any command given once every 5-10 seconds (I didn't time it).

Tested with the help and lewd commands.

Marry command

Be able to marry another user for extra benefits!

New Quests

New quests such as:

  • cookie quests
  • pray/curse quests
  • don't know what else.. but more!

Eris.js Library migration

Discord.js is causing a lot of problems and is not suitable for very large bots. Migrating the library to Eris will help out in the future and make my bot more expandable.

  • admin commands
  • battle commands
  • economy commands
  • emotes commands
  • gamble commands
  • memegen commands
  • patreon commands
  • ranking commands
  • shop commands
  • social commands
  • util commands
  • zoo commands
  • points command

Quest Can't Be Completed

I got the 'have a friend emote to you' quest a while ago and for the life of me I can't figure out how to finish it. I've been emoted to numerous times since receiving the quest to no avail. Neither the Discord reactions nor owo bot's emote commands do anything and I'm getting really frustrated... is there even a way to complete the quest?

Dismantle weapons

Dismantle weapons to obtain weapon dust(?)

You will be able to use these dusts to create weapon crates or maybe upgrade/enchant/combine weapons.

Still thinking about the exact uses.

Friendly Battle Options

Have the ability to change some battle settings when battling friends.

  • Change battle display
  • Set level of all animals
  • Show logs

JSON auth file

Hello i recently started developpement of my bot and i want to know please the structure of files that are includes in the token folder:

var auth = require('../tokens/owo-auth.json');

I thinks there is owo-auth.json and many other but can't definid the structure of JSON so can you please give us a sample with a description of each token or key ...

PS: sorry for my bad english and for disruption

Can't manual battle

Trying to set battlesetting auto=false doesn't work. The code is commented out in the battlesetting file. Is this intentionaly disabled? Why? And if so the info in owo help is not updated to match the actual settings.
image
image

V8 random

The OwO bot should switch from PRNG to a CS-PRNG to prevent users to reconstruct the seed from the random outputs.

New Huntbot trait

A new trait that will allow you to find huntbot exclusive animals.

Channel bosses

Channel bosses will appear once in awhile where you and your friends can kill it within X-minutes for an exclusive weapon/weapon crates

Bans / No Contact Details

Long story short:
I lately earned myself a perma ban out of my own stupidity and now regret it with the will of never doing it again. I regret it and sadly realised it only after it happened. Now i want to contact the Dev personaly to maybe find a solution on it.
The problem:
I can't message him/her, because there are no contact details given and on the OwO Bot support server, i can't tag him or else i'll get kicked.
Please give me the opportunity to change or other people to contact you directly via email or something.
Sincerely, Phil.

Example mysql schema file out of date

Would it be possible to get a fresh mysql dump, please? The contents of json/example_secret_files/mysql-database-tables no longer match the code. I hacked my way through the missing tables but it would be nice if people trying to contribute didn't have to.

Similarly, the sample owo-animals.json is not working. My update (although you'll likely want something better - emoji ids are wrong, patreons can't get gem/special): https://github.com/laod/Discord-OwO-Bot/blob/lucky-random/json/example_secret_files/owo-animals.json

Cooldown skip

There is a cooldown skip for !level.

I Writed !lvl and then !level

And it bypassed it.

rateLimit solution

I'm fairly new (and quickly becoming a regular at the game) nOticing the recurring issue of rate-limiting I think an intermediary solution would be to default the battle commands to speed=instant/display=compact which would, in turn, reduce the message calls down greatly.

Personally does having the battle update for every round (of which some occur so quickly you never see each iteration) make much of a difference? I'm more interested in the end report and that would only result in a single message quota call opposed to the average 7 calls I would have seen with interactive (or whatever the default is called)

Maybe during rate limit issues/weekend/peak periods, we could trial the instant/compact method without the time increase thus keeping the experience somewhat the same but in theory, greatly reducing the quota utilisation counts.

More than happy to discuss further or attempt to trial and monitor the differences somehow if needed be.

Regards,

Link

Custom Prefix

Allow admins to change the prefix of the bot for their server.

Command will be: owo prefix {newPrefix}

Generating gifs/images

How does your bot generate gifs and images that it uses? I can't find the link or the api used anywhere

Typescript

Hello ๐Ÿ‘‹

I was wondering if you would be open to a PR for a rewrite to Typescript. I would be more than happy to take on this challenge if you would be interested.

Thank you.

Empowering gem bug

Issue: Near depleted empowering gem doubling more animals than it has charges for.

Common Empowering Gem in active gem position 1:
image

Tried it again with another empowering gem and it was the same outcome this time with 2 charges left and still working for all animals.

Uncommon Empowering Gem in active gem position 3:
image

Expected outcome: Since only 1 (2) charge(s) remains on the empowering gem, it is expected that only 1 (2) of the animals to trigger the x2 effect and the other 6 (5) to not, resulting in 8 (9) animals being hunted but as both pictures show I got 14 as if the empowering gem had 7 charges.

Reproducing steps: Get an empowering gem to near depletion and hunt animals.

Hunt Bot Max Level Trait Bug

When a trait in the hunt bot is at it's maximum level, essence can still be used to try and upgrade the trait, even though it is at max level. Should cap at max and not allow the player to accidentally try and upgrade the trait.

Webshocket

Hi, is there any tutorial how to config the webshocket? I have an error with it

OWO command issue

Hi

I tried setting a special animal as a pet but the bot returns message saying the animal doesnt exist. Cant special animals be set as pets?

Self-Hosting?

First of all, thanks for making this bot, my friends and I really enjoy it.

Secondly, was just curious if you had any intention on offering a self-hosted package. I'd love to be able to have my own separate economy for lotteries and such, as well as the ability to tweak cool down times.

Cheers,
Seathre

Server mods have an unfair advantage

I'm currently on a curse battle with some other user, but he's a mod and has enabled Slowmode on the channel so he can trigger the command twice as fast as me, help!

"Pagify" shards command

Display the server's current shard and convert the wall of text into pages for easier reading

owo "use" multiple gems

rather than having to do
owo use 53
owo use 67
owo use 74

We can combine them into 1 command owo use 53 67 74 to use all 3 gems at once
We could possibly add a owo use raregems or something similar to that with this PR

BuffInterface: do not mutate iterables while iterating over them

In the BuffInterface class, method postTurn,
the program iterates over all buffs of an animal and when encountering an expired buff, removes that buff, using splice.
I do not know JS very well, but in other languages it is considered bad practice to mutate iterables while iterating over them, as this often has hard-to-predict consequences.

I thought for a long time, that this is the reason why poison sometimes bypasses taunt, but that is not the case. The code that causes that is in the battleUtil.postTurn method.

Suggestion: do not splice at all(!) in the postTurn method. Just reduce durations. Instead, at the end(!) of the postTurn method in battleUtil(!), remove all buffs with duration 0. But instead of using splice, rebuild the buff list, something like this (I don't know JS, so take it rather like pseudo code), or using some filter methods:
let newBuffList = new buffList();
for buff in animal.buffs {
____if (buff.duration > 0) { newBuffList.add(buff); }
}
animal.buffs = newBuffList

This would make sure that at the end of any turn, all buffs are simultaneously in effect and are also removed simultaneously.

Please note that:
Fixing this would have some serious side effects on the current battle system. For one, poison would both no longer be able to bypass taunt (as it currently does in turns 4/6/8/10/12/14/...), reducing the power of pdagger against taunts significantly (probably about 25-30%!!). I do not know whether flame from fstaff is affected the same way, but I guess that it is.

Further explanation how poison currently is blocked in turn 2, but not in turns 4/6/8/...:
the tank gets as a very first buff its taunt buff and after that it gets the poison buff. Order is important here.
in battleUtil.postTurn, buffs are resolved in reverse order: first poison is applied, then, during even rounds, taunt is removed.
in round 2, when the pdagger pet attacks again, the existing poison buff is not removed and replaced by a new buff, but its duration is extended. At turn end, poison hits first (because it is at the end of the list), then the taunt buff is removed from the animal's buff list completely, only poison (and other stuff) remains. In round 3, taunt is appended at the end of the buff list first, then pdagger hits and changes again the duration, but now the order is in reverse: first comes poison, then taunt. Thus, in round 4, first taunt is removed and then poison applies....

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.