Skip to content

Instantly share code, notes, and snippets.

View danbulant's full-sized avatar
:octocat:
Future gadget labs

Daniel Bulant danbulant

:octocat:
Future gadget labs
View GitHub Profile
@danbulant
danbulant / logs.md
Last active January 2, 2022 13:35
Igni Logs

Logs

igni has advanced logs, but that comes with a compromise - they're a bit harder to setup in text chat (on our dashboard with UI, it will be much simpler).

Adding channel to logs

To add channel to logs, simply call logs add or logs set with channel name, like

!logs add #logs

Igni Privacy Policy

To take it simple:

  1. We'll never sell your data
  2. We store the least possible data the bot needs to work, mostly made up from commands you use (not using commands? igni won't store much data about you, except for moderation)
  3. You can request deletion in our support server (see about command). Same for viewing data.

This privacy policy does not apply to user commands, which have their own privacy policies (ask their authors for more information).

3rd parties

@danbulant
danbulant / README.md
Last active July 24, 2021 14:10
Steam library custom css

How to use

Navigate to your steam folder (~/.local/share/Steam on linux), create (if doesn't exist yet) a folder named skins, create a folder in it with any name you want (try not to use spaces). That will be the main folder for your steam skin customizations.

To add the css, create a folder named resource and inside that, create a file named webkit.css with the contents of the below file.

Adding to existing skins

If you have existing skin (I for example like metro. If I share screenshots, that's what the main UI is (this style applies only to library view, not the top bar/tabs)), you can simply add the webkit.css file. In case it already exists, just edit and add the contents after that (in case of metro, the file exists but it's already part of this, so you can just overwrite that).

@danbulant
danbulant / igni.md
Last active November 24, 2023 15:01
Description of igni bot

Igni

We highly recommend reading through this description before inviting the bot to see how it works.

Igni is a universal all-in-one bot. It's the next generation of bots, starting with a unique command handling - if you make a typo, for most commands, you can just edit the command and the bot will update it's reply, even if the previous message didn't start with a correct prefix. That means it's easier as you don't have to type out the entire command, and also less messages in chat so you can stay focused on having a nice conversation rather than typing commands.

Things to know

  • Prefix can have spaces after, so for example ! will also match ! . Make sure to not use > as that's how quotes start.
@danbulant
danbulant / command.md
Created November 7, 2020 10:39
Commando command structure

Command structure

Each command requires a bit of boilerplate code. This means that basic simple commands are longer than in simpler bots, but the more advanced one's with multiple arguments and type checking are simpler.

A basic command may look like this:

const commando = require("@iceprod/discord.js-commando");

module.exports = class ExampleCommand extends commando.Command {
@danbulant
danbulant / App.svelte
Created September 4, 2020 19:25
Svelte basics - Basic svelte template
<script>
export let name;
</script>
<main>
<h1>Hello {name}!</h1>
<p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p>
</main>
<style>
@danbulant
danbulant / install.sh
Created September 4, 2020 18:48
Svelte basics - get started
npx degit sveltejs/template my-svelte-project
# or download and extract this zip: https://github.com/sveltejs/template/archive/master.zip
cd my-svelte-project
npm install # install dependencies
npm run dev # run the code