Skip to content

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OshiMiqo

OshiMiqo is a [pathetic] attempt at writing a discord bot using C.

How to use?

Due to OshiMiqo's specific nature, as in configuration being built in, there are no prebuilt binaries available.

You have to build OshiMiqo from source code, available here.

How to build?

Notes

You need to build from the main directory. The Makefile is both hardcoded and handcoded to only be compatible with building from the main directory. No, I have no plans to use autohell at this time.

Build prerequisites

  • A C99-compliant compiler (tested with Alpine Clang 17.0.6)
  • Make (tested with GNU Make 4.4.1)
  • A standard C library (tested with musl latest)
  • Concord (requires pthreads and curl)
  • POSIX thread support
  • libcurl

Building

Copy the headers/config.example.h file to headers/config.h, then customise the configuration file for all your needs (token and guild id to register commands to)

Build it using make:

$ make

Congratulations! If the command above quit with no errors, you have (likely) successfully compiled this shitty project!

Running the program

It's surprisingly simple, actually:

$ bins/entry

Well, there you have it. You've got the shitty bot running! I don't know, show this piece of shit to your programmer friends, or something.

Why create this thing?

Just for fun.

  • huh, discord C bot. Interesting, I'll study it's internals to see how it works.
  • haha C discord bot XDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

About

An attempt at a discord bot written in C

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages