Coder Social home page Coder Social logo

bottemplate's Introduction

BotTemplate

This is an advanced c# discord bot template. With sharding and EF core and more!

What Bot templates Are Available?

You can switch bot templates by switching branches.

  1. A basic bot with sharding and basic command.
  2. A bot with a database using Entity framework + the same features as template 1.

Cloning

These instructions will get you a copy of the bot up and running on your local machine for development and testing purposes.

  1. Clone one of the bot templates.
  2. Fill in all the Data for your bot in the Constants class.
  3. Start the bot. This will create one or more config files in your debug/release folder of your project.
  4. Please follow the steps below for the bot template that you chose.
    • Basic bot: Add your bot token to the ConfigData.json file.
    • Entity framework bot: Follow the Basic bot steps above + follow the migration steps in the BotContext go to here for more info on migrations.
  5. Enjoy your bot!

Features

Basic bot

image

Entity framework bot

image

Built With

  • Discord.Net - An unofficial .Net wrapper for the Discord API.
  • EF core - The object-relational mapper.
  • Unity - Used for dependency injection.

Authors

  • Bram Esendam - Initial work - GitHub

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

bottemplate's People

Contributors

brammys avatar th0mk 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.