Coder Social home page Coder Social logo

udhbot's Introduction

UDHBot

A Discord.NET bot made for the server Unity Developer Community Join us on Discord !

The code is provided as-is and there will be no guaranteed support to help make it run.

Compiling

Dependencies

To successfully compile you will need the following.

Running

Once the above has been done, you'll need to setup a few additional things to get the bot to a functional point.

  • Copy the "Server" folder to the build location. If you run the bot, it'll inform you where that location is as an error.
  • Copy the "Settings" to the Server folder, without the "Deserialized" folder.
  • Make another copy of the "Settings.example.json" and rename it to "Settings.json"
  • Walk through the new "Settings.json" file and ensure the Bot Token and "DbConnectionString" have been set.

Several comments have been placed throughout the settings file to indicate what needs changing as well as the settings which aren't currently used.

If you plan on running the bot outside of the IDE, you will want to give Discord Net Deployment a read.

Runtime Dependencies

You will need an accessible SQL database setup, the easiest way to do this is using XAMPP which can host the database and make it easier to setup.

If you run the bot now, it will attempt to generate the table for the database. Depending on the permisions of the user, it may fail. You can get around by importing one of the tables below through phpmyadmin.

  • Emptyusers.sql An empty table that only creates the database structure. (Not yet)
  • Mockusers.sql A table that creates the database structure, but contains some mock user data as well. (Not yet)

Once you have imported the database, be sure to create a user in phpmyadmin which can access the database, and the details match your DbConnectionString.

Notes

I'll re-introduce some of this later. When you hit run, you'll probably see some warnings and errors if you've sped through this without much thought. - Yellow : Warnings (The bot will continue to run, but may disable some features) - Red : Errors (Usually a pending exception/crash is moments away)

I strongly suggest giving Discord.Net API Documention a read when interacting with systems you haven't seen before. Discord Net uses Tasks, Asynchronous Patterns and heavy use of Polymorphism, some systems might not always be straight forward.

FAQ

None yet, ask some, I might add them, additional help isn't garenteed. get gud

udhbot's People

Contributors

caprapaul avatar darkzek avatar djgaven588 avatar invertex avatar nesh108 avatar nomnomab avatar pierre-caregame avatar pierre-demessence avatar qfsw avatar rafael-patronilo avatar sec0nd-n4ture avatar simplyjpk avatar sirush avatar thetruecolonel avatar zod- avatar

Watchers

 avatar

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.