Every command, event handler and timer on your server is a script you can open and rewrite. Build from blocks or write the JavaScript.
Most bots give you a settings panel and whatever behaviour the developers thought of. Mallard gives you the script. Every slash command, event handler and scheduled job on your server is something you can open and rewrite, including the 32 that arrive with it.
In Easy Mode you assemble a script from blocks and never touch code. There are 30 action blocks (ban a member, give a member a role, send an embed, and so on), plus an If with an optional otherwise branch. The palette only offers blocks the trigger you picked can actually run. Values from the event, from the command's own options and from your server's settings sit above the canvas as chips: drag one onto a field and it fills itself in, in the middle of a sentence if that is what you want.
In Advanced Mode you write JavaScript in a Monaco editor, with syntax highlighting and autocomplete against the 60 documented functions.
Both modes produce the same thing. Blocks compile to JavaScript, shown under the canvas as you build, and that JavaScript is the only thing that ever runs. When a script outgrows the blocks, switch it to Advanced and the generated code is yours to take over.
A new server is seeded with 32 working scripts: moderation commands (warn, kick, ban including temporary bans, timeout, remove-timeout, unban, slowmode, modmute and per-user notes), a verification flow with an image challenge, ban-appeal handling, a /report command and a right-click Report Message command, seven audit loggers, a two-way DM relay between members and staff, a YouTube upload poller, Twitch announcements for going live and offline plus channel-point redemptions, and a worked example of calling an AI API. Each moderation action writes to a mod-log channel and keeps an audit trail.
All 32 are ordinary scripts rather than fixed features with a settings page in front of them. If you dislike how /ban words its embed, open it and change the wording. Nine of the 32 are Easy Mode scripts, so a new server arrives with worked examples of both modes.
Scripts run on 51 triggers: slash, user and message commands, buttons and modals, member joins and leaves, messages, reactions, polls, threads and forums, invites, voice, stage instances, direct messages, AutoMod, scheduled timers, and Twitch events.
They can call 60 functions covering moderation, channels, messages, threads, members, roles, embeds, buttons, fetch() and a per-guild key-value store.
Each script carries its own filters, so a message handler can be limited to certain channels, roles or members, or to messages matching a phrase or a regular expression, instead of firing on everything.
API keys live in a write-only secrets store. The real value is injected inside fetch() and is never readable by the script or visible to your moderators.
Every run is recorded. Expanding one shows each Discord call, fetch and database hit in order, how long each took, what went in and came back, and the script's own log() output interleaved. Traces are kept for eight days.
Mallard hosts and runs your scripts. Saving one in the dashboard takes effect immediately, so there is no deploy step and nothing for you to keep online yourself.
The free tier gives you 2,000 script runs an hour, 5 MB of storage, timers down to 30 minutes, and no limit on how many commands you create. Paid tiers start at $2.99 a month and raise all of those. The full table is at mallard.bot/pricing.
Mallard is in beta and runs on a small number of servers today. Easy Mode is an early preview covering a fraction of the API, with no loops, no stored data, no HTTP calls, no buttons, and one embed at a time. There is no levelling, music or economy built in, so if that is what you want, MEE6 and Dyno ship all three. We keep a page comparing Mallard with MEE6, Dyno, Carl-bot and YAGPDB at mallard.bot/compare, including the reasons to pick one of them instead.
0
0 değerlendirme
Değerlendirmeler sadece kayıt olmuş kullanıcılar tarafından yapılabilir. Tüm değerlendirmeler Top.gg moderatörleri tarafından yönetilir. Paylaşmadan önce lütfen yönergelerimizi okuduğundan emin ol.
5 yıldız
0
4 yıldız
0
3 yıldız
0
2 yıldız
0
1 yıldız
0