Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
A wrapper for Noodles API used as a meme generator and for welcome banners using the Discord interface.
pip install noodleswrapper
lisastage
(Main file):#Headers (Authentication) is optional.. for now.
import discord
from discord.ext import commands
import noodleswrapper #This is optional, assuming you've pip installed it, still worth to keep it though
from noodleswrapper import noodle
intents = discord.Intents.all() #Allow all the intents
client = commands.Bot(command_prefix = '!', intents=intents)
@client.command()
async def lisastage(ctx, *, text):
pic = await noodle.lisastage('text') #'text' is what you want it to say
try:
await ctx.send(file = pic) #This should return a neat image. Note that a file is always returned so you need to send as a file.
except: #If there's a ratelimit, the response will be sent as a string object
await ctx.send(pic)
lisastage
(Cog):#Headers (Authentication) is optional.. for now.
import discord
from discord.ext import commands
import noodleswrapper#This is optional, assuming you've pip installed it, still worth to keep it though
from noodleswrapper import noodle
class Noodle(commands.Cog):
"""Commands using Noodles wrapper."""
def __init__(self, client):
self.client = client
@commands.command()
async def worthless(self, ctx, *, message):
text = await noodle.worthless(message) #'test' is what you want it to say
try:
await ctx.send(file = text) #This should return a neat image. Note that a file is always returned so you need to send as a file.
except: #If there's a ratelimit, the response will be sent as a string object
await ctx.send(text)
def setup(client):
client.add_cog(Noodle(client)) #Must be the same as the class name
You can get a complete list here, but for now, the following are valid endpoints for this wrapper, with their inputs in order:
Due to recent spamming incidents, quotas were added to stop the API from going down from abuse. The rates are shown below:
Default free tier
Hobby tier (£3)
Standard tier (£7)
If you need more requests per day, contact either Cypher_Guy#0758 (Package maker) or French Noodles#6046 (API maker) on Discord or click here to join the official server.
affectbaby
endpoint, updated code, marked as Beta, deprecated version 0.1.4, Added changelog section to menu / README fileboostercard
and welcomebanner
endpointsHave a nice day!
FAQs
A wrapper used for meme generating using Discord API
We found that noodleswrapper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.