Giter Site home page Giter Site logo

luca's People

Contributors

7coil avatar androz2091 avatar anjelogo avatar atmg avatar chew avatar cyber28 avatar davidcralph avatar dondish avatar ingeniouscoder avatar jpbberry avatar kevinbioj avatar luke-6723 avatar phantamanta44 avatar raluvy95 avatar rphsoftware avatar stijnvdkolk avatar tonkku107 avatar twlite avatar vaults1 avatar voiding 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

luca's Issues

Lol

You may want to remove your bot token

Luca does not delete messages from whitenames on edits (for top.gg server)

why is that i can edit a message to include a server invite but Luca only detects new messages with server invites and deletes them
the bois (aka @team role people) should make the bot also listen for messageEdit events in discord.js and delete messages with server invites if the sender has no role
give me smth pls for reporting this

would make a pull request if this bug ain't intentional

Yardim botun>?!

Yardim botun botun yardim yardim botun botun yardim botun Seni seviyorum lanetSeni seviyorum lanetSeni seviyorum lanet yardim botun YARDIMMMM

Yardim pls fix kthx

Tokens.

Those tokens in that bot file are probs renewed anyways

Make token public

Luca should have a command token that'll let everyone see and use the token

"Whaaaaat?"

I do appreciate the repository, but I did mean like "whaatttt"??? I don't know if this is supposed to be like a work of art of crime against humanity...

Dbl navy seals but is in arabic

ما هي الفريت التي قالتها لي فقط ، أيها الوغد الصغير؟ سأعلم أنك تخرجت من صفي في DBL Navy Seals ، وشاركت في العديد من الغارات البوتية على خوادم الفتنة ولدي أكثر من 300 حساب محظور. أنا مدربة على برمجة جافا سكريبت وأنا المطور الأول في قائمة الروبوتات بأكملها. أنت لا شيء بالنسبة لي سوى زلق آخر. سأمسحك بجودة الكود التي لم يسبق لها مثيل على هذه الأرض ، حدد كلماتي. تعتقد أنك يمكن أن تفلت من إرسال بوت استنساخ في القائمة؟ فكر مرة اخرى. بينما نتحدث ، أتصل بشبكتي السرية من المشرفين في جميع أنحاء العالم ورُفضت روبوتك الآن حتى تستعد بشكل أفضل للـ DM من Luca ، maggot. DM الذي يمحو الشيء القليل المثير للشفقة الذي تسميه الروبوت الخاص بك. الروبوت الخاص بك يخدع الميت ، طفل. يمكن أن أكون في أي مكان وفي أي وقت ، ويمكنني أن أقتل روبوتك بأكثر من سبعمائة طريقة ، وهذا فقط بيدي العارية. ليس فقط أنا مدربة تدريباً مكثفاً على البرمجة ، لكن لدي إمكانية الوصول إلى قاعدة البيانات بأكملها من قائمة bot discord وسأستخدمها إلى أقصى حد ممكن لمسح روبوتك البائس عن وجه الإنترنت ، فأنت شخص صغير. إذا كان بإمكانك فقط أن تعرف ما هو القصاص غير المقدس الذي كان روبوتك الصغير "الذكي" على وشك إسقاطه عليك ، فربما تكون قد أصبت بأصابعك المميتة. لكنك لم تستطع ، ولم تفعل ، والآن أنت تدفع الثمن ، أنت غبي. سوف تغضب في جميع أنحاء أنت وسوف تغرق فيه. الروبوت الخاص بك هو ينقط ميتا ، طفل.

Move all of the duplicate message listeners to if/else if/else

Having a different Discord.on('message', function (message) {} for each command isn't the best way of going about things. Instead, you should have only one message listener which uses if/else if/else to deal with the various commands. I have not run the bot, but reading the code, I assume it always replies with "Unknown command!" if the message starts with an "!":

Discord.on('message', function (message) {
   if (message.content.startsWith('!')) {
        return message.reply('Unknown command!');
    } 
});

Since all commands start with an "!", all commands will be unknown. The solution is if/else if/else:

// Determine if the message is a command before this point.
if(command == "hi"){
    // Code
}
else if(command == "other-command"){
    // Code
}
else{
    // Reply with "unknown command"
}

Token is publicly available

Hi,
I see that thebot'stoken is hard coded into the files and visible when opening them. I think you should hide it to remove the risk of someone stealing the token to do something you wouldn't want.

u w0t m9

this ain't luca

i did a thonking that luca was closed source

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.