Skip to content

Instantly share code, notes, and snippets.

@kyriog
kyriog / twitter-to-discord.py
Last active October 16, 2022 15:41
Post Tweets from an account to Discord channel
#!/usr/bin/env python
# -*- coding: utf8 -*-
import discord, tweepy, time
TWITTER_CONSUMER_KEY = u''
TWITTER_CONSUMER_SECRET = u''
TWITTER_ACCESS_TOKEN = u''
TWITTER_TOKEN_SECRET = u''
TWITTER_FOLLOWED_ACCOUNT = u''
@kyriog
kyriog / Plugin.java
Created March 1, 2015 00:48
Craftbukkit 1.8 food regen bug
package fr.kyriog.spigot18bug;
import org.bukkit.Bukkit;
import org.bukkit.Difficulty;
import org.bukkit.plugin.java.JavaPlugin;
public class Plugin extends JavaPlugin {
@Override
public void onEnable() {
Bukkit.getWorlds().get(0).setDifficulty(Difficulty.PEACEFUL);

Keybase proof

I hereby claim:

  • I am kyriog on github.
  • I am kyriog (https://keybase.io/kyriog) on keybase.
  • I have a public key whose fingerprint is EF12 ACDA 966A D439 4854 7086 A309 E328 F3C1 3BBE

To claim this, I am signing this object: