Modular reusable code + code examples.
By the awesome community.
Cooldown Time Humanizer
Used to parse time for our bot command cooldowns (https://i.imgur.com/o76f0MA.png) on Dank Memer (https://dankmemer.lol/) Feedback appreciated
Invite begone thot (Discord)
This is used in Dank Memer (https://dankmemer.lol/) to filter out invites from things like the "pls say" command, in order to prevent users from using our bot to advertise.
fleffing discord bot in c sharp can yuo please let my title through
2 C# 52
an initialization of a really bad bot
POST to https://discordbotlist.com/ API using discord.py and Requests
-2 Python 219
Prerequisites: 1[Discord.py rewrite] 2[requests (pip install requests)]
POST stats to DiscordBotList using axios
This is an example of how to POST statistics to DiscordBotList. It uses axios to make the HTTP request. It assumes DBL_TOKEN is an environment variable which is the token provided from…
POST to https://discordbotlist.com/ API using DiscordJS and Snekfetch
Go post those nice bot stats of yours
Method to clean Windows Temp folders.
0 C# 192
Made in C#, this cleans: Windows/Temp.AppData/Local/Temp.
Complex Algorithms used by professionals to eliminate failure
easy. No more crashes 👌
Fetch subreddit posts using Dart IO
0 Dart 179
This function returns a Future that eventually resolves to a List of JSON objects. Each JSON object represents a Reddit POST. Here's a quick example usage:
Read HttpClientResponse into a String
0 Dart 186
Simply pass it the HttpClientResponse you get from request.close() and it'd return a Future that eventually resolves to a String. (maybe use await here) This requires a few obvious stuff:
Example HTTP GET request using Dart IO lib
0 Dart 190
This is a minimalistic example of how you can use HttpClient to send an HTTP GET request and read back the response. As you've already guessed, you can do .post instead of .get for a POST request.…
Simple example on WebSocket connection and data rountrip
0 Dart 196
This is a very minimalistic example of using WebSockets in Dart. Note that this uses dart:io and not dart:html, since this code isn't intended to run in a browser or anything.
Random Number Generator Based on Internet Speed
This was made for a Programming Challenges Telegram group. Don't take this seriously.Never use this anywhere.Don't hate me.
Convert binary to decimals
This converts a string of a binary number to a decimal, unsigned integer.