A package to use Discord as a (horrible) database

Related tags

Video/Audio disdb
Overview

DisDB

A package to use Discord as a (horrible) database

Features:

  • A simple key value database
  • Entirely hosted in Discord
  • Horrible performance
  • Dirt poor security
  • Awful reliability

Example:

import { StorageClient } from 'disdb';

let client = new StorageClient({
    logLevel: "INFO",
    discord: {
        // The prefix you want to use for the master client
        prefix: "!",
        // The ID of your storage server here
        storageServer: "id",
        bots: {
            // The bot token for your master
            // This bot is used for in-Discord control and setup
            master: "token",
            slaves: [
                // The bot tokens for your slaves
                // At least one slave is required, but more will improve performance
                "token",
                "token",
            ]
        }
    }
});

// Connect all clients to Discord and waits until they're ready
await client.connect();

await client.set("key", "value");

await client.get("key"); // returns "value"

await client.exists("test"); // returns true

await client.delete("test");

await client.exists("test"); // returns false

But why?

Because it's fun!
It's also interesting to see what you can do with Discord and how I can completely misuse it and have fun with it. You should probably never use this in an actual project, but I won't stop you.

it's genius because when discord is down, so is your bot, so you only have access to the data when you need it :4head:

- devoxin#0001

You might also like...

A utility package for Discord Bots!

A utility package for Discord Bots!

Nuggies A utility package for Discord Bots! For errors and questions you can join our support server Installation Table of content: - installation - d

Dec 17, 2022

An efficient package, which syncs ratelimits of your Discord Bot on all Machines/Clusters.

An efficient package, which syncs ratelimits of your Discord Bot on all Machines/Clusters.

Discord-cross-ratelimit An efficient package, which syncs ratelimits of your Discord Bot on all Machines/Clusters. Why? When Sharding/Scaling your Bot

Oct 23, 2022

A Simple Music Bot Made Using Discord-Player Package - (Beta)

A Simple Music Bot Made Using Discord-Player Package - (Beta)

Our Music Bot A Highly Powerful Music Bot Without Lavalink Which Is Gonna Have Setup, A Specific Text Channel For Bot Command Feature, And DJ System S

Dec 14, 2022

🧰 DiscordKit is a package that allows you to easily create a Discord bot.

DiscordKit Developed with ❤️ by Swôth What's DiscordKit? DiscordKit is a package that allows you to ✨ easily ✨ create a Discord bot. Installation Deta

Oct 29, 2022

Easiest medium to use buttons with any discord API wrapper

Easiest medium to use buttons with any discord API wrapper

Discord Buttons Plugin Easiest medium to use buttons with any discord API wrapper /* Generate 1st Button with "Yes" lable on it */ const button1

May 14, 2022

An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules.

An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules.

Multiguild-Waitingroom-v13 An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules. It is m

Dec 11, 2022

Easy-to-use , actively maintained discord bot written in dJS V13 with customizable features

Easy-to-use , actively maintained discord bot written in dJS V13 with customizable features

Multi-purpose discord bot Found a bug? Notes There are some modules missing, you can still start the bot but there are some things within the source t

Nov 28, 2022

Use Discord like cloud storage.

DISCORD-DRIVE-CLIENT Use Discord like cloud storage. Release TODO: Screenshot list Release TODO: Release Coming soon.. Warning Abusing this client can

Mar 22, 2022

🤖 Thank to Authorized Discord Bot. I wish you good use!

🤖 Thank to Authorized Discord Bot. I wish you good use!

Translate/Çeviri discord-appreciation-bot Discord Appreciation Bot Setup Contact FAQ Information Information This is an appreciation/reputation system

Dec 24, 2022
Comments
  • idea: Entity Framework support

    idea: Entity Framework support

    Please make a NuGet library that adds EFCore support for disdb. 🥺

    I want to be able to:

    services.AddDbContext<DataContext>(options =>
        options.UseDisDB(Configuration.GetConnectionString("DefaultConnection")));
    

    👍😃✨

    enhancement wontfix 
    opened by Zt-freak 0
Owner
Sammy
I make discord bots
Sammy
A simple & easy2use API for obtaining information about a discord user, discord bot or discord guild and their use for some purpose on websites!

discord-web-api A simple & easy2use API for obtaining information about a discord user, discord bot or discord guild and their use for some purpose on

InvalidLenni 2 Jun 28, 2022
An simple package to create an Activity in Discord Voice Channel using Discord.js

discordjs-activity An simple package to create an Activity in Discord Voice Channel using Discord.js ?? | Installation npm install discordjs-activity

Sudhan 55 Nov 15, 2022
A Discord bot project made with the npm package discord.js version 14

A Discord bot project made with the npm package discord.js version 14 and it's job to manage mails on a server, and this project includes only one Database: Quick.db. This project also handles Slash commands.

T.F.A 33 Jan 6, 2023
A utility package for making discord-bot commands much easier to write with discord.js.

Cordcommand About A utility package for making discord-bot commands much easier to write with discord.js. Usage Example // initiate discord.js client

Reinforz 15 Sep 15, 2022
A utility package for making discord-bot commands much easier to write with discord.js.

Cordmand About A utility package for making discord-bot commands much easier to write with discord.js. Usage Example Install this package: npm i @rein

Reinforz 15 Sep 28, 2022
A NodeJS package for voice channel interactions on Revolt. This package lets you join voice channels, play music and more!

Revoice.js - A Voice Module for Revolt This package is still in developement and lacks many features. You still are able to play sound to a voice chan

ShadowLp174 13 Dec 25, 2022
Discord Neura - a Discord bot framework built on discord.js

Discord Neura Description Discord Neura is a Discord bot framework built on discord.js. Features Command Handler, Arguments, Preconditions and Listene

Discord Neura 3 Mar 23, 2022
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022
A discord bot made using discord.js and discord-player

Musx A custom discord bot that can play music in your server ?? Add the bot to your server If you are looking for a music bot for your Discord server

Shashwat Singh 4 Mar 28, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022