Giter VIP home page Giter VIP logo

discordsharp_starter's Introduction

Image of a plushie of the Neon Genesis Evangelion character named Rei, wearing a suit, sitting behind a laptop

πŸ‘€β€ƒName  Ryan de Jonge
πŸ’¬β€ƒLang  Dutch, English, German
πŸ§ β€ƒKnow  C#, TS/JS, PHP, Java, Python, Rust, C/C++
πŸ’Όβ€ƒDoes  IT Student, Fullstack Software Engineer

so yeah that's basically it thanks for reading

discordsharp_starter's People

Contributors

drcreo avatar dserp avatar naamloos avatar thecrimsondevil avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

discordsharp_starter's Issues

No overload for method 'UpdateCurrentGame' takes 3 arguments

Hello,

UpdateCurrentGame() takes only one argument. I guess DiscordSharp changed. The single argument is gameName. I guess we can replace:

client.UpdateCurrentGame("DS_starter!", true, "https://github.com/NaamloosDT/DiscordSharp_Starter");

with:

client.UpdateCurrentGame("DS_starter!");

or even:

client.UpdateCurrentGame("DS_starter! => https://github.com/NaamloosDT/DiscordSharp_Starter");

What do you think?

Messages won't send

Need to fix soon. not sure if project or library issue.
If anyone knows the problem, help is appreciated :)

Minor Tweaks

Hi, first I'd like to thank you very much for this starter bot. Makes me happy to see people doing things with my lib and a quick starter bot that isn't filled with scary code like my main bot is is great! I have some minor things I'd like to point out though.

  • Personally, I like to setup my events before I call SendLoginRequest or Connect. Personal preference but there could be a chance that an event isn't hooked up or something.
  • I would recommend putting any status updates (Like UpdateCurrentGame) inside of the client.Connected event to make sure that these functions are only called once connected to ensure they'll go through.
  • To prevent any future issues with invite codes, you probably shouldn't hardcode the indexes for join IDs
    • string inviteID = e.message.Substring(e.message.LastIndexOf('/'), e.message.Length - e.message.LastIndexOf('/)); //or something similar :)

I will link this repo on my main repo page. Thank you for this again :D

Threading question

Looking over the program.cs in the starter code, my assumption is that everything is running off the same blocking thread.

If user A sends in a message that my bot starts to process, and user B sends in a second message, my assumption is that this is very open to collisions. Will user B's request be lost if the thread is still busy? or will it all be processed in order once User A's request has been resolved?

Missing nuget packages

Hello,

When you open the solution, the solution explorer will moaning it cant find a group of nuget package. It can be easily fix by running: Install-Package DiscordSharp -Pre, but it is annoying.

Why you didn't add a packages.config to the project?

Cheers,

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.